Changeset 1397:239ba25870d8 in freeDiameter for libfdcore/fdd.y
- Timestamp:
- Nov 15, 2019, 7:40:37 PM (4 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/fdd.y
r1396 r1397 108 108 %token SCTPSTREAMS 109 109 %token APPSERVTHREADS 110 %token ROUTINGINTHREADS 111 %token ROUTINGOUTTHREADS 112 %token QINLIMIT 113 %token QOUTLIMIT 114 %token QLOCALLIMIT 110 115 %token LISTENON 111 116 %token THRPERSRV … … 148 153 | conffile norelay 149 154 | conffile appservthreads 155 | conffile routinginthreads 156 | conffile routingoutthreads 157 | conffile qinlimit 158 | conffile qoutlimit 159 | conffile qlocallimit 150 160 | conffile noip 151 161 | conffile noip6 … … 307 317 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 308 318 conf->cnf_dispthr = (uint16_t)$3; 319 } 320 ; 321 322 routinginthreads: ROUTINGINTHREADS '=' INTEGER ';' 323 { 324 CHECK_PARAMS_DO( ($3 > 0) && ($3 < 256), 325 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 326 conf->cnf_rtinthr = (uint16_t)$3; 327 } 328 ; 329 330 routingoutthreads: ROUTINGOUTTHREADS '=' INTEGER ';' 331 { 332 CHECK_PARAMS_DO( ($3 > 0) && ($3 < 256), 333 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 334 conf->cnf_rtoutthr = (uint16_t)$3; 335 } 336 ; 337 338 qinlimit: QINLIMIT '=' INTEGER ';' 339 { 340 CHECK_PARAMS_DO( ($3 >= 0), 341 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 342 conf->cnf_qin_limit = $3; 343 } 344 ; 345 346 qoutlimit: QOUTLIMIT '=' INTEGER ';' 347 { 348 CHECK_PARAMS_DO( ($3 >= 0), 349 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 350 conf->cnf_qout_limit = $3; 351 } 352 ; 353 354 qlocallimit: QLOCALLIMIT '=' INTEGER ';' 355 { 356 CHECK_PARAMS_DO( ($3 >= 0), 357 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 358 conf->cnf_qlocal_limit = $3; 309 359 } 310 360 ;
Note: See TracChangeset
for help on using the changeset viewer.