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