1 #ifndef pktloc_HEADER_H 2 #define pktloc_HEADER_H 1 3 #define pktloc_IN_HEADER 1 5 #line 5 "lib/route/pktloc_grammar.h" 7 #line 7 "lib/route/pktloc_grammar.h" 9 #define YY_INT_ALIGNED short int 14 #define YY_FLEX_MAJOR_VERSION 2 15 #define YY_FLEX_MINOR_VERSION 6 16 #define YY_FLEX_SUBMINOR_VERSION 4 17 #if YY_FLEX_SUBMINOR_VERSION > 0 21 #ifdef yy_create_buffer 22 #define pktloc__create_buffer_ALREADY_DEFINED 24 #define yy_create_buffer pktloc__create_buffer 27 #ifdef yy_delete_buffer 28 #define pktloc__delete_buffer_ALREADY_DEFINED 30 #define yy_delete_buffer pktloc__delete_buffer 34 #define pktloc__scan_buffer_ALREADY_DEFINED 36 #define yy_scan_buffer pktloc__scan_buffer 40 #define pktloc__scan_string_ALREADY_DEFINED 42 #define yy_scan_string pktloc__scan_string 46 #define pktloc__scan_bytes_ALREADY_DEFINED 48 #define yy_scan_bytes pktloc__scan_bytes 52 #define pktloc__init_buffer_ALREADY_DEFINED 54 #define yy_init_buffer pktloc__init_buffer 57 #ifdef yy_flush_buffer 58 #define pktloc__flush_buffer_ALREADY_DEFINED 60 #define yy_flush_buffer pktloc__flush_buffer 63 #ifdef yy_load_buffer_state 64 #define pktloc__load_buffer_state_ALREADY_DEFINED 66 #define yy_load_buffer_state pktloc__load_buffer_state 69 #ifdef yy_switch_to_buffer 70 #define pktloc__switch_to_buffer_ALREADY_DEFINED 72 #define yy_switch_to_buffer pktloc__switch_to_buffer 75 #ifdef yypush_buffer_state 76 #define pktloc_push_buffer_state_ALREADY_DEFINED 78 #define yypush_buffer_state pktloc_push_buffer_state 81 #ifdef yypop_buffer_state 82 #define pktloc_pop_buffer_state_ALREADY_DEFINED 84 #define yypop_buffer_state pktloc_pop_buffer_state 87 #ifdef yyensure_buffer_stack 88 #define pktloc_ensure_buffer_stack_ALREADY_DEFINED 90 #define yyensure_buffer_stack pktloc_ensure_buffer_stack 94 #define pktloc_lex_ALREADY_DEFINED 96 #define yylex pktloc_lex 100 #define pktloc_restart_ALREADY_DEFINED 102 #define yyrestart pktloc_restart 106 #define pktloc_lex_init_ALREADY_DEFINED 108 #define yylex_init pktloc_lex_init 111 #ifdef yylex_init_extra 112 #define pktloc_lex_init_extra_ALREADY_DEFINED 114 #define yylex_init_extra pktloc_lex_init_extra 118 #define pktloc_lex_destroy_ALREADY_DEFINED 120 #define yylex_destroy pktloc_lex_destroy 124 #define pktloc_get_debug_ALREADY_DEFINED 126 #define yyget_debug pktloc_get_debug 130 #define pktloc_set_debug_ALREADY_DEFINED 132 #define yyset_debug pktloc_set_debug 136 #define pktloc_get_extra_ALREADY_DEFINED 138 #define yyget_extra pktloc_get_extra 142 #define pktloc_set_extra_ALREADY_DEFINED 144 #define yyset_extra pktloc_set_extra 148 #define pktloc_get_in_ALREADY_DEFINED 150 #define yyget_in pktloc_get_in 154 #define pktloc_set_in_ALREADY_DEFINED 156 #define yyset_in pktloc_set_in 160 #define pktloc_get_out_ALREADY_DEFINED 162 #define yyget_out pktloc_get_out 166 #define pktloc_set_out_ALREADY_DEFINED 168 #define yyset_out pktloc_set_out 172 #define pktloc_get_leng_ALREADY_DEFINED 174 #define yyget_leng pktloc_get_leng 178 #define pktloc_get_text_ALREADY_DEFINED 180 #define yyget_text pktloc_get_text 184 #define pktloc_get_lineno_ALREADY_DEFINED 186 #define yyget_lineno pktloc_get_lineno 190 #define pktloc_set_lineno_ALREADY_DEFINED 192 #define yyset_lineno pktloc_set_lineno 196 #define pktloc_get_column_ALREADY_DEFINED 198 #define yyget_column pktloc_get_column 202 #define pktloc_set_column_ALREADY_DEFINED 204 #define yyset_column pktloc_set_column 208 #define pktloc_wrap_ALREADY_DEFINED 210 #define yywrap pktloc_wrap 214 #define pktloc_get_lval_ALREADY_DEFINED 216 #define yyget_lval pktloc_get_lval 220 #define pktloc_set_lval_ALREADY_DEFINED 222 #define yyset_lval pktloc_set_lval 226 #define pktloc_get_lloc_ALREADY_DEFINED 228 #define yyget_lloc pktloc_get_lloc 232 #define pktloc_set_lloc_ALREADY_DEFINED 234 #define yyset_lloc pktloc_set_lloc 238 #define pktloc_alloc_ALREADY_DEFINED 240 #define yyalloc pktloc_alloc 244 #define pktloc_realloc_ALREADY_DEFINED 246 #define yyrealloc pktloc_realloc 250 #define pktloc_free_ALREADY_DEFINED 252 #define yyfree pktloc_free 272 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 277 #ifndef __STDC_LIMIT_MACROS 278 #define __STDC_LIMIT_MACROS 1 281 #include <inttypes.h> 282 typedef int8_t flex_int8_t;
283 typedef uint8_t flex_uint8_t;
284 typedef int16_t flex_int16_t;
285 typedef uint16_t flex_uint16_t;
286 typedef int32_t flex_int32_t;
287 typedef uint32_t flex_uint32_t;
289 typedef signed char flex_int8_t;
290 typedef short int flex_int16_t;
291 typedef int flex_int32_t;
292 typedef unsigned char flex_uint8_t;
293 typedef unsigned short int flex_uint16_t;
294 typedef unsigned int flex_uint32_t;
298 #define INT8_MIN (-128) 301 #define INT16_MIN (-32767-1) 304 #define INT32_MIN (-2147483647-1) 307 #define INT8_MAX (127) 310 #define INT16_MAX (32767) 313 #define INT32_MAX (2147483647) 316 #define UINT8_MAX (255U) 319 #define UINT16_MAX (65535U) 322 #define UINT32_MAX (4294967295U) 326 #define SIZE_MAX (~(size_t)0) 336 #define yyconst const 338 #if defined(__GNUC__) && __GNUC__ >= 3 339 #define yynoreturn __attribute__((__noreturn__)) 345 #ifndef YY_TYPEDEF_YY_SCANNER_T 346 #define YY_TYPEDEF_YY_SCANNER_T 347 typedef void* yyscan_t;
352 #define yyin yyg->yyin_r 353 #define yyout yyg->yyout_r 354 #define yyextra yyg->yyextra_r 355 #define yyleng yyg->yyleng_r 356 #define yytext yyg->yytext_r 357 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) 358 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) 359 #define yy_flex_debug yyg->yy_flex_debug_r 368 #define YY_BUF_SIZE 32768 370 #define YY_BUF_SIZE 16384 374 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 375 #define YY_TYPEDEF_YY_BUFFER_STATE 379 #ifndef YY_TYPEDEF_YY_SIZE_T 380 #define YY_TYPEDEF_YY_SIZE_T 381 typedef size_t yy_size_t;
384 #ifndef YY_STRUCT_YY_BUFFER_STATE 385 #define YY_STRUCT_YY_BUFFER_STATE 407 int yy_is_our_buffer;
414 int yy_is_interactive;
430 int yy_buffer_status;
435 void yyrestart ( FILE *input_file , yyscan_t yyscanner );
436 void yy_switch_to_buffer (
YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
437 YY_BUFFER_STATE yy_create_buffer ( FILE *file,
int size , yyscan_t yyscanner );
440 void yypush_buffer_state (
YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
441 void yypop_buffer_state ( yyscan_t yyscanner );
443 YY_BUFFER_STATE yy_scan_buffer (
char *base, yy_size_t size , yyscan_t yyscanner );
444 YY_BUFFER_STATE yy_scan_string (
const char *yy_str , yyscan_t yyscanner );
445 YY_BUFFER_STATE yy_scan_bytes (
const char *bytes,
int len , yyscan_t yyscanner );
447 void *
yyalloc ( yy_size_t , yyscan_t yyscanner );
448 void *yyrealloc (
void *, yy_size_t , yyscan_t yyscanner );
449 void yyfree (
void * , yyscan_t yyscanner );
451 #define pktloc_wrap(yyscanner) (1) 452 #define YY_SKIP_YYWRAP 454 #define yytext_ptr yytext_r 456 #ifdef YY_HEADER_EXPORT_START_CONDITIONS 461 #ifndef YY_NO_UNISTD_H 469 #ifndef YY_EXTRA_TYPE 470 #define YY_EXTRA_TYPE void * 473 int yylex_init (yyscan_t* scanner);
475 int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);
480 int yylex_destroy ( yyscan_t yyscanner );
482 int yyget_debug ( yyscan_t yyscanner );
484 void yyset_debug (
int debug_flag , yyscan_t yyscanner );
486 YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner );
488 void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
490 FILE *yyget_in ( yyscan_t yyscanner );
492 void yyset_in ( FILE * _in_str , yyscan_t yyscanner );
494 FILE *yyget_out ( yyscan_t yyscanner );
496 void yyset_out ( FILE * _out_str , yyscan_t yyscanner );
498 int yyget_leng ( yyscan_t yyscanner );
500 char *yyget_text ( yyscan_t yyscanner );
502 int yyget_lineno ( yyscan_t yyscanner );
504 void yyset_lineno (
int _line_number , yyscan_t yyscanner );
506 int yyget_column ( yyscan_t yyscanner );
508 void yyset_column (
int _column_no , yyscan_t yyscanner );
510 YYSTYPE * yyget_lval ( yyscan_t yyscanner );
512 void yyset_lval (
YYSTYPE * yylval_param , yyscan_t yyscanner );
514 YYLTYPE *yyget_lloc ( yyscan_t yyscanner );
516 void yyset_lloc (
YYLTYPE * yylloc_param , yyscan_t yyscanner );
522 #ifndef YY_SKIP_YYWRAP 524 extern "C" int yywrap ( yyscan_t yyscanner );
526 extern int yywrap ( yyscan_t yyscanner );
531 static void yy_flex_strncpy (
char *,
const char *,
int , yyscan_t yyscanner);
534 #ifdef YY_NEED_STRLEN 535 static int yy_flex_strlen (
const char * , yyscan_t yyscanner);
543 #ifndef YY_READ_BUF_SIZE 546 #define YY_READ_BUF_SIZE 16384 548 #define YY_READ_BUF_SIZE 8192 553 #ifndef YY_START_STACK_INCR 554 #define YY_START_STACK_INCR 25 561 #define YY_DECL_IS_OURS 1 564 (
YYSTYPE * yylval_param,
YYLTYPE * yylloc_param , yyscan_t yyscanner);
566 #define YY_DECL int yylex \ 567 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) 573 #undef YY_FLUSH_BUFFER 576 #undef yy_set_interactive 577 #undef YY_DO_BEFORE_ACTION 579 #ifdef YY_DECL_IS_OURS 580 #undef YY_DECL_IS_OURS 584 #ifndef pktloc__create_buffer_ALREADY_DEFINED 585 #undef yy_create_buffer 587 #ifndef pktloc__delete_buffer_ALREADY_DEFINED 588 #undef yy_delete_buffer 590 #ifndef pktloc__scan_buffer_ALREADY_DEFINED 591 #undef yy_scan_buffer 593 #ifndef pktloc__scan_string_ALREADY_DEFINED 594 #undef yy_scan_string 596 #ifndef pktloc__scan_bytes_ALREADY_DEFINED 599 #ifndef pktloc__init_buffer_ALREADY_DEFINED 600 #undef yy_init_buffer 602 #ifndef pktloc__flush_buffer_ALREADY_DEFINED 603 #undef yy_flush_buffer 605 #ifndef pktloc__load_buffer_state_ALREADY_DEFINED 606 #undef yy_load_buffer_state 608 #ifndef pktloc__switch_to_buffer_ALREADY_DEFINED 609 #undef yy_switch_to_buffer 611 #ifndef pktloc_push_buffer_state_ALREADY_DEFINED 612 #undef yypush_buffer_state 614 #ifndef pktloc_pop_buffer_state_ALREADY_DEFINED 615 #undef yypop_buffer_state 617 #ifndef pktloc_ensure_buffer_stack_ALREADY_DEFINED 618 #undef yyensure_buffer_stack 620 #ifndef pktloc_lex_ALREADY_DEFINED 623 #ifndef pktloc_restart_ALREADY_DEFINED 626 #ifndef pktloc_lex_init_ALREADY_DEFINED 629 #ifndef pktloc_lex_init_extra_ALREADY_DEFINED 630 #undef yylex_init_extra 632 #ifndef pktloc_lex_destroy_ALREADY_DEFINED 635 #ifndef pktloc_get_debug_ALREADY_DEFINED 638 #ifndef pktloc_set_debug_ALREADY_DEFINED 641 #ifndef pktloc_get_extra_ALREADY_DEFINED 644 #ifndef pktloc_set_extra_ALREADY_DEFINED 647 #ifndef pktloc_get_in_ALREADY_DEFINED 650 #ifndef pktloc_set_in_ALREADY_DEFINED 653 #ifndef pktloc_get_out_ALREADY_DEFINED 656 #ifndef pktloc_set_out_ALREADY_DEFINED 659 #ifndef pktloc_get_leng_ALREADY_DEFINED 662 #ifndef pktloc_get_text_ALREADY_DEFINED 665 #ifndef pktloc_get_lineno_ALREADY_DEFINED 668 #ifndef pktloc_set_lineno_ALREADY_DEFINED 671 #ifndef pktloc_get_column_ALREADY_DEFINED 674 #ifndef pktloc_set_column_ALREADY_DEFINED 677 #ifndef pktloc_wrap_ALREADY_DEFINED 680 #ifndef pktloc_get_lval_ALREADY_DEFINED 683 #ifndef pktloc_set_lval_ALREADY_DEFINED 686 #ifndef pktloc_get_lloc_ALREADY_DEFINED 689 #ifndef pktloc_set_lloc_ALREADY_DEFINED 692 #ifndef pktloc_alloc_ALREADY_DEFINED 695 #ifndef pktloc_realloc_ALREADY_DEFINED 698 #ifndef pktloc_free_ALREADY_DEFINED 701 #ifndef pktloc_text_ALREADY_DEFINED 704 #ifndef pktloc_leng_ALREADY_DEFINED 707 #ifndef pktloc_in_ALREADY_DEFINED 710 #ifndef pktloc_out_ALREADY_DEFINED 713 #ifndef pktloc__flex_debug_ALREADY_DEFINED 716 #ifndef pktloc_lineno_ALREADY_DEFINED 719 #ifndef pktloc_tables_fload_ALREADY_DEFINED 720 #undef yytables_fload 722 #ifndef pktloc_tables_destroy_ALREADY_DEFINED 723 #undef yytables_destroy 725 #ifndef pktloc_TABLES_NAME_ALREADY_DEFINED 729 #line 56 "lib/route/pktloc_grammar.l" 731 #line 731 "lib/route/pktloc_grammar.h" 732 #undef pktloc_IN_HEADER int yy_bs_lineno
The line count.
int yy_bs_column
The column count.