2#define pktloc_HEADER_H 1
3#define pktloc_IN_HEADER 1
5#line 5 "lib/route/pktloc_grammar.h"
6 #include "nl-default.h"
8#line 8 "lib/route/pktloc_grammar.h"
10#define YY_INT_ALIGNED short int
15#define YY_FLEX_MAJOR_VERSION 2
16#define YY_FLEX_MINOR_VERSION 6
17#define YY_FLEX_SUBMINOR_VERSION 4
18#if YY_FLEX_SUBMINOR_VERSION > 0
22#ifdef yy_create_buffer
23#define pktloc__create_buffer_ALREADY_DEFINED
25#define yy_create_buffer pktloc__create_buffer
28#ifdef yy_delete_buffer
29#define pktloc__delete_buffer_ALREADY_DEFINED
31#define yy_delete_buffer pktloc__delete_buffer
35#define pktloc__scan_buffer_ALREADY_DEFINED
37#define yy_scan_buffer pktloc__scan_buffer
41#define pktloc__scan_string_ALREADY_DEFINED
43#define yy_scan_string pktloc__scan_string
47#define pktloc__scan_bytes_ALREADY_DEFINED
49#define yy_scan_bytes pktloc__scan_bytes
53#define pktloc__init_buffer_ALREADY_DEFINED
55#define yy_init_buffer pktloc__init_buffer
59#define pktloc__flush_buffer_ALREADY_DEFINED
61#define yy_flush_buffer pktloc__flush_buffer
64#ifdef yy_load_buffer_state
65#define pktloc__load_buffer_state_ALREADY_DEFINED
67#define yy_load_buffer_state pktloc__load_buffer_state
70#ifdef yy_switch_to_buffer
71#define pktloc__switch_to_buffer_ALREADY_DEFINED
73#define yy_switch_to_buffer pktloc__switch_to_buffer
76#ifdef yypush_buffer_state
77#define pktloc_push_buffer_state_ALREADY_DEFINED
79#define yypush_buffer_state pktloc_push_buffer_state
82#ifdef yypop_buffer_state
83#define pktloc_pop_buffer_state_ALREADY_DEFINED
85#define yypop_buffer_state pktloc_pop_buffer_state
88#ifdef yyensure_buffer_stack
89#define pktloc_ensure_buffer_stack_ALREADY_DEFINED
91#define yyensure_buffer_stack pktloc_ensure_buffer_stack
95#define pktloc_lex_ALREADY_DEFINED
97#define yylex pktloc_lex
101#define pktloc_restart_ALREADY_DEFINED
103#define yyrestart pktloc_restart
107#define pktloc_lex_init_ALREADY_DEFINED
109#define yylex_init pktloc_lex_init
112#ifdef yylex_init_extra
113#define pktloc_lex_init_extra_ALREADY_DEFINED
115#define yylex_init_extra pktloc_lex_init_extra
119#define pktloc_lex_destroy_ALREADY_DEFINED
121#define yylex_destroy pktloc_lex_destroy
125#define pktloc_get_debug_ALREADY_DEFINED
127#define yyget_debug pktloc_get_debug
131#define pktloc_set_debug_ALREADY_DEFINED
133#define yyset_debug pktloc_set_debug
137#define pktloc_get_extra_ALREADY_DEFINED
139#define yyget_extra pktloc_get_extra
143#define pktloc_set_extra_ALREADY_DEFINED
145#define yyset_extra pktloc_set_extra
149#define pktloc_get_in_ALREADY_DEFINED
151#define yyget_in pktloc_get_in
155#define pktloc_set_in_ALREADY_DEFINED
157#define yyset_in pktloc_set_in
161#define pktloc_get_out_ALREADY_DEFINED
163#define yyget_out pktloc_get_out
167#define pktloc_set_out_ALREADY_DEFINED
169#define yyset_out pktloc_set_out
173#define pktloc_get_leng_ALREADY_DEFINED
175#define yyget_leng pktloc_get_leng
179#define pktloc_get_text_ALREADY_DEFINED
181#define yyget_text pktloc_get_text
185#define pktloc_get_lineno_ALREADY_DEFINED
187#define yyget_lineno pktloc_get_lineno
191#define pktloc_set_lineno_ALREADY_DEFINED
193#define yyset_lineno pktloc_set_lineno
197#define pktloc_get_column_ALREADY_DEFINED
199#define yyget_column pktloc_get_column
203#define pktloc_set_column_ALREADY_DEFINED
205#define yyset_column pktloc_set_column
209#define pktloc_wrap_ALREADY_DEFINED
211#define yywrap pktloc_wrap
215#define pktloc_get_lval_ALREADY_DEFINED
217#define yyget_lval pktloc_get_lval
221#define pktloc_set_lval_ALREADY_DEFINED
223#define yyset_lval pktloc_set_lval
227#define pktloc_get_lloc_ALREADY_DEFINED
229#define yyget_lloc pktloc_get_lloc
233#define pktloc_set_lloc_ALREADY_DEFINED
235#define yyset_lloc pktloc_set_lloc
239#define pktloc_alloc_ALREADY_DEFINED
241#define yyalloc pktloc_alloc
245#define pktloc_realloc_ALREADY_DEFINED
247#define yyrealloc pktloc_realloc
251#define pktloc_free_ALREADY_DEFINED
253#define yyfree pktloc_free
273#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
278#ifndef __STDC_LIMIT_MACROS
279#define __STDC_LIMIT_MACROS 1
283typedef int8_t flex_int8_t;
284typedef uint8_t flex_uint8_t;
285typedef int16_t flex_int16_t;
286typedef uint16_t flex_uint16_t;
287typedef int32_t flex_int32_t;
288typedef uint32_t flex_uint32_t;
290typedef signed char flex_int8_t;
291typedef short int flex_int16_t;
292typedef int flex_int32_t;
293typedef unsigned char flex_uint8_t;
294typedef unsigned short int flex_uint16_t;
295typedef unsigned int flex_uint32_t;
299#define INT8_MIN (-128)
302#define INT16_MIN (-32767-1)
305#define INT32_MIN (-2147483647-1)
308#define INT8_MAX (127)
311#define INT16_MAX (32767)
314#define INT32_MAX (2147483647)
317#define UINT8_MAX (255U)
320#define UINT16_MAX (65535U)
323#define UINT32_MAX (4294967295U)
327#define SIZE_MAX (~(size_t)0)
339#if defined(__GNUC__) && __GNUC__ >= 3
340#define yynoreturn __attribute__((__noreturn__))
346#ifndef YY_TYPEDEF_YY_SCANNER_T
347#define YY_TYPEDEF_YY_SCANNER_T
348typedef void* yyscan_t;
353#define yyin yyg->yyin_r
354#define yyout yyg->yyout_r
355#define yyextra yyg->yyextra_r
356#define yyleng yyg->yyleng_r
357#define yytext yyg->yytext_r
358#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
359#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
360#define yy_flex_debug yyg->yy_flex_debug_r
369#define YY_BUF_SIZE 32768
371#define YY_BUF_SIZE 16384
375#ifndef YY_TYPEDEF_YY_BUFFER_STATE
376#define YY_TYPEDEF_YY_BUFFER_STATE
380#ifndef YY_TYPEDEF_YY_SIZE_T
381#define YY_TYPEDEF_YY_SIZE_T
382typedef size_t yy_size_t;
385#ifndef YY_STRUCT_YY_BUFFER_STATE
386#define YY_STRUCT_YY_BUFFER_STATE
408 int yy_is_our_buffer;
415 int yy_is_interactive;
431 int yy_buffer_status;
436void yyrestart ( FILE *input_file , yyscan_t yyscanner );
437void yy_switch_to_buffer (
YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
438YY_BUFFER_STATE yy_create_buffer ( FILE *file,
int size , yyscan_t yyscanner );
441void yypush_buffer_state (
YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
442void yypop_buffer_state ( yyscan_t yyscanner );
444YY_BUFFER_STATE yy_scan_buffer (
char *base, yy_size_t size , yyscan_t yyscanner );
445YY_BUFFER_STATE yy_scan_string (
const char *yy_str , yyscan_t yyscanner );
446YY_BUFFER_STATE yy_scan_bytes (
const char *bytes,
int len , yyscan_t yyscanner );
448void *
yyalloc ( yy_size_t , yyscan_t yyscanner );
449void *yyrealloc (
void *, yy_size_t , yyscan_t yyscanner );
450void yyfree (
void * , yyscan_t yyscanner );
452#define pktloc_wrap(yyscanner) (1)
453#define YY_SKIP_YYWRAP
455#define yytext_ptr yytext_r
457#ifdef YY_HEADER_EXPORT_START_CONDITIONS
462#ifndef YY_NO_UNISTD_H
471#define YY_EXTRA_TYPE void *
474int yylex_init (yyscan_t* scanner);
476int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);
481int yylex_destroy ( yyscan_t yyscanner );
483int yyget_debug ( yyscan_t yyscanner );
485void yyset_debug (
int debug_flag , yyscan_t yyscanner );
487YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner );
489void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
491FILE *yyget_in ( yyscan_t yyscanner );
493void yyset_in ( FILE * _in_str , yyscan_t yyscanner );
495FILE *yyget_out ( yyscan_t yyscanner );
497void yyset_out ( FILE * _out_str , yyscan_t yyscanner );
499 int yyget_leng ( yyscan_t yyscanner );
501char *yyget_text ( yyscan_t yyscanner );
503int yyget_lineno ( yyscan_t yyscanner );
505void yyset_lineno (
int _line_number , yyscan_t yyscanner );
507int yyget_column ( yyscan_t yyscanner );
509void yyset_column (
int _column_no , yyscan_t yyscanner );
511YYSTYPE * yyget_lval ( yyscan_t yyscanner );
513void yyset_lval (
YYSTYPE * yylval_param , yyscan_t yyscanner );
515 YYLTYPE *yyget_lloc ( yyscan_t yyscanner );
517 void yyset_lloc (
YYLTYPE * yylloc_param , yyscan_t yyscanner );
523#ifndef YY_SKIP_YYWRAP
525extern "C" int yywrap ( yyscan_t yyscanner );
527extern int yywrap ( yyscan_t yyscanner );
532static void yy_flex_strncpy (
char *,
const char *,
int , yyscan_t yyscanner);
536static int yy_flex_strlen (
const char * , yyscan_t yyscanner);
544#ifndef YY_READ_BUF_SIZE
547#define YY_READ_BUF_SIZE 16384
549#define YY_READ_BUF_SIZE 8192
554#ifndef YY_START_STACK_INCR
555#define YY_START_STACK_INCR 25
562#define YY_DECL_IS_OURS 1
565 (
YYSTYPE * yylval_param,
YYLTYPE * yylloc_param , yyscan_t yyscanner);
567#define YY_DECL int yylex \
568 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
574#undef YY_FLUSH_BUFFER
577#undef yy_set_interactive
578#undef YY_DO_BEFORE_ACTION
580#ifdef YY_DECL_IS_OURS
581#undef YY_DECL_IS_OURS
585#ifndef pktloc__create_buffer_ALREADY_DEFINED
586#undef yy_create_buffer
588#ifndef pktloc__delete_buffer_ALREADY_DEFINED
589#undef yy_delete_buffer
591#ifndef pktloc__scan_buffer_ALREADY_DEFINED
594#ifndef pktloc__scan_string_ALREADY_DEFINED
597#ifndef pktloc__scan_bytes_ALREADY_DEFINED
600#ifndef pktloc__init_buffer_ALREADY_DEFINED
603#ifndef pktloc__flush_buffer_ALREADY_DEFINED
604#undef yy_flush_buffer
606#ifndef pktloc__load_buffer_state_ALREADY_DEFINED
607#undef yy_load_buffer_state
609#ifndef pktloc__switch_to_buffer_ALREADY_DEFINED
610#undef yy_switch_to_buffer
612#ifndef pktloc_push_buffer_state_ALREADY_DEFINED
613#undef yypush_buffer_state
615#ifndef pktloc_pop_buffer_state_ALREADY_DEFINED
616#undef yypop_buffer_state
618#ifndef pktloc_ensure_buffer_stack_ALREADY_DEFINED
619#undef yyensure_buffer_stack
621#ifndef pktloc_lex_ALREADY_DEFINED
624#ifndef pktloc_restart_ALREADY_DEFINED
627#ifndef pktloc_lex_init_ALREADY_DEFINED
630#ifndef pktloc_lex_init_extra_ALREADY_DEFINED
631#undef yylex_init_extra
633#ifndef pktloc_lex_destroy_ALREADY_DEFINED
636#ifndef pktloc_get_debug_ALREADY_DEFINED
639#ifndef pktloc_set_debug_ALREADY_DEFINED
642#ifndef pktloc_get_extra_ALREADY_DEFINED
645#ifndef pktloc_set_extra_ALREADY_DEFINED
648#ifndef pktloc_get_in_ALREADY_DEFINED
651#ifndef pktloc_set_in_ALREADY_DEFINED
654#ifndef pktloc_get_out_ALREADY_DEFINED
657#ifndef pktloc_set_out_ALREADY_DEFINED
660#ifndef pktloc_get_leng_ALREADY_DEFINED
663#ifndef pktloc_get_text_ALREADY_DEFINED
666#ifndef pktloc_get_lineno_ALREADY_DEFINED
669#ifndef pktloc_set_lineno_ALREADY_DEFINED
672#ifndef pktloc_get_column_ALREADY_DEFINED
675#ifndef pktloc_set_column_ALREADY_DEFINED
678#ifndef pktloc_wrap_ALREADY_DEFINED
681#ifndef pktloc_get_lval_ALREADY_DEFINED
684#ifndef pktloc_set_lval_ALREADY_DEFINED
687#ifndef pktloc_get_lloc_ALREADY_DEFINED
690#ifndef pktloc_set_lloc_ALREADY_DEFINED
693#ifndef pktloc_alloc_ALREADY_DEFINED
696#ifndef pktloc_realloc_ALREADY_DEFINED
699#ifndef pktloc_free_ALREADY_DEFINED
702#ifndef pktloc_text_ALREADY_DEFINED
705#ifndef pktloc_leng_ALREADY_DEFINED
708#ifndef pktloc_in_ALREADY_DEFINED
711#ifndef pktloc_out_ALREADY_DEFINED
714#ifndef pktloc__flex_debug_ALREADY_DEFINED
717#ifndef pktloc_lineno_ALREADY_DEFINED
720#ifndef pktloc_tables_fload_ALREADY_DEFINED
723#ifndef pktloc_tables_destroy_ALREADY_DEFINED
724#undef yytables_destroy
726#ifndef pktloc_TABLES_NAME_ALREADY_DEFINED
730#line 59 "lib/route/pktloc_grammar.l"
732#line 732 "lib/route/pktloc_grammar.h"
733#undef pktloc_IN_HEADER
int yy_bs_column
The column count.
int yy_bs_lineno
The line count.