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