Navigation



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

Added some code in cnxctx.c mainly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/freeDiameter.h

    r22 r23  
    118118struct fd_endpoint {
    119119        struct fd_list  chain;  /* link in cnf_endpoints list */
    120         sSS             ss;     /* the socket information. List is always ordered by ss value (memcmp) */
     120        union {
     121                sSS             ss;     /* the socket information. List is always ordered by ss value (memcmp) */
     122                sSA4            sin;
     123                sSA6            sin6;
     124                sSA             sa;
     125        };
    121126        struct {
    122127                unsigned conf : 1; /* This endpoint is statically configured in a configuration file */
     
    129134        }               meta;   /* Additional information about the endpoint */
    130135};
     136
     137/* Add a new entry in a list of endpoints -- merge if the sockaddr was already there */
     138int fd_ep_add_merge( struct fd_list * list, sSA * sa, socklen_t sl, int conf, int disc, int adv, int ll );
    131139
    132140/* Applications */
Note: See TracChangeset for help on using the changeset viewer.