Navigation


Changeset 24:bd83ce9328ed in freeDiameter for freeDiameter/fD.h


Ignore:
Timestamp:
Oct 21, 2009, 6:42:45 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Cleanups and completed sctp code (not finished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/fD.h

    r23 r24  
    207207int fd_cnx_serv_listen(struct cnxctx * conn);
    208208struct cnxctx * fd_cnx_serv_accept(struct cnxctx * serv);
    209 struct cnxctx * fd_cnx_cli_connect(int proto, const sSA * sa,  socklen_t addrlen);
     209struct cnxctx * fd_cnx_cli_connect_tcp(sSA * sa, socklen_t addrlen);
     210struct cnxctx * fd_cnx_cli_connect_sctp(int no_ip6, uint16_t port, struct fd_list * list);
    210211char * fd_cnx_getid(struct cnxctx * conn);
    211212int fd_cnx_start_clear(struct cnxctx * conn);
     
    222223int fd_tcp_create_bind_server( int * sock, sSA * sa, socklen_t salen );
    223224int fd_tcp_listen( int sock );
     225int fd_tcp_client( int *sock, sSA * sa, socklen_t salen );
    224226int fd_tcp_get_local_ep(int sock, sSS * ss, socklen_t *sl);
    225227int fd_tcp_get_remote_ep(int sock, sSS * ss, socklen_t *sl);
     
    229231int fd_sctp_create_bind_server( int * sock, struct fd_list * list, uint16_t port );
    230232int fd_sctp_listen( int sock );
     233int fd_sctp_client( int *sock, int no_ip6, uint16_t port, struct fd_list * list );
    231234int fd_sctp_get_local_ep(int sock, struct fd_list * list);
    232235int fd_sctp_get_remote_ep(int sock, struct fd_list * list);
    233 int fd_sctp_get_str_info( int socket, int *in, int *out );
     236int fd_sctp_get_str_info( int sock, int *in, int *out, sSS *primary );
    234237
    235238#endif /* DISABLE_SCTP */
Note: See TracChangeset for help on using the changeset viewer.