Changeset 1420:689758fbb05d in freeDiameter for libfdcore
- Timestamp:
- Feb 18, 2020, 7:39:01 PM (4 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/cnxctx.h
r1200 r1420 46 46 char cc_id[60]; /* The name of this connection. the first 5 chars are reserved for flags display (cc_state). */ 47 47 char cc_remid[60]; /* Id of remote peer */ 48 48 49 49 int cc_socket; /* The socket object of the connection -- <=0 if no socket is created */ 50 50 51 51 int cc_family; /* AF_INET or AF_INET6 (mixed) */ 52 52 int cc_proto; /* IPPROTO_TCP or IPPROTO_SCTP */ 53 53 54 54 uint32_t cc_state; /* True if the object is being destroyed: we don't send events anymore. access with fd_cnx_getstate() */ 55 55 #define CC_STATUS_CLOSING 1 … … 60 60 pthread_t cc_rcvthr; /* thread for receiving messages on the connection */ 61 61 int cc_loop; /* tell the thread if it loops or stops after the first message is received */ 62 62 63 63 struct fifo * cc_incoming; /* FIFO queue of events received on the connection, FDEVP_CNX_* */ 64 64 struct fifo * cc_alt; /* alternate fifo to send FDEVP_CNX_* events to. */
Note: See TracChangeset
for help on using the changeset viewer.