| /* A Bison parser, made by GNU Bison 3.0.2. */ |
| |
| /* Bison interface for Yacc-like parsers in C |
| |
| Copyright (C) 1984, 1989-1990, 2000-2013 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 <http://www.gnu.org/licenses/>. */ |
| |
| /* 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. */ |
| |
| #ifndef YY_YY_READ_CONFIG_YY_H_INCLUDED |
| # define YY_YY_READ_CONFIG_YY_H_INCLUDED |
| /* Debug traces. */ |
| #ifndef YYDEBUG |
| # define YYDEBUG 0 |
| #endif |
| #if YYDEBUG |
| extern int yydebug; |
| #endif |
| |
| /* Token type. */ |
| #ifndef YYTOKENTYPE |
| # define YYTOKENTYPE |
| enum yytokentype |
| { |
| T_IPV4_ADDR = 258, |
| T_IPV4_IFACE = 259, |
| T_PORT = 260, |
| T_HASHSIZE = 261, |
| T_HASHLIMIT = 262, |
| T_MULTICAST = 263, |
| T_PATH = 264, |
| T_UNIX = 265, |
| T_REFRESH = 266, |
| T_IPV6_ADDR = 267, |
| T_IPV6_IFACE = 268, |
| T_IGNORE_UDP = 269, |
| T_IGNORE_ICMP = 270, |
| T_IGNORE_TRAFFIC = 271, |
| T_BACKLOG = 272, |
| T_GROUP = 273, |
| T_LOG = 274, |
| T_UDP = 275, |
| T_ICMP = 276, |
| T_IGMP = 277, |
| T_VRRP = 278, |
| T_TCP = 279, |
| T_IGNORE_PROTOCOL = 280, |
| T_LOCK = 281, |
| T_STRIP_NAT = 282, |
| T_BUFFER_SIZE_MAX_GROWN = 283, |
| T_EXPIRE = 284, |
| T_TIMEOUT = 285, |
| T_GENERAL = 286, |
| T_SYNC = 287, |
| T_STATS = 288, |
| T_RELAX_TRANSITIONS = 289, |
| T_BUFFER_SIZE = 290, |
| T_DELAY = 291, |
| T_SYNC_MODE = 292, |
| T_LISTEN_TO = 293, |
| T_FAMILY = 294, |
| T_RESEND_BUFFER_SIZE = 295, |
| T_ALARM = 296, |
| T_FTFW = 297, |
| T_CHECKSUM = 298, |
| T_WINDOWSIZE = 299, |
| T_ON = 300, |
| T_OFF = 301, |
| T_REPLICATE = 302, |
| T_FOR = 303, |
| T_IFACE = 304, |
| T_PURGE = 305, |
| T_RESEND_QUEUE_SIZE = 306, |
| T_ESTABLISHED = 307, |
| T_SYN_SENT = 308, |
| T_SYN_RECV = 309, |
| T_FIN_WAIT = 310, |
| T_CLOSE_WAIT = 311, |
| T_LAST_ACK = 312, |
| T_TIME_WAIT = 313, |
| T_CLOSE = 314, |
| T_LISTEN = 315, |
| T_SYSLOG = 316, |
| T_WRITE_THROUGH = 317, |
| T_STAT_BUFFER_SIZE = 318, |
| T_DESTROY_TIMEOUT = 319, |
| T_RCVBUFF = 320, |
| T_SNDBUFF = 321, |
| T_NOTRACK = 322, |
| T_POLL_SECS = 323, |
| T_FILTER = 324, |
| T_ADDRESS = 325, |
| T_PROTOCOL = 326, |
| T_STATE = 327, |
| T_ACCEPT = 328, |
| T_IGNORE = 329, |
| T_FROM = 330, |
| T_USERSPACE = 331, |
| T_KERNELSPACE = 332, |
| T_EVENT_ITER_LIMIT = 333, |
| T_DEFAULT = 334, |
| T_NETLINK_OVERRUN_RESYNC = 335, |
| T_NICE = 336, |
| T_IPV4_DEST_ADDR = 337, |
| T_IPV6_DEST_ADDR = 338, |
| T_SCHEDULER = 339, |
| T_TYPE = 340, |
| T_PRIO = 341, |
| T_NETLINK_EVENTS_RELIABLE = 342, |
| T_DISABLE_INTERNAL_CACHE = 343, |
| T_DISABLE_EXTERNAL_CACHE = 344, |
| T_ERROR_QUEUE_LENGTH = 345, |
| T_OPTIONS = 346, |
| T_TCP_WINDOW_TRACKING = 347, |
| T_EXPECT_SYNC = 348, |
| T_HELPER = 349, |
| T_HELPER_QUEUE_NUM = 350, |
| T_HELPER_QUEUE_LEN = 351, |
| T_HELPER_POLICY = 352, |
| T_HELPER_EXPECT_TIMEOUT = 353, |
| T_HELPER_EXPECT_MAX = 354, |
| T_SYSTEMD = 355, |
| T_IP = 356, |
| T_PATH_VAL = 357, |
| T_NUMBER = 358, |
| T_SIGNED_NUMBER = 359, |
| T_STRING = 360 |
| }; |
| #endif |
| /* Tokens. */ |
| #define T_IPV4_ADDR 258 |
| #define T_IPV4_IFACE 259 |
| #define T_PORT 260 |
| #define T_HASHSIZE 261 |
| #define T_HASHLIMIT 262 |
| #define T_MULTICAST 263 |
| #define T_PATH 264 |
| #define T_UNIX 265 |
| #define T_REFRESH 266 |
| #define T_IPV6_ADDR 267 |
| #define T_IPV6_IFACE 268 |
| #define T_IGNORE_UDP 269 |
| #define T_IGNORE_ICMP 270 |
| #define T_IGNORE_TRAFFIC 271 |
| #define T_BACKLOG 272 |
| #define T_GROUP 273 |
| #define T_LOG 274 |
| #define T_UDP 275 |
| #define T_ICMP 276 |
| #define T_IGMP 277 |
| #define T_VRRP 278 |
| #define T_TCP 279 |
| #define T_IGNORE_PROTOCOL 280 |
| #define T_LOCK 281 |
| #define T_STRIP_NAT 282 |
| #define T_BUFFER_SIZE_MAX_GROWN 283 |
| #define T_EXPIRE 284 |
| #define T_TIMEOUT 285 |
| #define T_GENERAL 286 |
| #define T_SYNC 287 |
| #define T_STATS 288 |
| #define T_RELAX_TRANSITIONS 289 |
| #define T_BUFFER_SIZE 290 |
| #define T_DELAY 291 |
| #define T_SYNC_MODE 292 |
| #define T_LISTEN_TO 293 |
| #define T_FAMILY 294 |
| #define T_RESEND_BUFFER_SIZE 295 |
| #define T_ALARM 296 |
| #define T_FTFW 297 |
| #define T_CHECKSUM 298 |
| #define T_WINDOWSIZE 299 |
| #define T_ON 300 |
| #define T_OFF 301 |
| #define T_REPLICATE 302 |
| #define T_FOR 303 |
| #define T_IFACE 304 |
| #define T_PURGE 305 |
| #define T_RESEND_QUEUE_SIZE 306 |
| #define T_ESTABLISHED 307 |
| #define T_SYN_SENT 308 |
| #define T_SYN_RECV 309 |
| #define T_FIN_WAIT 310 |
| #define T_CLOSE_WAIT 311 |
| #define T_LAST_ACK 312 |
| #define T_TIME_WAIT 313 |
| #define T_CLOSE 314 |
| #define T_LISTEN 315 |
| #define T_SYSLOG 316 |
| #define T_WRITE_THROUGH 317 |
| #define T_STAT_BUFFER_SIZE 318 |
| #define T_DESTROY_TIMEOUT 319 |
| #define T_RCVBUFF 320 |
| #define T_SNDBUFF 321 |
| #define T_NOTRACK 322 |
| #define T_POLL_SECS 323 |
| #define T_FILTER 324 |
| #define T_ADDRESS 325 |
| #define T_PROTOCOL 326 |
| #define T_STATE 327 |
| #define T_ACCEPT 328 |
| #define T_IGNORE 329 |
| #define T_FROM 330 |
| #define T_USERSPACE 331 |
| #define T_KERNELSPACE 332 |
| #define T_EVENT_ITER_LIMIT 333 |
| #define T_DEFAULT 334 |
| #define T_NETLINK_OVERRUN_RESYNC 335 |
| #define T_NICE 336 |
| #define T_IPV4_DEST_ADDR 337 |
| #define T_IPV6_DEST_ADDR 338 |
| #define T_SCHEDULER 339 |
| #define T_TYPE 340 |
| #define T_PRIO 341 |
| #define T_NETLINK_EVENTS_RELIABLE 342 |
| #define T_DISABLE_INTERNAL_CACHE 343 |
| #define T_DISABLE_EXTERNAL_CACHE 344 |
| #define T_ERROR_QUEUE_LENGTH 345 |
| #define T_OPTIONS 346 |
| #define T_TCP_WINDOW_TRACKING 347 |
| #define T_EXPECT_SYNC 348 |
| #define T_HELPER 349 |
| #define T_HELPER_QUEUE_NUM 350 |
| #define T_HELPER_QUEUE_LEN 351 |
| #define T_HELPER_POLICY 352 |
| #define T_HELPER_EXPECT_TIMEOUT 353 |
| #define T_HELPER_EXPECT_MAX 354 |
| #define T_SYSTEMD 355 |
| #define T_IP 356 |
| #define T_PATH_VAL 357 |
| #define T_NUMBER 358 |
| #define T_SIGNED_NUMBER 359 |
| #define T_STRING 360 |
| |
| /* Value type. */ |
| #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
| typedef union YYSTYPE YYSTYPE; |
| union YYSTYPE |
| { |
| #line 66 "read_config_yy.y" /* yacc.c:1909 */ |
| |
| int val; |
| char *string; |
| |
| #line 269 "read_config_yy.h" /* yacc.c:1909 */ |
| }; |
| # define YYSTYPE_IS_TRIVIAL 1 |
| # define YYSTYPE_IS_DECLARED 1 |
| #endif |
| |
| |
| extern YYSTYPE yylval; |
| |
| int yyparse (void); |
| |
| #endif /* !YY_YY_READ_CONFIG_YY_H_INCLUDED */ |