Navigation


Changeset 220:5f2ce627db3c in freeDiameter for freeDiameter/cnxctx.h


Ignore:
Timestamp:
Feb 19, 2010, 6:09:43 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Try to fix the old bug on sctp_getpaddrs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/cnxctx.h

    r209 r220  
    4646        int             cc_socket;      /* The socket object of the connection -- <=0 if no socket is created */
    4747
     48        int             cc_family;      /* AF_INET or AF_INET6 (mixed) */
    4849        int             cc_proto;       /* IPPROTO_TCP or IPPROTO_SCTP */
    4950        uint32_t        cc_status;      /* True if the object is being destroyed: we don't send events anymore */
     
    102103#ifndef DISABLE_SCTP
    103104/* SCTP */
    104 int fd_sctp_create_bind_server( int * sock, struct fd_list * list, uint16_t port );
     105int fd_sctp_create_bind_server( int * sock, int family, struct fd_list * list, uint16_t port );
    105106int fd_sctp_listen( int sock );
    106107int fd_sctp_client( int *sock, int no_ip6, uint16_t port, struct fd_list * list );
    107 int fd_sctp_get_local_ep(int sock, struct fd_list * list);
     108int fd_sctp_get_local_ep(int sock,  struct fd_list * list);
    108109int fd_sctp_get_remote_ep(int sock, struct fd_list * list);
    109110int fd_sctp_get_str_info( int sock, uint16_t *in, uint16_t *out, sSS *primary );
Note: See TracChangeset for help on using the changeset viewer.