Changeset 43:2db15632a63d in freeDiameter for freeDiameter/fD.h
- Timestamp:
- Nov 25, 2009, 7:07:09 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/fD.h
r40 r43 67 67 #endif /* DPR_TIMEOUT */ 68 68 69 /* The Vendor-Id to advertise in CER/CEA */ 70 #ifndef MY_VENDOR_ID 71 #define MY_VENDOR_ID 0 /* Reserved value to tell it must be ignored */ 72 #endif /* MY_VENDOR_ID */ 73 74 75 69 76 /* Configuration */ 70 77 int fd_conf_init(); … … 145 152 /* Data for transitional states before the peer is in OPEN state */ 146 153 struct { 147 struct cnxctx * p_initiator; /* Connection before CEA is received */148 154 struct cnxctx * p_receiver; /* Only used in case of election */ 149 pthread_t p_ini_thr; 155 struct msg * p_cer; /* Only used in case of election */ 156 157 pthread_t p_ini_thr; /* Initiator thread for establishing a connection */ 150 158 struct fd_list p_connparams; /* The list of connection attempts, see p_cnx.c */ 151 159 }; … … 265 273 int fd_p_ce_handle_newCER(struct msg ** msg, struct fd_peer * peer, struct cnxctx ** cnx, int valid); 266 274 int fd_p_ce_handle_newcnx(struct fd_peer * peer, struct cnxctx * initiator); 267 int fd_p_ce_winelection(struct fd_peer * peer); 275 int fd_p_ce_process_receiver(struct fd_peer * peer); 276 void fd_p_ce_clear_cnx(struct fd_peer * peer, struct cnxctx ** cnx_kept); 268 277 int fd_p_dw_handle(struct msg ** msg, int req, struct fd_peer * peer); 269 278 int fd_p_dw_timeout(struct fd_peer * peer); 279 int fd_p_dw_reopen(struct fd_peer * peer); 270 280 int fd_p_dp_handle(struct msg ** msg, int req, struct fd_peer * peer); 271 281 int fd_p_dp_initiate(struct fd_peer * peer);
Note: See TracChangeset
for help on using the changeset viewer.