Navigation


Changeset 1181:22de21feec64 in freeDiameter for libfdcore/fdcore-internal.h


Ignore:
Timestamp:
Jun 5, 2013, 8:22:26 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Preparing for DTLS support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/fdcore-internal.h

    r1102 r1181  
    342342int             fd_cnx_start_clear(struct cnxctx * conn, int loop);
    343343void            fd_cnx_sethostname(struct cnxctx * conn, DiamId_t hn);
    344 int             fd_cnx_handshake(struct cnxctx * conn, int mode, char * priority, void * alt_creds);
     344#define ALGO_HANDSHAKE_DEFAULT  0 /* TLS for TCP, DTLS for SCTP */
     345#define ALGO_HANDSHAKE_3436     1 /* For TLS for SCTP also */
     346int             fd_cnx_handshake(struct cnxctx * conn, int mode, int algo, char * priority, void * alt_creds);
    345347char *          fd_cnx_getid(struct cnxctx * conn);
    346348int             fd_cnx_getproto(struct cnxctx * conn);
Note: See TracChangeset for help on using the changeset viewer.