IRQ handler rewrite by Gabor Juhos, uses C no longer assembly
[openwrt/svn-archive/archive.git] / target / linux / etrax-2.6 / image / e100boot / src / libpcap-0.4 / tokdefs.h
1 /* A Bison parser, made by GNU Bison 2.3. */
2
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
22
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
32
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
35
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
40 know about them. */
41 enum yytokentype {
42 DST = 258,
43 SRC = 259,
44 HOST = 260,
45 GATEWAY = 261,
46 NET = 262,
47 MASK = 263,
48 PORT = 264,
49 LESS = 265,
50 GREATER = 266,
51 PROTO = 267,
52 BYTE = 268,
53 ARP = 269,
54 RARP = 270,
55 IP = 271,
56 TCP = 272,
57 UDP = 273,
58 ICMP = 274,
59 IGMP = 275,
60 IGRP = 276,
61 ATALK = 277,
62 DECNET = 278,
63 LAT = 279,
64 SCA = 280,
65 MOPRC = 281,
66 MOPDL = 282,
67 TK_BROADCAST = 283,
68 TK_MULTICAST = 284,
69 NUM = 285,
70 INBOUND = 286,
71 OUTBOUND = 287,
72 LINK = 288,
73 GEQ = 289,
74 LEQ = 290,
75 NEQ = 291,
76 ID = 292,
77 EID = 293,
78 HID = 294,
79 LSH = 295,
80 RSH = 296,
81 LEN = 297,
82 AND = 298,
83 OR = 299,
84 UMINUS = 300
85 };
86 #endif
87 /* Tokens. */
88 #define DST 258
89 #define SRC 259
90 #define HOST 260
91 #define GATEWAY 261
92 #define NET 262
93 #define MASK 263
94 #define PORT 264
95 #define LESS 265
96 #define GREATER 266
97 #define PROTO 267
98 #define BYTE 268
99 #define ARP 269
100 #define RARP 270
101 #define IP 271
102 #define TCP 272
103 #define UDP 273
104 #define ICMP 274
105 #define IGMP 275
106 #define IGRP 276
107 #define ATALK 277
108 #define DECNET 278
109 #define LAT 279
110 #define SCA 280
111 #define MOPRC 281
112 #define MOPDL 282
113 #define TK_BROADCAST 283
114 #define TK_MULTICAST 284
115 #define NUM 285
116 #define INBOUND 286
117 #define OUTBOUND 287
118 #define LINK 288
119 #define GEQ 289
120 #define LEQ 290
121 #define NEQ 291
122 #define ID 292
123 #define EID 293
124 #define HID 294
125 #define LSH 295
126 #define RSH 296
127 #define LEN 297
128 #define AND 298
129 #define OR 299
130 #define UMINUS 300
131
132
133
134
135 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
136 typedef union YYSTYPE
137 #line 82 "grammar.y"
138 {
139 int i;
140 bpf_u_int32 h;
141 u_char *e;
142 char *s;
143 struct stmt *stmt;
144 struct arth *a;
145 struct {
146 struct qual q;
147 struct block *b;
148 } blk;
149 struct block *rblk;
150 }
151 /* Line 1489 of yacc.c. */
152 #line 153 "y.tab.h"
153 YYSTYPE;
154 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
155 # define YYSTYPE_IS_DECLARED 1
156 # define YYSTYPE_IS_TRIVIAL 1
157 #endif
158
159 extern YYSTYPE pcap_lval;
160