| 1 | #ifndef pcap_HEADER_H | 
| 2 | #define  1 | 
| 3 | #define  1 | 
| 4 |  | 
| 5 | #line 5 "scanner.h" | 
| 6 | /* Must come first for _LARGE_FILE_API on AIX. */ | 
| 7 | #ifdef HAVE_CONFIG_H | 
| 8 | #include <config.h> | 
| 9 | #endif | 
| 10 |  | 
| 11 | /* | 
| 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> | 
| 30 |  | 
| 31 | #include "diag-control.h" | 
| 32 |  | 
| 33 | #line 33 "scanner.h" | 
| 34 |  | 
| 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 | 
| 41 | #define YY_FLEX_MINOR_VERSION 6 | 
| 42 | #define YY_FLEX_SUBMINOR_VERSION 4 | 
| 43 | #if YY_FLEX_SUBMINOR_VERSION > 0 | 
| 44 | #define FLEX_BETA | 
| 45 | #endif | 
| 46 |  | 
| 47 | #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   | 
| 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   | 
| 165 | #endif | 
| 166 |  | 
| 167 | #ifdef yyset_extra | 
| 168 | #define pcap_set_extra_ALREADY_DEFINED | 
| 169 | #else | 
| 170 | #define   | 
| 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 |  | 
| 269 | /* First, we deal with  platform-specific or compiler-specific issues. */ | 
| 270 |  | 
| 271 | /* begin standard C headers. */ | 
| 272 | #ifdef _LIBC | 
| 273 | #include "namespace.h" | 
| 274 | #endif | 
| 275 | #include <stdio.h> | 
| 276 | #include <string.h> | 
| 277 | #include <errno.h> | 
| 278 | #include <stdlib.h> | 
| 279 |  | 
| 280 | /* end standard C headers. */ | 
| 281 |  | 
| 282 | /*	$NetBSD: flexint.h,v 1.3 2018/12/23 16:27:17 christos Exp $	*/ | 
| 283 |  | 
| 284 | /* flex integer type definitions */ | 
| 285 |  | 
| 286 | #ifndef FLEXINT_H | 
| 287 | #define FLEXINT_H | 
| 288 |  | 
| 289 | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ | 
| 290 |  | 
| 291 | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | 
| 292 |  | 
| 293 | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | 
| 294 |  * if you want the limit (max/min) macros for int types.  | 
| 295 |  */ | 
| 296 | #ifndef __STDC_LIMIT_MACROS | 
| 297 | #define __STDC_LIMIT_MACROS 1 | 
| 298 | #endif | 
| 299 |  | 
| 300 | #include <inttypes.h> | 
| 301 | typedef int8_t flex_int8_t; | 
| 302 | typedef uint8_t flex_uint8_t; | 
| 303 | typedef int16_t flex_int16_t; | 
| 304 | typedef uint16_t flex_uint16_t; | 
| 305 | typedef int32_t flex_int32_t; | 
| 306 | typedef uint32_t flex_uint32_t; | 
| 307 | #else | 
| 308 | typedef signed char flex_int8_t; | 
| 309 | typedef short int flex_int16_t; | 
| 310 | typedef int flex_int32_t; | 
| 311 | typedef unsigned char flex_uint8_t;  | 
| 312 | typedef unsigned short int flex_uint16_t; | 
| 313 | typedef unsigned int flex_uint32_t; | 
| 314 |  | 
| 315 | /* Limits of integral types. */ | 
| 316 | #ifndef INT8_MIN | 
| 317 | #define INT8_MIN               (-128) | 
| 318 | #endif | 
| 319 | #ifndef INT16_MIN | 
| 320 | #define INT16_MIN              (-32767-1) | 
| 321 | #endif | 
| 322 | #ifndef INT32_MIN | 
| 323 | #define INT32_MIN              (-2147483647-1) | 
| 324 | #endif | 
| 325 | #ifndef INT8_MAX | 
| 326 | #define INT8_MAX               (127) | 
| 327 | #endif | 
| 328 | #ifndef INT16_MAX | 
| 329 | #define INT16_MAX              (32767) | 
| 330 | #endif | 
| 331 | #ifndef INT32_MAX | 
| 332 | #define INT32_MAX              (2147483647) | 
| 333 | #endif | 
| 334 | #ifndef UINT8_MAX | 
| 335 | #define UINT8_MAX              (255U) | 
| 336 | #endif | 
| 337 | #ifndef UINT16_MAX | 
| 338 | #define UINT16_MAX             (65535U) | 
| 339 | #endif | 
| 340 | #ifndef UINT32_MAX | 
| 341 | #define UINT32_MAX             (4294967295U) | 
| 342 | #endif | 
| 343 |  | 
| 344 | #ifndef SIZE_MAX | 
| 345 | #define SIZE_MAX               (~(size_t)0) | 
| 346 | #endif | 
| 347 |  | 
| 348 | #endif /* ! C99 */ | 
| 349 |  | 
| 350 | #endif /* ! FLEXINT_H */ | 
| 351 |  | 
| 352 | /* begin standard C++ headers. */ | 
| 353 |  | 
| 354 | /* TODO: this is always defined, so inline it */ | 
| 355 | #define yyconst const | 
| 356 |  | 
| 357 | #if defined(__GNUC__) && __GNUC__ >= 3 | 
| 358 | #define yynoreturn __attribute__((__noreturn__)) | 
| 359 | #else | 
| 360 | #define yynoreturn | 
| 361 | #endif | 
| 362 |  | 
| 363 | /* An opaque pointer. */ | 
| 364 | #ifndef YY_TYPEDEF_YY_SCANNER_T | 
| 365 | #define YY_TYPEDEF_YY_SCANNER_T | 
| 366 | typedef void* yyscan_t; | 
| 367 | #endif | 
| 368 |  | 
| 369 | /* For convenience, these vars (plus the bison vars far below) | 
| 370 |    are macros in the reentrant scanner. */ | 
| 371 | #define yyin yyg->yyin_r | 
| 372 | #define yyout yyg->yyout_r | 
| 373 | #define  yyg->yyextra_r | 
| 374 | #define yyleng yyg->yyleng_r | 
| 375 | #define yytext yyg->yytext_r | 
| 376 | #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) | 
| 377 | #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) | 
| 378 | #define yy_flex_debug yyg->yy_flex_debug_r | 
| 379 |  | 
| 380 | /* Size of default input buffer. */ | 
| 381 | #ifndef YY_BUF_SIZE | 
| 382 | #ifdef __ia64__ | 
| 383 | /* On IA-64, the buffer size is 16k, not 8k. | 
| 384 |  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | 
| 385 |  * Ditto for the __ia64__ case accordingly. | 
| 386 |  */ | 
| 387 | #define YY_BUF_SIZE 32768 | 
| 388 | #else | 
| 389 | #define YY_BUF_SIZE 16384 | 
| 390 | #endif /* __ia64__ */ | 
| 391 | #endif | 
| 392 |  | 
| 393 | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | 
| 394 | #define YY_TYPEDEF_YY_BUFFER_STATE | 
| 395 | typedef struct yy_buffer_state *YY_BUFFER_STATE; | 
| 396 | #endif | 
| 397 |  | 
| 398 | #ifndef YY_TYPEDEF_YY_SIZE_T | 
| 399 | #define YY_TYPEDEF_YY_SIZE_T | 
| 400 | typedef size_t yy_size_t; | 
| 401 | #endif | 
| 402 |  | 
| 403 | #ifndef YY_STRUCT_YY_BUFFER_STATE | 
| 404 | #define YY_STRUCT_YY_BUFFER_STATE | 
| 405 | struct yy_buffer_state | 
| 406 | 	{ | 
| 407 | 	FILE *yy_input_file; | 
| 408 |  | 
| 409 | 	char *yy_ch_buf;		/* input buffer */ | 
| 410 | 	char *yy_buf_pos;		/* current position in input buffer */ | 
| 411 |  | 
| 412 | 	/* Size of input buffer in bytes, not including room for EOB | 
| 413 | 	 * characters. | 
| 414 | 	 */ | 
| 415 | 	size_t yy_buf_size; | 
| 416 |  | 
| 417 | 	/* Number of characters read into yy_ch_buf, not including EOB | 
| 418 | 	 * characters. | 
| 419 | 	 */ | 
| 420 | 	size_t yy_n_chars; | 
| 421 |  | 
| 422 | 	/* Whether we "own" the buffer - i.e., we know we created it, | 
| 423 | 	 * and can realloc() it to grow it, and should free() it to | 
| 424 | 	 * delete it. | 
| 425 | 	 */ | 
| 426 | 	int yy_is_our_buffer; | 
| 427 |  | 
| 428 | 	/* Whether this is an "interactive" input source; if so, and | 
| 429 | 	 * if we're using stdio for input, then we want to use getc() | 
| 430 | 	 * instead of fread(), to make sure we stop fetching input after | 
| 431 | 	 * each newline. | 
| 432 | 	 */ | 
| 433 | 	int yy_is_interactive; | 
| 434 |  | 
| 435 | 	/* Whether we're considered to be at the beginning of a line. | 
| 436 | 	 * If so, '^' rules will be active on the next match, otherwise | 
| 437 | 	 * not. | 
| 438 | 	 */ | 
| 439 | 	int yy_at_bol; | 
| 440 |  | 
| 441 |     int yy_bs_lineno; /**< The line count. */ | 
| 442 |     int yy_bs_column; /**< The column count. */ | 
| 443 |  | 
| 444 | 	/* Whether to try to fill the input buffer when we reach the | 
| 445 | 	 * end of it. | 
| 446 | 	 */ | 
| 447 | 	int yy_fill_buffer; | 
| 448 |  | 
| 449 | 	int yy_buffer_status; | 
| 450 |  | 
| 451 | 	}; | 
| 452 | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | 
| 453 |  | 
| 454 | void yyrestart ( FILE *input_file , yyscan_t yyscanner ); | 
| 455 | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); | 
| 456 | YY_BUFFER_STATE yy_create_buffer ( FILE *file, yy_size_t size , yyscan_t yyscanner ); | 
| 457 | void yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); | 
| 458 | void yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner ); | 
| 459 | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ); | 
| 460 | void yypop_buffer_state ( yyscan_t yyscanner ); | 
| 461 |  | 
| 462 | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner ); | 
| 463 | YY_BUFFER_STATE yy_scan_string ( const char *yy_str , yyscan_t yyscanner ); | 
| 464 | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, yy_size_t len , yyscan_t yyscanner ); | 
| 465 |  | 
| 466 | void *yyalloc ( yy_size_t , yyscan_t yyscanner ); | 
| 467 | void *yyrealloc ( void *, yy_size_t , yyscan_t yyscanner ); | 
| 468 | void yyfree ( void * , yyscan_t yyscanner ); | 
| 469 |  | 
| 470 | /* Begin user sect3 */ | 
| 471 |  | 
| 472 | #define pcap_wrap(yyscanner) (/*CONSTCOND*/1) | 
| 473 | #define YY_SKIP_YYWRAP | 
| 474 |  | 
| 475 | #define yytext_ptr yytext_r | 
| 476 |  | 
| 477 | #ifdef YY_HEADER_EXPORT_START_CONDITIONS | 
| 478 | #define INITIAL 0 | 
| 479 |  | 
| 480 | #endif | 
| 481 |  | 
| 482 | #ifndef YY_NO_UNISTD_H | 
| 483 | /* Special case for "unistd.h", since it is non-ANSI. We include it way | 
| 484 |  * down here because we want the user's section 1 to have been scanned first. | 
| 485 |  * The user has a chance to override it with an option. | 
| 486 |  */ | 
| 487 | #include <unistd.h> | 
| 488 | #endif | 
| 489 |  | 
| 490 | #define  compiler_state_t * | 
| 491 |  | 
| 492 | int yylex_init (yyscan_t* scanner); | 
| 493 |  | 
| 494 | int yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner); | 
| 495 |  | 
| 496 | /* Accessor methods to globals. | 
| 497 |    These are made visible to non-reentrant scanners for convenience. */ | 
| 498 |  | 
| 499 | int yylex_destroy ( yyscan_t yyscanner ); | 
| 500 |  | 
| 501 | int yyget_debug ( yyscan_t yyscanner ); | 
| 502 |  | 
| 503 | void yyset_debug ( int debug_flag , yyscan_t yyscanner ); | 
| 504 |  | 
| 505 | YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner ); | 
| 506 |  | 
| 507 | void yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner ); | 
| 508 |  | 
| 509 | FILE *yyget_in ( yyscan_t yyscanner ); | 
| 510 |  | 
| 511 | void yyset_in  ( FILE * _in_str , yyscan_t yyscanner ); | 
| 512 |  | 
| 513 | FILE *yyget_out ( yyscan_t yyscanner ); | 
| 514 |  | 
| 515 | void yyset_out  ( FILE * _out_str , yyscan_t yyscanner ); | 
| 516 |  | 
| 517 | 			yy_size_t yyget_leng ( yyscan_t yyscanner ); | 
| 518 |  | 
| 519 | char *yyget_text ( yyscan_t yyscanner ); | 
| 520 |  | 
| 521 | int yyget_lineno ( yyscan_t yyscanner ); | 
| 522 |  | 
| 523 | void yyset_lineno ( int _line_number , yyscan_t yyscanner ); | 
| 524 |  | 
| 525 | int yyget_column  ( yyscan_t yyscanner ); | 
| 526 |  | 
| 527 | void yyset_column ( int _column_no , yyscan_t yyscanner ); | 
| 528 |  | 
| 529 | YYSTYPE * yyget_lval ( yyscan_t yyscanner ); | 
| 530 |  | 
| 531 | void yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner ); | 
| 532 |  | 
| 533 | /* Macros after this point can all be overridden by user definitions in | 
| 534 |  * section 1. | 
| 535 |  */ | 
| 536 |  | 
| 537 | #ifndef YY_SKIP_YYWRAP | 
| 538 | #ifdef __cplusplus | 
| 539 | extern "C"  int yywrap ( yyscan_t yyscanner ); | 
| 540 | #else | 
| 541 | extern int yywrap ( yyscan_t yyscanner ); | 
| 542 | #endif | 
| 543 | #endif | 
| 544 |  | 
| 545 | #ifndef yytext_ptr | 
| 546 | static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner); | 
| 547 | #endif | 
| 548 |  | 
| 549 | #ifdef YY_NEED_STRLEN | 
| 550 | static int yy_flex_strlen ( const char * , yyscan_t yyscanner); | 
| 551 | #endif | 
| 552 |  | 
| 553 | #ifndef YY_NO_INPUT | 
| 554 |  | 
| 555 | #endif | 
| 556 |  | 
| 557 | /* Amount of stuff to slurp up with each read. */ | 
| 558 | #ifndef YY_READ_BUF_SIZE | 
| 559 | #ifdef __ia64__ | 
| 560 | /* On IA-64, the buffer size is 16k, not 8k */ | 
| 561 | #define YY_READ_BUF_SIZE 16384 | 
| 562 | #else | 
| 563 | #define YY_READ_BUF_SIZE 8192 | 
| 564 | #endif /* __ia64__ */ | 
| 565 | #endif | 
| 566 |  | 
| 567 | /* Number of entries by which start-condition stack grows. */ | 
| 568 | #ifndef YY_START_STACK_INCR | 
| 569 | #define YY_START_STACK_INCR 25 | 
| 570 | #endif | 
| 571 |  | 
| 572 | /* Default declaration of generated scanner - a define so the user can | 
| 573 |  * easily add parameters. | 
| 574 |  */ | 
| 575 | #ifndef YY_DECL | 
| 576 | #define YY_DECL_IS_OURS 1 | 
| 577 |  | 
| 578 | extern int yylex \ | 
| 579 |                (YYSTYPE * yylval_param , yyscan_t yyscanner); | 
| 580 |  | 
| 581 | #define YY_DECL int yylex \ | 
| 582 |                (YYSTYPE * yylval_param , yyscan_t yyscanner) | 
| 583 | #endif /* !YY_DECL */ | 
| 584 |  | 
| 585 | /* yy_get_previous_state - get the state just before the EOB char was reached */ | 
| 586 |  | 
| 587 | #undef YY_NEW_FILE | 
| 588 | #undef YY_FLUSH_BUFFER | 
| 589 | #undef yy_set_bol | 
| 590 | #undef yy_new_buffer | 
| 591 | #undef yy_set_interactive | 
| 592 | #undef YY_DO_BEFORE_ACTION | 
| 593 |  | 
| 594 | #ifdef YY_DECL_IS_OURS | 
| 595 | #undef YY_DECL_IS_OURS | 
| 596 | #undef YY_DECL | 
| 597 | #endif | 
| 598 |  | 
| 599 | #ifndef pcap__create_buffer_ALREADY_DEFINED | 
| 600 | #undef yy_create_buffer | 
| 601 | #endif | 
| 602 | #ifndef pcap__delete_buffer_ALREADY_DEFINED | 
| 603 | #undef yy_delete_buffer | 
| 604 | #endif | 
| 605 | #ifndef pcap__scan_buffer_ALREADY_DEFINED | 
| 606 | #undef yy_scan_buffer | 
| 607 | #endif | 
| 608 | #ifndef pcap__scan_string_ALREADY_DEFINED | 
| 609 | #undef yy_scan_string | 
| 610 | #endif | 
| 611 | #ifndef pcap__scan_bytes_ALREADY_DEFINED | 
| 612 | #undef yy_scan_bytes | 
| 613 | #endif | 
| 614 | #ifndef pcap__init_buffer_ALREADY_DEFINED | 
| 615 | #undef yy_init_buffer | 
| 616 | #endif | 
| 617 | #ifndef pcap__flush_buffer_ALREADY_DEFINED | 
| 618 | #undef yy_flush_buffer | 
| 619 | #endif | 
| 620 | #ifndef pcap__load_buffer_state_ALREADY_DEFINED | 
| 621 | #undef yy_load_buffer_state | 
| 622 | #endif | 
| 623 | #ifndef pcap__switch_to_buffer_ALREADY_DEFINED | 
| 624 | #undef yy_switch_to_buffer | 
| 625 | #endif | 
| 626 | #ifndef pcap_push_buffer_state_ALREADY_DEFINED | 
| 627 | #undef yypush_buffer_state | 
| 628 | #endif | 
| 629 | #ifndef pcap_pop_buffer_state_ALREADY_DEFINED | 
| 630 | #undef yypop_buffer_state | 
| 631 | #endif | 
| 632 | #ifndef pcap_ensure_buffer_stack_ALREADY_DEFINED | 
| 633 | #undef yyensure_buffer_stack | 
| 634 | #endif | 
| 635 | #ifndef pcap_lex_ALREADY_DEFINED | 
| 636 | #undef yylex | 
| 637 | #endif | 
| 638 | #ifndef pcap_restart_ALREADY_DEFINED | 
| 639 | #undef yyrestart | 
| 640 | #endif | 
| 641 | #ifndef pcap_lex_init_ALREADY_DEFINED | 
| 642 | #undef yylex_init | 
| 643 | #endif | 
| 644 | #ifndef pcap_lex_init_extra_ALREADY_DEFINED | 
| 645 | #undef yylex_init_extra | 
| 646 | #endif | 
| 647 | #ifndef pcap_lex_destroy_ALREADY_DEFINED | 
| 648 | #undef yylex_destroy | 
| 649 | #endif | 
| 650 | #ifndef pcap_get_debug_ALREADY_DEFINED | 
| 651 | #undef yyget_debug | 
| 652 | #endif | 
| 653 | #ifndef pcap_set_debug_ALREADY_DEFINED | 
| 654 | #undef yyset_debug | 
| 655 | #endif | 
| 656 | #ifndef pcap_get_extra_ALREADY_DEFINED | 
| 657 | #undef yyget_extra | 
| 658 | #endif | 
| 659 | #ifndef pcap_set_extra_ALREADY_DEFINED | 
| 660 | #undef yyset_extra | 
| 661 | #endif | 
| 662 | #ifndef pcap_get_in_ALREADY_DEFINED | 
| 663 | #undef yyget_in | 
| 664 | #endif | 
| 665 | #ifndef pcap_set_in_ALREADY_DEFINED | 
| 666 | #undef yyset_in | 
| 667 | #endif | 
| 668 | #ifndef pcap_get_out_ALREADY_DEFINED | 
| 669 | #undef yyget_out | 
| 670 | #endif | 
| 671 | #ifndef pcap_set_out_ALREADY_DEFINED | 
| 672 | #undef yyset_out | 
| 673 | #endif | 
| 674 | #ifndef pcap_get_leng_ALREADY_DEFINED | 
| 675 | #undef yyget_leng | 
| 676 | #endif | 
| 677 | #ifndef pcap_get_text_ALREADY_DEFINED | 
| 678 | #undef yyget_text | 
| 679 | #endif | 
| 680 | #ifndef pcap_get_lineno_ALREADY_DEFINED | 
| 681 | #undef yyget_lineno | 
| 682 | #endif | 
| 683 | #ifndef pcap_set_lineno_ALREADY_DEFINED | 
| 684 | #undef yyset_lineno | 
| 685 | #endif | 
| 686 | #ifndef pcap_get_column_ALREADY_DEFINED | 
| 687 | #undef yyget_column | 
| 688 | #endif | 
| 689 | #ifndef pcap_set_column_ALREADY_DEFINED | 
| 690 | #undef yyset_column | 
| 691 | #endif | 
| 692 | #ifndef pcap_wrap_ALREADY_DEFINED | 
| 693 | #undef yywrap | 
| 694 | #endif | 
| 695 | #ifndef pcap_get_lval_ALREADY_DEFINED | 
| 696 | #undef yyget_lval | 
| 697 | #endif | 
| 698 | #ifndef pcap_set_lval_ALREADY_DEFINED | 
| 699 | #undef yyset_lval | 
| 700 | #endif | 
| 701 | #ifndef pcap_get_lloc_ALREADY_DEFINED | 
| 702 | #undef yyget_lloc | 
| 703 | #endif | 
| 704 | #ifndef pcap_set_lloc_ALREADY_DEFINED | 
| 705 | #undef yyset_lloc | 
| 706 | #endif | 
| 707 | #ifndef pcap_alloc_ALREADY_DEFINED | 
| 708 | #undef yyalloc | 
| 709 | #endif | 
| 710 | #ifndef pcap_realloc_ALREADY_DEFINED | 
| 711 | #undef yyrealloc | 
| 712 | #endif | 
| 713 | #ifndef pcap_free_ALREADY_DEFINED | 
| 714 | #undef yyfree | 
| 715 | #endif | 
| 716 | #ifndef pcap_text_ALREADY_DEFINED | 
| 717 | #undef yytext | 
| 718 | #endif | 
| 719 | #ifndef pcap_leng_ALREADY_DEFINED | 
| 720 | #undef yyleng | 
| 721 | #endif | 
| 722 | #ifndef pcap_in_ALREADY_DEFINED | 
| 723 | #undef yyin | 
| 724 | #endif | 
| 725 | #ifndef pcap_out_ALREADY_DEFINED | 
| 726 | #undef yyout | 
| 727 | #endif | 
| 728 | #ifndef pcap__flex_debug_ALREADY_DEFINED | 
| 729 | #undef yy_flex_debug | 
| 730 | #endif | 
| 731 | #ifndef pcap_lineno_ALREADY_DEFINED | 
| 732 | #undef yylineno | 
| 733 | #endif | 
| 734 | #ifndef pcap_tables_fload_ALREADY_DEFINED | 
| 735 | #undef yytables_fload | 
| 736 | #endif | 
| 737 | #ifndef pcap_tables_destroy_ALREADY_DEFINED | 
| 738 | #undef yytables_destroy | 
| 739 | #endif | 
| 740 | #ifndef pcap_TABLES_NAME_ALREADY_DEFINED | 
| 741 | #undef yyTABLES_NAME | 
| 742 | #endif | 
| 743 |  | 
| 744 | #line 497 "/___NETBSD_SRC___/external/bsd/libpcap/lib/../dist/scanner.l" | 
| 745 |  | 
| 746 |  | 
| 747 | #line 747 "scanner.h" | 
| 748 | #undef pcap_IN_HEADER | 
| 749 | #endif /* pcap_HEADER_H */ | 
| 750 |  |