Navigation


Changeset 972:ce3cacbbccc9 in freeDiameter for include/freeDiameter/libfdcore.h


Ignore:
Timestamp:
Mar 15, 2013, 1:31:00 AM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

Fix some typos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdcore.h

    r968 r972  
    225225        (((unsigned)(state)) <= STATE_MAX ? peer_state_str[((unsigned)(state)) ] : "<Invalid>")
    226226
    227 /* Constants for the peer_info structure bellow */
     227/* Constants for the peer_info structure below */
    228228#define PI_P3_DEFAULT   0       /* Use any available protocol */
    229229#define PI_P3_IP        1       /* Use only IP to connect to this peer */
     
    406406 *
    407407 * PARAMETERS:
    408  *  peer_validate       : Callback as defined bellow.
     408 *  peer_validate       : Callback as defined below.
    409409 *
    410410 * DESCRIPTION:
     
    589589 *   - The process is the same as for IN messages, until the routing-in threads makes its decision that the message is not handled locally.
    590590 *   - 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 bellow).
     591 *   - All callbacks registered with fd_rt_fwd_register are called for the message (see below).
    592592 *     - these callbacks will typically do proxying work. Note that adding the route-record is handled by the daemon.
    593593 *   - 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 bellow.
     594 *   - The remaining processing is the same as for OUT messages, as described below.
    595595 *
    596596 * (*) OUT messages details:
     
    602602 *   - If the list is empty, create an error UNABLE_TO_DELIVER (note: should we trig dynamic discovery here???) and reply.
    603603 *   - 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 bellow), 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.
    605605 *    - in case the peer is no longer in the "OPEN" state, send the message to the second peer in the list.
    606606 *      - if no peer is in OPEN state anymore, restart the process of creating the list.
     
    626626 *
    627627 * PARAMETERS:
    628  *  rt_fwd_cb     : The callback function to register (see prototype bellow).
     628 *  rt_fwd_cb     : The callback function to register (see prototype below).
    629629 *  cbdata        : Pointer to pass to the callback when it is called. The data is opaque to the daemon.
    630630 *  dir           : One of the RT_FWD_* directions defined above.
     
    703703 *
    704704 * PARAMETERS:
    705  *  rt_out_cb     : The callback function to register (see prototype bellow).
     705 *  rt_out_cb     : The callback function to register (see prototype below).
    706706 *  cbdata        : Pointer to pass to the callback when it is called. The data is opaque to the daemon.
    707707 *  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.