blob: 8efc4701865f8ddd9a06889b70435d2382996bab [file] [log] [blame]
Elliott Hughes965a4b52017-05-15 10:37:39 -07001#ifndef pcap_HEADER_H
2#define pcap_HEADER_H 1
3#define pcap_IN_HEADER 1
JP Abgrallaa5c5f32014-02-10 20:23:42 -08004
Elliott Hughes965a4b52017-05-15 10:37:39 -07005#line 6 "scanner.h"
Elliott Hughes965a4b52017-05-15 10:37:39 -07006/* Must come first for _LARGE_FILE_API on AIX. */
7#ifdef HAVE_CONFIG_H
Haibo Huang165065a2018-07-23 17:26:52 -07008#include <config.h>
Elliott Hughesd8845d72015-10-19 18:07:04 -07009#endif
Elliott Hughes965a4b52017-05-15 10:37:39 -070010
Haibo Huang165065a2018-07-23 17:26:52 -070011/*
12 * Must come first to avoid warnings on Windows.
13 *
14 * Flex-generated scanners may only include <inttypes.h> if __STDC_VERSION__
15 * is defined with a value >= 199901, meaning "full C99", and MSVC may not
16 * define it with that value, because it isn't 100% C99-compliant, even
17 * though it has an <inttypes.h> capable of defining everything the Flex
18 * scanner needs.
19 *
20 * We, however, will include it if we know we have an MSVC version that has
21 * it; this means that we may define the INTn_MAX and UINTn_MAX values in
22 * scanner.c, and then include <stdint.h>, which may define them differently
23 * (same value, but different string of characters), causing compiler warnings.
24 *
25 * If we include it here, and they're defined, that'll prevent scanner.c
26 * from defining them. So we include <pcap/pcap-inttypes.h>, to get
27 * <inttypes.h> if we have it.
28 */
29#include <pcap/pcap-inttypes.h>
Elliott Hughes965a4b52017-05-15 10:37:39 -070030
Haibo Huang165065a2018-07-23 17:26:52 -070031#include "diag-control.h"
Elliott Hughes965a4b52017-05-15 10:37:39 -070032
Haibo Huang165065a2018-07-23 17:26:52 -070033#line 34 "scanner.h"
Elliott Hughes965a4b52017-05-15 10:37:39 -070034
35#define YY_INT_ALIGNED short int
36
37/* A lexical scanner generated by flex */
38
39#define FLEX_SCANNER
40#define YY_FLEX_MAJOR_VERSION 2
Haibo Huang165065a2018-07-23 17:26:52 -070041#define YY_FLEX_MINOR_VERSION 6
Haibo Huang4ccd6832020-04-23 18:03:48 -070042#define YY_FLEX_SUBMINOR_VERSION 4
Elliott Hughes965a4b52017-05-15 10:37:39 -070043#if YY_FLEX_SUBMINOR_VERSION > 0
44#define FLEX_BETA
45#endif
46
Haibo Huang4ccd6832020-04-23 18:03:48 -070047#ifdef yy_create_buffer
48#define pcap__create_buffer_ALREADY_DEFINED
49#else
50#define yy_create_buffer pcap__create_buffer
51#endif
52
53#ifdef yy_delete_buffer
54#define pcap__delete_buffer_ALREADY_DEFINED
55#else
56#define yy_delete_buffer pcap__delete_buffer
57#endif
58
59#ifdef yy_scan_buffer
60#define pcap__scan_buffer_ALREADY_DEFINED
61#else
62#define yy_scan_buffer pcap__scan_buffer
63#endif
64
65#ifdef yy_scan_string
66#define pcap__scan_string_ALREADY_DEFINED
67#else
68#define yy_scan_string pcap__scan_string
69#endif
70
71#ifdef yy_scan_bytes
72#define pcap__scan_bytes_ALREADY_DEFINED
73#else
74#define yy_scan_bytes pcap__scan_bytes
75#endif
76
77#ifdef yy_init_buffer
78#define pcap__init_buffer_ALREADY_DEFINED
79#else
80#define yy_init_buffer pcap__init_buffer
81#endif
82
83#ifdef yy_flush_buffer
84#define pcap__flush_buffer_ALREADY_DEFINED
85#else
86#define yy_flush_buffer pcap__flush_buffer
87#endif
88
89#ifdef yy_load_buffer_state
90#define pcap__load_buffer_state_ALREADY_DEFINED
91#else
92#define yy_load_buffer_state pcap__load_buffer_state
93#endif
94
95#ifdef yy_switch_to_buffer
96#define pcap__switch_to_buffer_ALREADY_DEFINED
97#else
98#define yy_switch_to_buffer pcap__switch_to_buffer
99#endif
100
101#ifdef yypush_buffer_state
102#define pcap_push_buffer_state_ALREADY_DEFINED
103#else
104#define yypush_buffer_state pcap_push_buffer_state
105#endif
106
107#ifdef yypop_buffer_state
108#define pcap_pop_buffer_state_ALREADY_DEFINED
109#else
110#define yypop_buffer_state pcap_pop_buffer_state
111#endif
112
113#ifdef yyensure_buffer_stack
114#define pcap_ensure_buffer_stack_ALREADY_DEFINED
115#else
116#define yyensure_buffer_stack pcap_ensure_buffer_stack
117#endif
118
119#ifdef yylex
120#define pcap_lex_ALREADY_DEFINED
121#else
122#define yylex pcap_lex
123#endif
124
125#ifdef yyrestart
126#define pcap_restart_ALREADY_DEFINED
127#else
128#define yyrestart pcap_restart
129#endif
130
131#ifdef yylex_init
132#define pcap_lex_init_ALREADY_DEFINED
133#else
134#define yylex_init pcap_lex_init
135#endif
136
137#ifdef yylex_init_extra
138#define pcap_lex_init_extra_ALREADY_DEFINED
139#else
140#define yylex_init_extra pcap_lex_init_extra
141#endif
142
143#ifdef yylex_destroy
144#define pcap_lex_destroy_ALREADY_DEFINED
145#else
146#define yylex_destroy pcap_lex_destroy
147#endif
148
149#ifdef yyget_debug
150#define pcap_get_debug_ALREADY_DEFINED
151#else
152#define yyget_debug pcap_get_debug
153#endif
154
155#ifdef yyset_debug
156#define pcap_set_debug_ALREADY_DEFINED
157#else
158#define yyset_debug pcap_set_debug
159#endif
160
161#ifdef yyget_extra
162#define pcap_get_extra_ALREADY_DEFINED
163#else
164#define yyget_extra pcap_get_extra
165#endif
166
167#ifdef yyset_extra
168#define pcap_set_extra_ALREADY_DEFINED
169#else
170#define yyset_extra pcap_set_extra
171#endif
172
173#ifdef yyget_in
174#define pcap_get_in_ALREADY_DEFINED
175#else
176#define yyget_in pcap_get_in
177#endif
178
179#ifdef yyset_in
180#define pcap_set_in_ALREADY_DEFINED
181#else
182#define yyset_in pcap_set_in
183#endif
184
185#ifdef yyget_out
186#define pcap_get_out_ALREADY_DEFINED
187#else
188#define yyget_out pcap_get_out
189#endif
190
191#ifdef yyset_out
192#define pcap_set_out_ALREADY_DEFINED
193#else
194#define yyset_out pcap_set_out
195#endif
196
197#ifdef yyget_leng
198#define pcap_get_leng_ALREADY_DEFINED
199#else
200#define yyget_leng pcap_get_leng
201#endif
202
203#ifdef yyget_text
204#define pcap_get_text_ALREADY_DEFINED
205#else
206#define yyget_text pcap_get_text
207#endif
208
209#ifdef yyget_lineno
210#define pcap_get_lineno_ALREADY_DEFINED
211#else
212#define yyget_lineno pcap_get_lineno
213#endif
214
215#ifdef yyset_lineno
216#define pcap_set_lineno_ALREADY_DEFINED
217#else
218#define yyset_lineno pcap_set_lineno
219#endif
220
221#ifdef yyget_column
222#define pcap_get_column_ALREADY_DEFINED
223#else
224#define yyget_column pcap_get_column
225#endif
226
227#ifdef yyset_column
228#define pcap_set_column_ALREADY_DEFINED
229#else
230#define yyset_column pcap_set_column
231#endif
232
233#ifdef yywrap
234#define pcap_wrap_ALREADY_DEFINED
235#else
236#define yywrap pcap_wrap
237#endif
238
239#ifdef yyget_lval
240#define pcap_get_lval_ALREADY_DEFINED
241#else
242#define yyget_lval pcap_get_lval
243#endif
244
245#ifdef yyset_lval
246#define pcap_set_lval_ALREADY_DEFINED
247#else
248#define yyset_lval pcap_set_lval
249#endif
250
251#ifdef yyalloc
252#define pcap_alloc_ALREADY_DEFINED
253#else
254#define yyalloc pcap_alloc
255#endif
256
257#ifdef yyrealloc
258#define pcap_realloc_ALREADY_DEFINED
259#else
260#define yyrealloc pcap_realloc
261#endif
262
263#ifdef yyfree
264#define pcap_free_ALREADY_DEFINED
265#else
266#define yyfree pcap_free
267#endif
268
Elliott Hughes965a4b52017-05-15 10:37:39 -0700269/* First, we deal with platform-specific or compiler-specific issues. */
270
271/* begin standard C headers. */
272#include <stdio.h>
273#include <string.h>
274#include <errno.h>
275#include <stdlib.h>
276
277/* end standard C headers. */
278
279/* flex integer type definitions */
280
281#ifndef FLEXINT_H
282#define FLEXINT_H
283
284/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
285
286#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
287
288/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
289 * if you want the limit (max/min) macros for int types.
290 */
291#ifndef __STDC_LIMIT_MACROS
292#define __STDC_LIMIT_MACROS 1
293#endif
294
295#include <inttypes.h>
296typedef int8_t flex_int8_t;
297typedef uint8_t flex_uint8_t;
298typedef int16_t flex_int16_t;
299typedef uint16_t flex_uint16_t;
300typedef int32_t flex_int32_t;
301typedef uint32_t flex_uint32_t;
302#else
303typedef signed char flex_int8_t;
304typedef short int flex_int16_t;
305typedef int flex_int32_t;
306typedef unsigned char flex_uint8_t;
307typedef unsigned short int flex_uint16_t;
308typedef unsigned int flex_uint32_t;
309
310/* Limits of integral types. */
311#ifndef INT8_MIN
312#define INT8_MIN (-128)
313#endif
314#ifndef INT16_MIN
315#define INT16_MIN (-32767-1)
316#endif
317#ifndef INT32_MIN
318#define INT32_MIN (-2147483647-1)
319#endif
320#ifndef INT8_MAX
321#define INT8_MAX (127)
322#endif
323#ifndef INT16_MAX
324#define INT16_MAX (32767)
325#endif
326#ifndef INT32_MAX
327#define INT32_MAX (2147483647)
328#endif
329#ifndef UINT8_MAX
330#define UINT8_MAX (255U)
331#endif
332#ifndef UINT16_MAX
333#define UINT16_MAX (65535U)
334#endif
335#ifndef UINT32_MAX
336#define UINT32_MAX (4294967295U)
337#endif
338
Haibo Huang4ccd6832020-04-23 18:03:48 -0700339#ifndef SIZE_MAX
340#define SIZE_MAX (~(size_t)0)
341#endif
342
Elliott Hughes965a4b52017-05-15 10:37:39 -0700343#endif /* ! C99 */
344
345#endif /* ! FLEXINT_H */
346
Haibo Huang4ccd6832020-04-23 18:03:48 -0700347/* begin standard C++ headers. */
348
Haibo Huang165065a2018-07-23 17:26:52 -0700349/* TODO: this is always defined, so inline it */
Elliott Hughes965a4b52017-05-15 10:37:39 -0700350#define yyconst const
Haibo Huang165065a2018-07-23 17:26:52 -0700351
352#if defined(__GNUC__) && __GNUC__ >= 3
353#define yynoreturn __attribute__((__noreturn__))
Elliott Hughes965a4b52017-05-15 10:37:39 -0700354#else
Haibo Huang165065a2018-07-23 17:26:52 -0700355#define yynoreturn
Elliott Hughes965a4b52017-05-15 10:37:39 -0700356#endif
357
358/* An opaque pointer. */
359#ifndef YY_TYPEDEF_YY_SCANNER_T
360#define YY_TYPEDEF_YY_SCANNER_T
361typedef void* yyscan_t;
362#endif
363
364/* For convenience, these vars (plus the bison vars far below)
365 are macros in the reentrant scanner. */
366#define yyin yyg->yyin_r
367#define yyout yyg->yyout_r
368#define yyextra yyg->yyextra_r
369#define yyleng yyg->yyleng_r
370#define yytext yyg->yytext_r
371#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
372#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
373#define yy_flex_debug yyg->yy_flex_debug_r
374
375/* Size of default input buffer. */
376#ifndef YY_BUF_SIZE
377#ifdef __ia64__
378/* On IA-64, the buffer size is 16k, not 8k.
379 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
380 * Ditto for the __ia64__ case accordingly.
381 */
382#define YY_BUF_SIZE 32768
383#else
384#define YY_BUF_SIZE 16384
385#endif /* __ia64__ */
386#endif
387
388#ifndef YY_TYPEDEF_YY_BUFFER_STATE
389#define YY_TYPEDEF_YY_BUFFER_STATE
390typedef struct yy_buffer_state *YY_BUFFER_STATE;
391#endif
392
393#ifndef YY_TYPEDEF_YY_SIZE_T
394#define YY_TYPEDEF_YY_SIZE_T
395typedef size_t yy_size_t;
396#endif
397
398#ifndef YY_STRUCT_YY_BUFFER_STATE
399#define YY_STRUCT_YY_BUFFER_STATE
400struct yy_buffer_state
401 {
402 FILE *yy_input_file;
403
404 char *yy_ch_buf; /* input buffer */
405 char *yy_buf_pos; /* current position in input buffer */
406
407 /* Size of input buffer in bytes, not including room for EOB
408 * characters.
409 */
Haibo Huang165065a2018-07-23 17:26:52 -0700410 int yy_buf_size;
Elliott Hughes965a4b52017-05-15 10:37:39 -0700411
412 /* Number of characters read into yy_ch_buf, not including EOB
413 * characters.
414 */
Haibo Huang165065a2018-07-23 17:26:52 -0700415 int yy_n_chars;
Elliott Hughes965a4b52017-05-15 10:37:39 -0700416
417 /* Whether we "own" the buffer - i.e., we know we created it,
418 * and can realloc() it to grow it, and should free() it to
419 * delete it.
420 */
421 int yy_is_our_buffer;
422
423 /* Whether this is an "interactive" input source; if so, and
424 * if we're using stdio for input, then we want to use getc()
425 * instead of fread(), to make sure we stop fetching input after
426 * each newline.
427 */
428 int yy_is_interactive;
429
430 /* Whether we're considered to be at the beginning of a line.
431 * If so, '^' rules will be active on the next match, otherwise
432 * not.
433 */
434 int yy_at_bol;
435
436 int yy_bs_lineno; /**< The line count. */
437 int yy_bs_column; /**< The column count. */
Haibo Huang165065a2018-07-23 17:26:52 -0700438
Elliott Hughes965a4b52017-05-15 10:37:39 -0700439 /* Whether to try to fill the input buffer when we reach the
440 * end of it.
441 */
442 int yy_fill_buffer;
443
444 int yy_buffer_status;
445
446 };
447#endif /* !YY_STRUCT_YY_BUFFER_STATE */
448
Haibo Huang4ccd6832020-04-23 18:03:48 -0700449void yyrestart ( FILE *input_file , yyscan_t yyscanner );
450void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
451YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner );
452void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
453void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
454void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
455void yypop_buffer_state ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700456
Haibo Huang4ccd6832020-04-23 18:03:48 -0700457YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner );
458YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner );
459YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700460
Haibo Huang4ccd6832020-04-23 18:03:48 -0700461void *yyalloc ( yy_size_t , yyscan_t yyscanner );
462void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner );
463void yyfree ( void * , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700464
465/* Begin user sect3 */
466
Haibo Huang165065a2018-07-23 17:26:52 -0700467#define pcap_wrap(yyscanner) (/*CONSTCOND*/1)
Elliott Hughes965a4b52017-05-15 10:37:39 -0700468#define YY_SKIP_YYWRAP
469
470#define yytext_ptr yytext_r
471
472#ifdef YY_HEADER_EXPORT_START_CONDITIONS
473#define INITIAL 0
474
475#endif
476
477#ifndef YY_NO_UNISTD_H
478/* Special case for "unistd.h", since it is non-ANSI. We include it way
479 * down here because we want the user's section 1 to have been scanned first.
480 * The user has a chance to override it with an option.
481 */
482#include <unistd.h>
483#endif
484
485#define YY_EXTRA_TYPE compiler_state_t *
486
Haibo Huang4ccd6832020-04-23 18:03:48 -0700487int yylex_init (yyscan_t* scanner);
Elliott Hughes965a4b52017-05-15 10:37:39 -0700488
Haibo Huang4ccd6832020-04-23 18:03:48 -0700489int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);
Elliott Hughes965a4b52017-05-15 10:37:39 -0700490
491/* Accessor methods to globals.
492 These are made visible to non-reentrant scanners for convenience. */
493
Haibo Huang4ccd6832020-04-23 18:03:48 -0700494int yylex_destroy ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700495
Haibo Huang4ccd6832020-04-23 18:03:48 -0700496int yyget_debug ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700497
Haibo Huang4ccd6832020-04-23 18:03:48 -0700498void yyset_debug ( int debug_flag , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700499
Haibo Huang4ccd6832020-04-23 18:03:48 -0700500YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700501
Haibo Huang4ccd6832020-04-23 18:03:48 -0700502void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700503
Haibo Huang4ccd6832020-04-23 18:03:48 -0700504FILE *yyget_in ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700505
Haibo Huang4ccd6832020-04-23 18:03:48 -0700506void yyset_in ( FILE * _in_str , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700507
Haibo Huang4ccd6832020-04-23 18:03:48 -0700508FILE *yyget_out ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700509
Haibo Huang4ccd6832020-04-23 18:03:48 -0700510void yyset_out ( FILE * _out_str , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700511
Haibo Huang4ccd6832020-04-23 18:03:48 -0700512 int yyget_leng ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700513
Haibo Huang4ccd6832020-04-23 18:03:48 -0700514char *yyget_text ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700515
Haibo Huang4ccd6832020-04-23 18:03:48 -0700516int yyget_lineno ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700517
Haibo Huang4ccd6832020-04-23 18:03:48 -0700518void yyset_lineno ( int _line_number , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700519
Haibo Huang4ccd6832020-04-23 18:03:48 -0700520int yyget_column ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700521
Haibo Huang4ccd6832020-04-23 18:03:48 -0700522void yyset_column ( int _column_no , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700523
Haibo Huang4ccd6832020-04-23 18:03:48 -0700524YYSTYPE * yyget_lval ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700525
Haibo Huang4ccd6832020-04-23 18:03:48 -0700526void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700527
528/* Macros after this point can all be overridden by user definitions in
529 * section 1.
530 */
531
532#ifndef YY_SKIP_YYWRAP
533#ifdef __cplusplus
Haibo Huang4ccd6832020-04-23 18:03:48 -0700534extern "C" int yywrap ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700535#else
Haibo Huang4ccd6832020-04-23 18:03:48 -0700536extern int yywrap ( yyscan_t yyscanner );
Elliott Hughes965a4b52017-05-15 10:37:39 -0700537#endif
538#endif
539
540#ifndef yytext_ptr
Haibo Huang4ccd6832020-04-23 18:03:48 -0700541static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner);
Elliott Hughes965a4b52017-05-15 10:37:39 -0700542#endif
543
544#ifdef YY_NEED_STRLEN
Haibo Huang4ccd6832020-04-23 18:03:48 -0700545static int yy_flex_strlen ( const char * , yyscan_t yyscanner);
Elliott Hughes965a4b52017-05-15 10:37:39 -0700546#endif
547
548#ifndef YY_NO_INPUT
549
550#endif
551
552/* Amount of stuff to slurp up with each read. */
553#ifndef YY_READ_BUF_SIZE
554#ifdef __ia64__
555/* On IA-64, the buffer size is 16k, not 8k */
556#define YY_READ_BUF_SIZE 16384
557#else
558#define YY_READ_BUF_SIZE 8192
559#endif /* __ia64__ */
560#endif
561
562/* Number of entries by which start-condition stack grows. */
563#ifndef YY_START_STACK_INCR
564#define YY_START_STACK_INCR 25
565#endif
566
567/* Default declaration of generated scanner - a define so the user can
568 * easily add parameters.
569 */
570#ifndef YY_DECL
571#define YY_DECL_IS_OURS 1
572
Haibo Huang4ccd6832020-04-23 18:03:48 -0700573extern int yylex \
574 (YYSTYPE * yylval_param , yyscan_t yyscanner);
Elliott Hughes965a4b52017-05-15 10:37:39 -0700575
Haibo Huang4ccd6832020-04-23 18:03:48 -0700576#define YY_DECL int yylex \
Elliott Hughes965a4b52017-05-15 10:37:39 -0700577 (YYSTYPE * yylval_param , yyscan_t yyscanner)
578#endif /* !YY_DECL */
579
580/* yy_get_previous_state - get the state just before the EOB char was reached */
581
582#undef YY_NEW_FILE
583#undef YY_FLUSH_BUFFER
584#undef yy_set_bol
585#undef yy_new_buffer
586#undef yy_set_interactive
587#undef YY_DO_BEFORE_ACTION
588
589#ifdef YY_DECL_IS_OURS
590#undef YY_DECL_IS_OURS
591#undef YY_DECL
592#endif
593
Haibo Huang4ccd6832020-04-23 18:03:48 -0700594#ifndef pcap__create_buffer_ALREADY_DEFINED
595#undef yy_create_buffer
596#endif
597#ifndef pcap__delete_buffer_ALREADY_DEFINED
598#undef yy_delete_buffer
599#endif
600#ifndef pcap__scan_buffer_ALREADY_DEFINED
601#undef yy_scan_buffer
602#endif
603#ifndef pcap__scan_string_ALREADY_DEFINED
604#undef yy_scan_string
605#endif
606#ifndef pcap__scan_bytes_ALREADY_DEFINED
607#undef yy_scan_bytes
608#endif
609#ifndef pcap__init_buffer_ALREADY_DEFINED
610#undef yy_init_buffer
611#endif
612#ifndef pcap__flush_buffer_ALREADY_DEFINED
613#undef yy_flush_buffer
614#endif
615#ifndef pcap__load_buffer_state_ALREADY_DEFINED
616#undef yy_load_buffer_state
617#endif
618#ifndef pcap__switch_to_buffer_ALREADY_DEFINED
619#undef yy_switch_to_buffer
620#endif
621#ifndef pcap_push_buffer_state_ALREADY_DEFINED
622#undef yypush_buffer_state
623#endif
624#ifndef pcap_pop_buffer_state_ALREADY_DEFINED
625#undef yypop_buffer_state
626#endif
627#ifndef pcap_ensure_buffer_stack_ALREADY_DEFINED
628#undef yyensure_buffer_stack
629#endif
630#ifndef pcap_lex_ALREADY_DEFINED
631#undef yylex
632#endif
633#ifndef pcap_restart_ALREADY_DEFINED
634#undef yyrestart
635#endif
636#ifndef pcap_lex_init_ALREADY_DEFINED
637#undef yylex_init
638#endif
639#ifndef pcap_lex_init_extra_ALREADY_DEFINED
640#undef yylex_init_extra
641#endif
642#ifndef pcap_lex_destroy_ALREADY_DEFINED
643#undef yylex_destroy
644#endif
645#ifndef pcap_get_debug_ALREADY_DEFINED
646#undef yyget_debug
647#endif
648#ifndef pcap_set_debug_ALREADY_DEFINED
649#undef yyset_debug
650#endif
651#ifndef pcap_get_extra_ALREADY_DEFINED
652#undef yyget_extra
653#endif
654#ifndef pcap_set_extra_ALREADY_DEFINED
655#undef yyset_extra
656#endif
657#ifndef pcap_get_in_ALREADY_DEFINED
658#undef yyget_in
659#endif
660#ifndef pcap_set_in_ALREADY_DEFINED
661#undef yyset_in
662#endif
663#ifndef pcap_get_out_ALREADY_DEFINED
664#undef yyget_out
665#endif
666#ifndef pcap_set_out_ALREADY_DEFINED
667#undef yyset_out
668#endif
669#ifndef pcap_get_leng_ALREADY_DEFINED
670#undef yyget_leng
671#endif
672#ifndef pcap_get_text_ALREADY_DEFINED
673#undef yyget_text
674#endif
675#ifndef pcap_get_lineno_ALREADY_DEFINED
676#undef yyget_lineno
677#endif
678#ifndef pcap_set_lineno_ALREADY_DEFINED
679#undef yyset_lineno
680#endif
681#ifndef pcap_get_column_ALREADY_DEFINED
682#undef yyget_column
683#endif
684#ifndef pcap_set_column_ALREADY_DEFINED
685#undef yyset_column
686#endif
687#ifndef pcap_wrap_ALREADY_DEFINED
688#undef yywrap
689#endif
690#ifndef pcap_get_lval_ALREADY_DEFINED
691#undef yyget_lval
692#endif
693#ifndef pcap_set_lval_ALREADY_DEFINED
694#undef yyset_lval
695#endif
696#ifndef pcap_get_lloc_ALREADY_DEFINED
697#undef yyget_lloc
698#endif
699#ifndef pcap_set_lloc_ALREADY_DEFINED
700#undef yyset_lloc
701#endif
702#ifndef pcap_alloc_ALREADY_DEFINED
703#undef yyalloc
704#endif
705#ifndef pcap_realloc_ALREADY_DEFINED
706#undef yyrealloc
707#endif
708#ifndef pcap_free_ALREADY_DEFINED
709#undef yyfree
710#endif
711#ifndef pcap_text_ALREADY_DEFINED
712#undef yytext
713#endif
714#ifndef pcap_leng_ALREADY_DEFINED
715#undef yyleng
716#endif
717#ifndef pcap_in_ALREADY_DEFINED
718#undef yyin
719#endif
720#ifndef pcap_out_ALREADY_DEFINED
721#undef yyout
722#endif
723#ifndef pcap__flex_debug_ALREADY_DEFINED
724#undef yy_flex_debug
725#endif
726#ifndef pcap_lineno_ALREADY_DEFINED
727#undef yylineno
728#endif
729#ifndef pcap_tables_fload_ALREADY_DEFINED
730#undef yytables_fload
731#endif
732#ifndef pcap_tables_destroy_ALREADY_DEFINED
733#undef yytables_destroy
734#endif
735#ifndef pcap_TABLES_NAME_ALREADY_DEFINED
736#undef yyTABLES_NAME
737#endif
738
739#line 479 "scanner.l"
Elliott Hughes965a4b52017-05-15 10:37:39 -0700740
741
Haibo Huang4ccd6832020-04-23 18:03:48 -0700742#line 743 "scanner.h"
Elliott Hughes965a4b52017-05-15 10:37:39 -0700743#undef pcap_IN_HEADER
744#endif /* pcap_HEADER_H */