source: libpacketdump/parser/parser.h @ 9d6b5cd

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 9d6b5cd was 9d6b5cd, checked in by Perry Lorier <perry@…>, 14 years ago

Deal with trace_packet_dump() being passed a packet without a link layer

  • Property mode set to 100644
File size: 2.2 KB
Line 
1/* A Bison parser, made by GNU Bison 1.875d.  */
2
3/* Skeleton parser for Yacc-like parsing with Bison,
4   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11   This program is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with this program; if not, write to the Free Software
18   Foundation, Inc., 59 Temple Place - Suite 330,
19   Boston, MA 02111-1307, USA.  */
20
21/* As a special exception, when this file is copied by Bison into a
22   Bison output file, you may use that output file without restriction.
23   This special exception was added by the Free Software Foundation
24   in version 1.24 of Bison.  */
25
26/* Tokens.  */
27#ifndef YYTOKENTYPE
28# define YYTOKENTYPE
29   /* Put the tokens into the symbol table, so that GDB and other debuggers
30      know about them.  */
31   enum yytokentype {
32     TOK_BIGENDIAN = 258,
33     TOK_LITTLEENDIAN = 259,
34     TOK_NEXT = 260,
35     TOK_OUTPUT_INT = 261,
36     TOK_OUTPUT_HEX = 262,
37     TOK_OUTPUT_IPV4 = 263,
38     TOK_OUTPUT_FLAG = 264,
39     TOK_CONSTANT = 265,
40     TOK_IDENTIFIER = 266,
41     TOK_OUTPUT_MAC = 267,
42     TOK_OUTPUT_NONE = 268
43   };
44#endif
45#define TOK_BIGENDIAN 258
46#define TOK_LITTLEENDIAN 259
47#define TOK_NEXT 260
48#define TOK_OUTPUT_INT 261
49#define TOK_OUTPUT_HEX 262
50#define TOK_OUTPUT_IPV4 263
51#define TOK_OUTPUT_FLAG 264
52#define TOK_CONSTANT 265
53#define TOK_IDENTIFIER 266
54#define TOK_OUTPUT_MAC 267
55#define TOK_OUTPUT_NONE 268
56
57
58
59
60#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
61#line 27 "parser.y"
62typedef union YYSTYPE {
63    int intval;
64    char *textval;
65    element_t *ptr;
66} YYSTYPE;
67/* Line 1285 of yacc.c.  */
68#line 69 "parser.h"
69# define yystype YYSTYPE /* obsolescent; will be withdrawn */
70# define YYSTYPE_IS_DECLARED 1
71# define YYSTYPE_IS_TRIVIAL 1
72#endif
73
74extern YYSTYPE yylval;
75
76
77
Note: See TracBrowser for help on using the repository browser.