Navigation


Changeset 1214:c2fbaf2985f4 in freeDiameter for extensions/test_app/ta_conf.y


Ignore:
Timestamp:
Jun 18, 2013, 5:27:45 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

New options to test_app extension to generate long Diameter messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/test_app/ta_conf.y

    r1127 r1214  
    121121%token          CMD_ID
    122122%token          AVP_ID
     123%token          LONG_AVP_ID
     124%token          LONG_AVP_LEN
    123125%token          MODE
    124126%token          DEST_REALM
     
    146148                        | conffile cmd
    147149                        | conffile avp
     150                        | conffile long_avp_id
     151                        | conffile long_avp_len
    148152                        | conffile mode
    149153                        | conffile dstrealm
     
    178182                        ;
    179183
     184long_avp_id:            LONG_AVP_ID '=' INTEGER ';'
     185                        {
     186                                ta_conf->long_avp_id = $3;
     187                        }
     188                        ;
     189
     190long_avp_len:           LONG_AVP_LEN '=' INTEGER ';'
     191                        {
     192                                ta_conf->long_avp_len = $3;
     193                        }
     194                        ;
     195
    180196mode:                   MODE '=' INTEGER ';'
    181197                        {
Note: See TracChangeset for help on using the changeset viewer.