libnl
3.2.3
|
00001 /* A Bison parser, made by GNU Bison 2.4.3. */ 00002 00003 /* Skeleton interface for Bison's Yacc-like parsers in C 00004 00005 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 00006 2009, 2010 Free Software Foundation, Inc. 00007 00008 This program is free software: you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation, either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00020 00021 /* As a special exception, you may create a larger work that contains 00022 part or all of the Bison parser skeleton and distribute that work 00023 under terms of your choice, so long as that work isn't itself a 00024 parser generator using the skeleton or a modified version thereof 00025 as a parser skeleton. Alternatively, if you modify or redistribute 00026 the parser skeleton itself, you may (at your option) remove this 00027 special exception, which will cause the skeleton and the resulting 00028 Bison output files to be licensed under the GNU General Public 00029 License without this special exception. 00030 00031 This special exception was added by the Free Software Foundation in 00032 version 2.2 of Bison. */ 00033 00034 00035 /* Tokens. */ 00036 #ifndef YYTOKENTYPE 00037 # define YYTOKENTYPE 00038 /* Put the tokens into the symbol table, so that GDB and other debuggers 00039 know about them. */ 00040 enum yytokentype { 00041 ERROR = 258, 00042 LOGIC = 259, 00043 NOT = 260, 00044 OPERAND = 261, 00045 NUMBER = 262, 00046 ALIGN = 263, 00047 LAYER = 264, 00048 KW_OPEN = 265, 00049 KW_CLOSE = 266, 00050 KW_PLUS = 267, 00051 KW_MASK = 268, 00052 KW_SHIFT = 269, 00053 KW_AT = 270, 00054 EMATCH_CMP = 271, 00055 EMATCH_NBYTE = 272, 00056 EMATCH_TEXT = 273, 00057 EMATCH_META = 274, 00058 KW_EQ = 275, 00059 KW_GT = 276, 00060 KW_LT = 277, 00061 KW_FROM = 278, 00062 KW_TO = 279, 00063 META_RANDOM = 280, 00064 META_LOADAVG_0 = 281, 00065 META_LOADAVG_1 = 282, 00066 META_LOADAVG_2 = 283, 00067 META_DEV = 284, 00068 META_PRIO = 285, 00069 META_PROTO = 286, 00070 META_PKTTYPE = 287, 00071 META_PKTLEN = 288, 00072 META_DATALEN = 289, 00073 META_MACLEN = 290, 00074 META_MARK = 291, 00075 META_TCINDEX = 292, 00076 META_RTCLASSID = 293, 00077 META_RTIIF = 294, 00078 META_SK_FAMILY = 295, 00079 META_SK_STATE = 296, 00080 META_SK_REUSE = 297, 00081 META_SK_REFCNT = 298, 00082 META_SK_RCVBUF = 299, 00083 META_SK_SNDBUF = 300, 00084 META_SK_SHUTDOWN = 301, 00085 META_SK_PROTO = 302, 00086 META_SK_TYPE = 303, 00087 META_SK_RMEM_ALLOC = 304, 00088 META_SK_WMEM_ALLOC = 305, 00089 META_SK_WMEM_QUEUED = 306, 00090 META_SK_RCV_QLEN = 307, 00091 META_SK_SND_QLEN = 308, 00092 META_SK_ERR_QLEN = 309, 00093 META_SK_FORWARD_ALLOCS = 310, 00094 META_SK_ALLOCS = 311, 00095 META_SK_ROUTE_CAPS = 312, 00096 META_SK_HASH = 313, 00097 META_SK_LINGERTIME = 314, 00098 META_SK_ACK_BACKLOG = 315, 00099 META_SK_MAX_ACK_BACKLOG = 316, 00100 META_SK_PRIO = 317, 00101 META_SK_RCVLOWAT = 318, 00102 META_SK_RCVTIMEO = 319, 00103 META_SK_SNDTIMEO = 320, 00104 META_SK_SENDMSG_OFF = 321, 00105 META_SK_WRITE_PENDING = 322, 00106 META_VLAN = 323, 00107 META_RXHASH = 324, 00108 META_DEVNAME = 325, 00109 META_SK_BOUND_IF = 326, 00110 STR = 327, 00111 QUOTED = 328 00112 }; 00113 #endif 00114 /* Tokens. */ 00115 #define ERROR 258 00116 #define LOGIC 259 00117 #define NOT 260 00118 #define OPERAND 261 00119 #define NUMBER 262 00120 #define ALIGN 263 00121 #define LAYER 264 00122 #define KW_OPEN 265 00123 #define KW_CLOSE 266 00124 #define KW_PLUS 267 00125 #define KW_MASK 268 00126 #define KW_SHIFT 269 00127 #define KW_AT 270 00128 #define EMATCH_CMP 271 00129 #define EMATCH_NBYTE 272 00130 #define EMATCH_TEXT 273 00131 #define EMATCH_META 274 00132 #define KW_EQ 275 00133 #define KW_GT 276 00134 #define KW_LT 277 00135 #define KW_FROM 278 00136 #define KW_TO 279 00137 #define META_RANDOM 280 00138 #define META_LOADAVG_0 281 00139 #define META_LOADAVG_1 282 00140 #define META_LOADAVG_2 283 00141 #define META_DEV 284 00142 #define META_PRIO 285 00143 #define META_PROTO 286 00144 #define META_PKTTYPE 287 00145 #define META_PKTLEN 288 00146 #define META_DATALEN 289 00147 #define META_MACLEN 290 00148 #define META_MARK 291 00149 #define META_TCINDEX 292 00150 #define META_RTCLASSID 293 00151 #define META_RTIIF 294 00152 #define META_SK_FAMILY 295 00153 #define META_SK_STATE 296 00154 #define META_SK_REUSE 297 00155 #define META_SK_REFCNT 298 00156 #define META_SK_RCVBUF 299 00157 #define META_SK_SNDBUF 300 00158 #define META_SK_SHUTDOWN 301 00159 #define META_SK_PROTO 302 00160 #define META_SK_TYPE 303 00161 #define META_SK_RMEM_ALLOC 304 00162 #define META_SK_WMEM_ALLOC 305 00163 #define META_SK_WMEM_QUEUED 306 00164 #define META_SK_RCV_QLEN 307 00165 #define META_SK_SND_QLEN 308 00166 #define META_SK_ERR_QLEN 309 00167 #define META_SK_FORWARD_ALLOCS 310 00168 #define META_SK_ALLOCS 311 00169 #define META_SK_ROUTE_CAPS 312 00170 #define META_SK_HASH 313 00171 #define META_SK_LINGERTIME 314 00172 #define META_SK_ACK_BACKLOG 315 00173 #define META_SK_MAX_ACK_BACKLOG 316 00174 #define META_SK_PRIO 317 00175 #define META_SK_RCVLOWAT 318 00176 #define META_SK_RCVTIMEO 319 00177 #define META_SK_SNDTIMEO 320 00178 #define META_SK_SENDMSG_OFF 321 00179 #define META_SK_WRITE_PENDING 322 00180 #define META_VLAN 323 00181 #define META_RXHASH 324 00182 #define META_DEVNAME 325 00183 #define META_SK_BOUND_IF 326 00184 #define STR 327 00185 #define QUOTED 328 00186 00187 00188 00189 00190 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00191 typedef union YYSTYPE 00192 { 00193 00194 /* Line 1685 of yacc.c */ 00195 #line 39 "route/cls/ematch_syntax.y" 00196 00197 struct tcf_em_cmp cmp; 00198 struct ematch_quoted q; 00199 struct rtnl_ematch * e; 00200 struct rtnl_pktloc * loc; 00201 struct rtnl_meta_value *mv; 00202 uint32_t i; 00203 uint64_t i64; 00204 char * s; 00205 00206 00207 00208 /* Line 1685 of yacc.c */ 00209 #line 210 "route/cls/ematch_syntax.h" 00210 } YYSTYPE; 00211 # define YYSTYPE_IS_TRIVIAL 1 00212 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00213 # define YYSTYPE_IS_DECLARED 1 00214 #endif 00215 00216 00217 00218