/* A Bison parser, made by GNU Bison 2.3. */ /* Skeleton interface for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { DST = 258, SRC = 259, HOST = 260, GATEWAY = 261, NET = 262, NETMASK = 263, PORT = 264, PORTRANGE = 265, LESS = 266, GREATER = 267, PROTO = 268, PROTOCHAIN = 269, CBYTE = 270, ARP = 271, RARP = 272, IP = 273, SCTP = 274, TCP = 275, UDP = 276, ICMP = 277, IGMP = 278, IGRP = 279, PIM = 280, VRRP = 281, ATALK = 282, AARP = 283, DECNET = 284, LAT = 285, SCA = 286, MOPRC = 287, MOPDL = 288, TK_BROADCAST = 289, TK_MULTICAST = 290, NUM = 291, INBOUND = 292, OUTBOUND = 293, PF_IFNAME = 294, PF_RSET = 295, PF_RNR = 296, PF_SRNR = 297, PF_REASON = 298, PF_ACTION = 299, LINK = 300, GEQ = 301, LEQ = 302, NEQ = 303, ID = 304, EID = 305, HID = 306, HID6 = 307, AID = 308, LSH = 309, RSH = 310, LEN = 311, IPV6 = 312, ICMPV6 = 313, AH = 314, ESP = 315, VLAN = 316, MPLS = 317, PPPOED = 318, PPPOES = 319, ISO = 320, ESIS = 321, CLNP = 322, ISIS = 323, L1 = 324, L2 = 325, IIH = 326, LSP = 327, SNP = 328, CSNP = 329, PSNP = 330, STP = 331, IPX = 332, NETBEUI = 333, LANE = 334, LLC = 335, METAC = 336, BCC = 337, SC = 338, ILMIC = 339, OAMF4EC = 340, OAMF4SC = 341, OAM = 342, OAMF4 = 343, CONNECTMSG = 344, METACONNECT = 345, VPI = 346, VCI = 347, RADIO = 348, FISU = 349, LSSU = 350, MSU = 351, SIO = 352, OPC = 353, DPC = 354, SLS = 355, AND = 356, OR = 357, UMINUS = 358 }; #endif /* Tokens. */ #define DST 258 #define SRC 259 #define HOST 260 #define GATEWAY 261 #define NET 262 #define NETMASK 263 #define PORT 264 #define PORTRANGE 265 #define LESS 266 #define GREATER 267 #define PROTO 268 #define PROTOCHAIN 269 #define CBYTE 270 #define ARP 271 #define RARP 272 #define IP 273 #define SCTP 274 #define TCP 275 #define UDP 276 #define ICMP 277 #define IGMP 278 #define IGRP 279 #define PIM 280 #define VRRP 281 #define ATALK 282 #define AARP 283 #define DECNET 284 #define LAT 285 #define SCA 286 #define MOPRC 287 #define MOPDL 288 #define TK_BROADCAST 289 #define TK_MULTICAST 290 #define NUM 291 #define INBOUND 292 #define OUTBOUND 293 #define PF_IFNAME 294 #define PF_RSET 295 #define PF_RNR 296 #define PF_SRNR 297 #define PF_REASON 298 #define PF_ACTION 299 #define LINK 300 #define GEQ 301 #define LEQ 302 #define NEQ 303 #define ID 304 #define EID 305 #define HID 306 #define HID6 307 #define AID 308 #define LSH 309 #define RSH 310 #define LEN 311 #define IPV6 312 #define ICMPV6 313 #define AH 314 #define ESP 315 #define VLAN 316 #define MPLS 317 #define PPPOED 318 #define PPPOES 319 #define ISO 320 #define ESIS 321 #define CLNP 322 #define ISIS 323 #define L1 324 #define L2 325 #define IIH 326 #define LSP 327 #define SNP 328 #define CSNP 329 #define PSNP 330 #define STP 331 #define IPX 332 #define NETBEUI 333 #define LANE 334 #define LLC 335 #define METAC 336 #define BCC 337 #define SC 338 #define ILMIC 339 #define OAMF4EC 340 #define OAMF4SC 341 #define OAM 342 #define OAMF4 343 #define CONNECTMSG 344 #define METACONNECT 345 #define VPI 346 #define VCI 347 #define RADIO 348 #define FISU 349 #define LSSU 350 #define MSU 351 #define SIO 352 #define OPC 353 #define DPC 354 #define SLS 355 #define AND 356 #define OR 357 #define UMINUS 358 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE #line 90 "grammar.y" { int i; bpf_u_int32 h; u_char *e; char *s; struct stmt *stmt; struct arth *a; struct { struct qual q; int atmfieldtype; int mtp3fieldtype; struct block *b; } blk; struct block *rblk; } /* Line 1489 of yacc.c. */ #line 271 "y.tab.h" YYSTYPE; # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 #endif extern YYSTYPE pcap_lval;