Changeset 972:ce3cacbbccc9 in freeDiameter for include/freeDiameter/libfdcore.h
- Timestamp:
- Mar 15, 2013, 1:31:00 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/libfdcore.h
r968 r972 225 225 (((unsigned)(state)) <= STATE_MAX ? peer_state_str[((unsigned)(state)) ] : "<Invalid>") 226 226 227 /* Constants for the peer_info structure bel low */227 /* Constants for the peer_info structure below */ 228 228 #define PI_P3_DEFAULT 0 /* Use any available protocol */ 229 229 #define PI_P3_IP 1 /* Use only IP to connect to this peer */ … … 406 406 * 407 407 * PARAMETERS: 408 * peer_validate : Callback as defined bel low.408 * peer_validate : Callback as defined below. 409 409 * 410 410 * DESCRIPTION: … … 589 589 * - The process is the same as for IN messages, until the routing-in threads makes its decision that the message is not handled locally. 590 590 * - If the local peer does not relay message, an error DIAMETER_APPLICATION_UNSUPPORTED is returned. 591 * - All callbacks registered with fd_rt_fwd_register are called for the message (see bel low).591 * - All callbacks registered with fd_rt_fwd_register are called for the message (see below). 592 592 * - these callbacks will typically do proxying work. Note that adding the route-record is handled by the daemon. 593 593 * - Once all callbacks have been called, the message is queued in the global fd_g_outgoing queue. 594 * - The remaining processing is the same as for OUT messages, as described bel low.594 * - The remaining processing is the same as for OUT messages, as described below. 595 595 * 596 596 * (*) OUT messages details: … … 602 602 * - If the list is empty, create an error UNABLE_TO_DELIVER (note: should we trig dynamic discovery here???) and reply. 603 603 * - Otherwise, call all callbacks registered by function fd_rt_out_register, with the list of peers and the message. 604 * - Order the resulting list of peers by score (see bel low), and sent the message to the peer with highest (positive) score.604 * - Order the resulting list of peers by score (see below), and sent the message to the peer with highest (positive) score. 605 605 * - in case the peer is no longer in the "OPEN" state, send the message to the second peer in the list. 606 606 * - if no peer is in OPEN state anymore, restart the process of creating the list. … … 626 626 * 627 627 * PARAMETERS: 628 * rt_fwd_cb : The callback function to register (see prototype bel low).628 * rt_fwd_cb : The callback function to register (see prototype below). 629 629 * cbdata : Pointer to pass to the callback when it is called. The data is opaque to the daemon. 630 630 * dir : One of the RT_FWD_* directions defined above. … … 703 703 * 704 704 * PARAMETERS: 705 * rt_out_cb : The callback function to register (see prototype bel low).705 * rt_out_cb : The callback function to register (see prototype below). 706 706 * cbdata : Pointer to pass to the callback when it is called. The data is opaque to the daemon. 707 707 * priority : Order for calling this callback. The callbacks are called in reverse priority order (higher priority = called sooner).
Note: See TracChangeset
for help on using the changeset viewer.