Navigation


Changeset 972:ce3cacbbccc9 in freeDiameter


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

Fix some typos.

Files:
26 edited

Legend:

Unmodified
Added
Removed
  • INSTALL.OSX

    • Property exe deleted
    r887 r972  
    4343
    4444   Notes:
    45     * GNU IDN (libidn) is optional, see bellow
     45    * GNU IDN (libidn) is optional, see below
    4646    * When libusrsctp package is available, you can use it as well.
    4747
  • INSTALL.Ubuntu

    r877 r972  
    7373===========================================
    7474
    75 freeDiameter has been tested on the following distributions (compiled from source as described bellow):
     75freeDiameter has been tested on the following distributions (compiled from source as described below):
    7676Ubuntu Intrepid, Jaunty, Karmic, Lucid, Maverick, Natty.
    7777Debian Lenny (with small patch, see ticket #24).
  • README

    r660 r972  
    1919      the network connections with other Diameter peers and performs the tasks described
    2020      in Diameter Base Protocol, such as watchdogs, basic routing, ... It also handles
    21       the loading of extensions (see bellow).
     21      the loading of extensions (see below).
    2222     
    2323 - freeDiameterd : this simple daemon parses the command line and initializes the
  • contrib/OpenWRT/packages/freeDiameter/Makefile

    r707 r972  
    124124                                                        >> $(1)/etc/freeDiameter/freeDiameter.conf
    125125        echo "# LoadExtension = \"test_app.fdx\";"      >> $(1)/etc/freeDiameter/freeDiameter.conf
    126         echo "## Add overrides bellow this point"       >> $(1)/etc/freeDiameter/freeDiameter.conf
     126        echo "## Add overrides below this point"        >> $(1)/etc/freeDiameter/freeDiameter.conf
    127127
    128128       
  • contrib/app_acct_tools/display_results.php

    r533 r972  
    44
    55# This file should no be called directly;
    6 # instead it should be included from another script that sets its parameters as described bellow.
     6# instead it should be included from another script that sets its parameters as described below.
    77
    88## $USERS 
  • doc/app_redirect.conf.sample

    r722 r972  
    1212## default_redirect_cache_time
    1313# Specify the default value for Redirect-Max-Cache-Time.
    14 # This value can be overwriten for each rule as specified bellow.
     14# This value can be overwriten for each rule as specified below.
    1515# If this value is not specified, the default is:
    1616#default_redirect_cache_time = 86400;  ## => 1 day
  • doc/freediameter.conf.sample

    r925 r972  
    194194# be configured to establish and maintain connections to some
    195195# Diameter nodes and allow connections from these nodes.
    196 #  This is achieved with the ConnectPeer directive described bellow.
     196#  This is achieved with the ConnectPeer directive described below.
    197197#
    198198# Note that the configured Diameter Id MUST match
  • extensions/app_radgw/md5.c

    r403 r972  
    33 *  The content from this file comes directly from the hostap project.
    44 * It is redistributed under the terms of the BSD license, as allowed
    5  * by the original copyright reproduced bellow.
     5 * by the original copyright reproduced below.
    66 *  In addition to this notice, only the #include directives have been modified.
    77 */
  • extensions/app_radgw/md5.h

    r403 r972  
    33 *  The content from this file comes directly from the hostap project.
    44 * It is redistributed under the terms of the BSD license, as allowed
    5  * by the original copyright reproduced bellow.
     5 * by the original copyright reproduced below.
    66 */
    77
  • extensions/app_radgw/radius.c

    r741 r972  
    3737 *  The content from this file comes for the main part from the hostap project.
    3838 * It is redistributed under the terms of the BSD license, as allowed
    39  * by the original copyright reproduced bellow.
     39 * by the original copyright reproduced below.
    4040 * The modifications to this file are placed under the copyright of the freeDiameter project.
    4141 */
  • extensions/app_radgw/radius.h

    r741 r972  
    3838 *  The content from this file comes mostly from the hostap project.
    3939 * It is redistributed under the terms of the BSD license, as allowed
    40  * by the original copyright reproduced bellow.
     40 * by the original copyright reproduced below.
    4141 * The changes to this file are placed under the copyright of the freeDiameter project.
    4242 */
  • extensions/app_radgw/rgwx_auth.c

    r928 r972  
    10991099                 Request will have access to the Session Identifier and be able
    11001100                 to set the Destination-Host to the correct value.
    1101                         -> done here bellow
     1101                        -> done here below
    11021102                 
    11031103              -  If the Command-Code is set to AA-Answer, the Diameter Session-
  • extensions/app_sip/app_sip.c

    r732 r972  
    122122       
    123123       
    124         //We set usefull AVPs
     124        //We set useful AVPs
    125125        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_AVP, AVP_BY_NAME, "Auth-Session-State", &sip_dict.Auth_Session_State, ENOENT) );
    126126        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_AVP, AVP_BY_NAME, "Auth-Application-Id", &sip_dict.Auth_Application_Id, ENOENT) );
  • extensions/app_sip/app_sip.h

    r959 r972  
    218218};
    219219
    220 //Storage for some usefull AVPs
     220//Storage for some useful AVPs
    221221struct app_sip_dict{
    222222        struct dict_object * Auth_Session_State;
  • extensions/app_sip/md5.c

    r433 r972  
    33 *  The content from this file comes directly from the hostap project.
    44 * It is redistributed under the terms of the BSD license, as allowed
    5  * by the original copyright reproduced bellow.
     5 * by the original copyright reproduced below.
    66 *  In addition to this notice, only the #include directives have been modified.
    77 */
  • extensions/app_sip/md5.h

    r360 r972  
    33 *  The content from this file comes directly from the hostap project.
    44 * It is redistributed under the terms of the BSD license, as allowed
    5  * by the original copyright reproduced bellow.
     5 * by the original copyright reproduced below.
    66 *  The file has not been modified, except for this notice.
    77 */
  • extensions/dbg_interactive/dictionary.i

    r741 r972  
    197197/* The following wrapper leaks memory each time an union avp_value is assigned an octet string.
    198198 TODO: fix this leak by better understanding SWIG...
    199    -- the alternative is to uncomment the "free" statements bellow, but then it is easy to
     199   -- the alternative is to uncomment the "free" statements below, but then it is easy to
    200200   create a segmentation fault by assigning first an integer, then an octetstring.
    201201 */
  • extensions/test_netemul/tne_process.c

    r740 r972  
    5858static pthread_t       thr = (pthread_t)NULL;
    5959
    60 /* The lists bellow are all protected by the same mutex mtx */
     60/* The lists below are all protected by the same mutex mtx */
    6161static struct fd_list input = FD_LIST_INITIALIZER(input); /* messages received from network */
    6262static struct fd_list forlat = FD_LIST_INITIALIZER(forlat); /* messages after duplicate filter */
  • extensions/test_sip/test_sip.c

    r732 r972  
    127127       
    128128       
    129         //We set usefull AVPs
     129        //We set useful AVPs
    130130        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_AVP, AVP_BY_NAME, "Auth-Session-State", &sip_dict.Auth_Session_State, ENOENT) );
    131131        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_AVP, AVP_BY_NAME, "Auth-Application-Id", &sip_dict.Auth_Application_Id, ENOENT) );
  • extensions/test_sip/test_sip.h

    r959 r972  
    5555extern struct ts_conf * ts_conf;
    5656
    57 //Storage for some usefull AVPs
     57//Storage for some useful AVPs
    5858struct sip_dict{
    5959        struct dict_object * Auth_Session_State;
  • 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).
  • include/freeDiameter/libfdproto.h

    r965 r972  
    284284        TRACE(FD_LOG_DEBUG,(level),format,##args)
    285285
    286 /* Report a normal message that is usefull for normal admin monitoring */
     286/* Report a normal message that is useful for normal admin monitoring */
    287287#define TRACE_NOTICE(format,args... ) \
    288288        TRACE(FD_LOG_NOTICE,INFO,format,##args)
     
    312312int fd_breakhere(void);
    313313
    314 /* Helper for tracing the CHECK_* macros bellow -- very very verbose code execution! */
     314/* Helper for tracing the CHECK_* macros below -- very very verbose code execution! */
    315315#define TRACE_DEBUG_ALL( str )  \
    316316        TRACE_DEBUG(CALL, str );
     
    894894 *  type        : What kind of object must be created
    895895 *  data        : pointer to the data for the object.
    896  *               type parameter is used to determine the type of data (see bellow for detail).
     896 *               type parameter is used to determine the type of data (see below for detail).
    897897 *  parent      : a reference to a parent object, if needed.
    898898 *  ref         : upon successful creation, reference to new object is stored here if !null.
     
    918918 *  dict        : Pointer to the dictionnary where the object is searched
    919919 *  type        : type of object that is being searched
    920  *  criteria    : how the object must be searched. See object-related sections bellow for more information.
     920 *  criteria    : how the object must be searched. See object-related sections below for more information.
    921921 *  what        : depending on criteria, the data that must be searched.
    922922 *  result      : On successful return, pointer to the object is stored here.
     
    925925 * DESCRIPTION:
    926926 *   Perform a search in the dictionary.
    927  *   See the object-specific sections bellow to find how to look for each objects.
     927 *   See the object-specific sections below to find how to look for each objects.
    928928 *   If the "result" parameter is NULL, the function is used to check if an object is in the dictionary.
    929929 *   Otherwise, a reference to the object is stored in result if found.
     
    995995        VENDOR_BY_ID = 10,      /* "what" points to a vendor_id_t */
    996996        VENDOR_BY_NAME,         /* "what" points to a char * */
    997         VENDOR_OF_APPLICATION   /* "what" points to a struct dict_object containing an application (see bellow) */
     997        VENDOR_OF_APPLICATION   /* "what" points to a struct dict_object containing an application (see below) */
    998998};
    999999
     
    10651065        APPLICATION_BY_ID = 20,         /* "what" points to a application_id_t */
    10661066        APPLICATION_BY_NAME,            /* "what" points to a char * */
    1067         APPLICATION_OF_TYPE,            /* "what" points to a struct dict_object containing a type object (see bellow) */
    1068         APPLICATION_OF_COMMAND          /* "what" points to a struct dict_object containing a command (see bellow) */
     1067        APPLICATION_OF_TYPE,            /* "what" points to a struct dict_object containing a type object (see below) */
     1068        APPLICATION_OF_COMMAND          /* "what" points to a struct dict_object containing a command (see below) */
    10691069};
    10701070
     
    12061206enum {
    12071207        TYPE_BY_NAME = 30,              /* "what" points to a char * */
    1208         TYPE_OF_ENUMVAL,                /* "what" points to a struct dict_object containing an enumerated constant (DICT_ENUMVAL, see bellow). */
     1208        TYPE_OF_ENUMVAL,                /* "what" points to a struct dict_object containing an enumerated constant (DICT_ENUMVAL, see below). */
    12091209        TYPE_OF_AVP                     /* "what" points to a struct dict_object containing an AVP object. */
    12101210};
     
    12801280/* The criteria for searching a constant in the dictionary */
    12811281enum {
    1282         ENUMVAL_BY_STRUCT = 40, /* "what" points to a struct dict_enumval_request as defined bellow */
     1282        ENUMVAL_BY_STRUCT = 40, /* "what" points to a struct dict_enumval_request as defined below */
    12831283        ENUMVAL_BY_NAME,        /* This cannot be used for researches */
    12841284        ENUMVAL_BY_VALUE        /* This cannot be used for researches */
     
    14021402        AVP_BY_NAME,            /* "what" points to a char *, vendor is always 0 */
    14031403        AVP_BY_NAME_ALL_VENDORS,/* "what" points to a string. Might be quite slow... */
    1404         AVP_BY_STRUCT,          /* "what" points to a struct dict_avp_request_ex (see bellow) */
     1404        AVP_BY_STRUCT,          /* "what" points to a struct dict_avp_request_ex (see below) */
    14051405                       
    14061406        /* kept for backward compatibility, better use AVP_BY_STRUCT above instead */
    1407         AVP_BY_CODE_AND_VENDOR, /* "what" points to a struct dict_avp_request (see bellow), where avp_vendor and avp_code are set */
    1408         AVP_BY_NAME_AND_VENDOR  /* "what" points to a struct dict_avp_request (see bellow), where avp_vendor and avp_name are set */
     1407        AVP_BY_CODE_AND_VENDOR, /* "what" points to a struct dict_avp_request (see below), where avp_vendor and avp_code are set */
     1408        AVP_BY_NAME_AND_VENDOR  /* "what" points to a struct dict_avp_request (see below), where avp_vendor and avp_name are set */
    14091409};
    14101410
     
    16401640/* The criteria for searching a rule in the dictionary */
    16411641enum {
    1642         RULE_BY_AVP_AND_PARENT = 70     /* "what" points to a struct dict_rule_request -- see bellow. This is used to query "what is the rule for this AVP in this group?" */
     1642        RULE_BY_AVP_AND_PARENT = 70     /* "what" points to a struct dict_rule_request -- see below. This is used to query "what is the rule for this AVP in this group?" */
    16431643};
    16441644
     
    18531853 *  diamid        : a Diameter Identity, or NULL.
    18541854 *  diamidlen     : if diamid is \0-terminated, this can be 0. Otherwise, the length of diamid.
    1855  *  opt           : Additional string, or NULL. Usage is described bellow.
     1855 *  opt           : Additional string, or NULL. Usage is described below.
    18561856 *  optlen        : if opt is \0-terminated, this can be 0. Otherwise, the length of opt.
    18571857 *
     
    21362136};
    21372137
    2138 /* Some flags used in the functions bellow */
     2138/* Some flags used in the functions below */
    21392139#define AVPFL_SET_BLANK_VALUE      0x01 /* When creating an AVP, initialize its value to a blank area */
    21402140#define AVPFL_SET_RAWDATA_FROM_AVP 0x02 /* When creating an AVP, initialize its rawdata area from an existing AVP -- it is only blank padding (for error reporting) */
  • libfdcore/p_psm.c

    r931 r972  
    5454after the CER/CEA exchange (and initiated by the peer that sent the
    5555CEA), we have a simple way to deal with our ordering problem, as resumed
    56 bellow. Peers are: [i]nitiator, [r]esponder.
     56below. Peers are: [i]nitiator, [r]esponder.
    5757 (1) [i] SCTP connection attempt.
    5858 (2) [r] accept the connection.
  • libfdcore/peers.c

    r968 r972  
    542542                fd_list_insert_after( li_inf, &peer->p_hdr.chain );
    543543               
    544                 /* Start the PSM, which will receive the event bellow */
     544                /* Start the PSM, which will receive the event below */
    545545                CHECK_FCT_DO( ret = fd_psm_begin(peer), goto out );
    546546        } else {
  • libfdproto/dictionary.c

    r961 r972  
    7979        /* More information about the lists :
    8080       
    81          - the use for each list depends on the type of object. See detail bellow.
     81         - the use for each list depends on the type of object. See detail below.
    8282         
    8383         - a sentinel for a list has its 'o' field cleared. (this is the criteria to detect end of a loop)
    8484         
    85          - The lists are always ordered. The criteria are described bellow. the functions to order them are referenced in dict_obj_info
     85         - The lists are always ordered. The criteria are described below. the functions to order them are referenced in dict_obj_info
    8686         
    8787         - The dict_lock must be held for any list operation.
  • tests/testfifo.c

    r879 r972  
    302302                } else {
    303303                        TRACE_DEBUG(INFO, "Local limit on number of threads: %d", nbr_threads);
    304                         /* The local limit is bellow NBR_THREADS */
     304                        /* The local limit is below NBR_THREADS */
    305305                        nbr_threads = (nbr_threads / 2) - 1;
    306306                        /* Ensure we create at least a few threads! */
Note: See TracChangeset for help on using the changeset viewer.