/* A Bison parser, made by GNU Bison 2.5. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2011 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 3 of the License, 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, see . */ /* 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 { SEND = 258, SRC_ADDR = 259, DST_ADDR = 260, LENGTH = 261, STEP = 262, NORMAL = 263, POISSON = 264, UNIFORM = 265, CONSTANT = 266, OUTPUT_FILE = 267, VERBOSE = 268, RANDOM_SEED = 269, ADDRESS = 270, CONTROL = 271, PROTOCOL_SIZE = 272, FCS_SIZE = 273, FORMAT_ERF = 274, TOKEN_SIZE = 275, DUMMY = 276, PROTOCOL = 277, PAYLOAD = 278, RX_ERROR = 279, FORMAT_PCAP = 280, ATM_GFC = 281, ATM_VPI = 282, ATM_VCI = 283, ATM_PT = 284, ATM_CLP = 285, AAL5_UU = 286, AAL5_CPI = 287, AAL5_CRC = 288, ATM_TYPE = 289, ATM_UNI = 290, ATM_NNI = 291, LOOP = 292, TOKEN_GROUP = 293, INTERFACE = 294, IB_LOCAL = 295, IB_GLOBAL = 296, IB_LRH_VL = 297, IB_LRH_LVER = 298, IB_LRH_SLEVEL = 299, IB_LRH_DLID = 300, IB_LRH_SLID = 301, IB_BTH_QP = 302, IB_SRC_QP = 303, IB_BTH_OPCODE = 304, IB_BTH_PSN = 305, IB_BTH_TVER = 306, IB_RAW = 307, IB_NON_IB = 308, EOC = 309, PACKET = 310, PACKETS = 311, TRAFFIC = 312, COLON = 313, TILDE = 314, COMMA = 315, OPTIONS = 316, PLUS = 317, PACKET_ETH802_3 = 318, PACKET_POS = 319, OUTPUT_FORMAT = 320, COUNTERS = 321, PACKET_ETH_II = 322, PACKET_ATM = 323, PACKET_AAL5 = 324, WLEN = 325, SNAP = 326, PACKET_IB = 327, OPEN_KEY = 328, CLOSE_KEY = 329, OPEN_PAR = 330, CLOSE_PAR = 331, OPEN_BRA = 332, CLOSE_BRA = 333, ID = 334, STRING = 335, TOKEN_MAC = 336, NUMBER = 337, HEXASTRING = 338 }; #endif /* Tokens. */ #define SEND 258 #define SRC_ADDR 259 #define DST_ADDR 260 #define LENGTH 261 #define STEP 262 #define NORMAL 263 #define POISSON 264 #define UNIFORM 265 #define CONSTANT 266 #define OUTPUT_FILE 267 #define VERBOSE 268 #define RANDOM_SEED 269 #define ADDRESS 270 #define CONTROL 271 #define PROTOCOL_SIZE 272 #define FCS_SIZE 273 #define FORMAT_ERF 274 #define TOKEN_SIZE 275 #define DUMMY 276 #define PROTOCOL 277 #define PAYLOAD 278 #define RX_ERROR 279 #define FORMAT_PCAP 280 #define ATM_GFC 281 #define ATM_VPI 282 #define ATM_VCI 283 #define ATM_PT 284 #define ATM_CLP 285 #define AAL5_UU 286 #define AAL5_CPI 287 #define AAL5_CRC 288 #define ATM_TYPE 289 #define ATM_UNI 290 #define ATM_NNI 291 #define LOOP 292 #define TOKEN_GROUP 293 #define INTERFACE 294 #define IB_LOCAL 295 #define IB_GLOBAL 296 #define IB_LRH_VL 297 #define IB_LRH_LVER 298 #define IB_LRH_SLEVEL 299 #define IB_LRH_DLID 300 #define IB_LRH_SLID 301 #define IB_BTH_QP 302 #define IB_SRC_QP 303 #define IB_BTH_OPCODE 304 #define IB_BTH_PSN 305 #define IB_BTH_TVER 306 #define IB_RAW 307 #define IB_NON_IB 308 #define EOC 309 #define PACKET 310 #define PACKETS 311 #define TRAFFIC 312 #define COLON 313 #define TILDE 314 #define COMMA 315 #define OPTIONS 316 #define PLUS 317 #define PACKET_ETH802_3 318 #define PACKET_POS 319 #define OUTPUT_FORMAT 320 #define COUNTERS 321 #define PACKET_ETH_II 322 #define PACKET_ATM 323 #define PACKET_AAL5 324 #define WLEN 325 #define SNAP 326 #define PACKET_IB 327 #define OPEN_KEY 328 #define CLOSE_KEY 329 #define OPEN_PAR 330 #define CLOSE_PAR 331 #define OPEN_BRA 332 #define CLOSE_BRA 333 #define ID 334 #define STRING 335 #define TOKEN_MAC 336 #define NUMBER 337 #define HEXASTRING 338 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { /* Line 2068 of yacc.c */ #line 127 "gram.y" char *str; unsigned long l; void * distr; void * pload; void * list; void * command; /* Line 2068 of yacc.c */ #line 227 "gram.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif extern YYSTYPE yylval; .