Navigation


Changeset 253:ad6c0118fb50 in freeDiameter for freeDiameter/fdd.y


Ignore:
Timestamp:
Apr 13, 2010, 2:50:54 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Configurable number of server threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/fdd.y

    r142 r253  
    105105%token          NOTLS
    106106%token          SCTPSTREAMS
     107%token          APPSERVTHREADS
    107108%token          LISTENON
    108109%token          TCTIMER
     
    133134                        | conffile listenon
    134135                        | conffile norelay
     136                        | conffile appservthreads
    135137                        | conffile noip
    136138                        | conffile noip6
     
    231233                        ;
    232234
     235appservthreads:         APPSERVTHREADS '=' INTEGER ';'
     236                        {
     237                                CHECK_PARAMS_DO( ($3 > 0) && ($3 < 1024),
     238                                        { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } );
     239                                conf->cnf_dispthr = (uint16_t)$3;
     240                        }
     241                        ;
     242
    233243noip:                   NOIP ';'
    234244                        {
Note: See TracChangeset for help on using the changeset viewer.