/* A Bison parser, made by GNU Bison 2.3.  */

/* Skeleton interface for Bison's Yacc-like parsers in C

   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
   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 2, 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, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301, USA.  */

/* 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 {
     FORWARD = 258,
     FORWARD_TCP = 259,
     FORWARD_TLS = 260,
     FORWARD_UDP = 261,
     SEND = 262,
     SEND_TCP = 263,
     DROP = 264,
     RETURN = 265,
     BREAK = 266,
     LOG_TOK = 267,
     ERROR = 268,
     ROUTE = 269,
     ROUTE_FAILURE = 270,
     ROUTE_ONREPLY = 271,
     ROUTE_BRANCH = 272,
     ROUTE_SEND = 273,
     EXEC = 274,
     SET_HOST = 275,
     SET_HOSTPORT = 276,
     PREFIX = 277,
     STRIP = 278,
     STRIP_TAIL = 279,
     APPEND_BRANCH = 280,
     SET_USER = 281,
     SET_USERPASS = 282,
     SET_PORT = 283,
     SET_URI = 284,
     REVERT_URI = 285,
     FORCE_RPORT = 286,
     FORCE_TCP_ALIAS = 287,
     IF = 288,
     ELSE = 289,
     SET_ADV_ADDRESS = 290,
     SET_ADV_PORT = 291,
     FORCE_SEND_SOCKET = 292,
     URIHOST = 293,
     URIPORT = 294,
     MAX_LEN = 295,
     SETFLAG = 296,
     RESETFLAG = 297,
     ISFLAGSET = 298,
     SETAVPFLAG = 299,
     RESETAVPFLAG = 300,
     ISAVPFLAGSET = 301,
     METHOD = 302,
     URI = 303,
     FROM_URI = 304,
     TO_URI = 305,
     SRCIP = 306,
     SRCPORT = 307,
     DSTIP = 308,
     DSTPORT = 309,
     TOIP = 310,
     TOPORT = 311,
     SNDIP = 312,
     SNDPORT = 313,
     SNDPROTO = 314,
     SNDAF = 315,
     PROTO = 316,
     AF = 317,
     MYSELF = 318,
     MSGLEN = 319,
     RETCODE = 320,
     UDP = 321,
     TCP = 322,
     TLS = 323,
     DEBUG_V = 324,
     FORK = 325,
     LOGSTDERROR = 326,
     LOGFACILITY = 327,
     LISTEN = 328,
     ALIAS = 329,
     DNS = 330,
     REV_DNS = 331,
     DNS_TRY_IPV6 = 332,
     DNS_TRY_NAPTR = 333,
     DNS_SRV_LB = 334,
     DNS_UDP_PREF = 335,
     DNS_TCP_PREF = 336,
     DNS_TLS_PREF = 337,
     DNS_RETR_TIME = 338,
     DNS_RETR_NO = 339,
     DNS_SERVERS_NO = 340,
     DNS_USE_SEARCH = 341,
     DNS_SEARCH_FMATCH = 342,
     DNS_USE_CACHE = 343,
     DNS_USE_FAILOVER = 344,
     DNS_CACHE_FLAGS = 345,
     DNS_CACHE_NEG_TTL = 346,
     DNS_CACHE_MIN_TTL = 347,
     DNS_CACHE_MAX_TTL = 348,
     DNS_CACHE_MEM = 349,
     DNS_CACHE_GC_INT = 350,
     DNS_CACHE_DEL_NONEXP = 351,
     USE_DST_BLST = 352,
     DST_BLST_MEM = 353,
     DST_BLST_TTL = 354,
     DST_BLST_GC_INT = 355,
     PORT = 356,
     STAT = 357,
     CHILDREN = 358,
     CHECK_VIA = 359,
     PHONE2TEL = 360,
     SYN_BRANCH = 361,
     MEMLOG = 362,
     MEMDBG = 363,
     SIP_WARNING = 364,
     SERVER_SIGNATURE = 365,
     REPLY_TO_VIA = 366,
     LOADMODULE = 367,
     MODPARAM = 368,
     MAXBUFFER = 369,
     USER = 370,
     GROUP = 371,
     CHROOT = 372,
     WDIR = 373,
     MHOMED = 374,
     DISABLE_TCP = 375,
     TCP_ACCEPT_ALIASES = 376,
     TCP_CHILDREN = 377,
     TCP_CONNECT_TIMEOUT = 378,
     TCP_SEND_TIMEOUT = 379,
     TCP_CON_LIFETIME = 380,
     TCP_POLL_METHOD = 381,
     TCP_MAX_CONNECTIONS = 382,
     TCP_SOURCE_IPV4 = 383,
     TCP_SOURCE_IPV6 = 384,
     TCP_OPT_FD_CACHE = 385,
     TCP_OPT_BUF_WRITE = 386,
     TCP_OPT_CONN_WQ_MAX = 387,
     TCP_OPT_WQ_MAX = 388,
     TCP_OPT_DEFER_ACCEPT = 389,
     TCP_OPT_DELAYED_ACK = 390,
     TCP_OPT_SYNCNT = 391,
     TCP_OPT_LINGER2 = 392,
     TCP_OPT_KEEPALIVE = 393,
     TCP_OPT_KEEPIDLE = 394,
     TCP_OPT_KEEPINTVL = 395,
     TCP_OPT_KEEPCNT = 396,
     DISABLE_TLS = 397,
     ENABLE_TLS = 398,
     TLSLOG = 399,
     TLS_PORT_NO = 400,
     TLS_METHOD = 401,
     TLS_HANDSHAKE_TIMEOUT = 402,
     TLS_SEND_TIMEOUT = 403,
     SSLv23 = 404,
     SSLv2 = 405,
     SSLv3 = 406,
     TLSv1 = 407,
     TLS_VERIFY = 408,
     TLS_REQUIRE_CERTIFICATE = 409,
     TLS_CERTIFICATE = 410,
     TLS_PRIVATE_KEY = 411,
     TLS_CA_LIST = 412,
     ADVERTISED_ADDRESS = 413,
     ADVERTISED_PORT = 414,
     DISABLE_CORE = 415,
     OPEN_FD_LIMIT = 416,
     SHM_FORCE_ALLOC = 417,
     MLOCK_PAGES = 418,
     REAL_TIME = 419,
     RT_PRIO = 420,
     RT_POLICY = 421,
     RT_TIMER1_PRIO = 422,
     RT_TIMER1_POLICY = 423,
     RT_TIMER2_PRIO = 424,
     RT_TIMER2_POLICY = 425,
     MCAST_LOOPBACK = 426,
     MCAST_TTL = 427,
     TOS = 428,
     PMTU_DISCOVERY = 429,
     KILL_TIMEOUT = 430,
     FLAGS_DECL = 431,
     AVPFLAGS_DECL = 432,
     ATTR_MARK = 433,
     SELECT_MARK = 434,
     ATTR_FROM = 435,
     ATTR_TO = 436,
     ATTR_FROMURI = 437,
     ATTR_TOURI = 438,
     ATTR_FROMUSER = 439,
     ATTR_TOUSER = 440,
     ATTR_FROMDOMAIN = 441,
     ATTR_TODOMAIN = 442,
     ATTR_GLOBAL = 443,
     ADDEQ = 444,
     STUN_REFRESH_INTERVAL = 445,
     STUN_ALLOW_STUN = 446,
     STUN_ALLOW_FP = 447,
     EQUAL = 448,
     EQUAL_T = 449,
     GT = 450,
     LT = 451,
     GTE = 452,
     LTE = 453,
     DIFF = 454,
     MATCH = 455,
     LOG_OR = 456,
     LOG_AND = 457,
     BIN_OR = 458,
     BIN_AND = 459,
     MINUS = 460,
     PLUS = 461,
     NOT = 462,
     NUMBER = 463,
     ID = 464,
     STRING = 465,
     IPV6ADDR = 466,
     COMMA = 467,
     SEMICOLON = 468,
     RPAREN = 469,
     LPAREN = 470,
     LBRACE = 471,
     RBRACE = 472,
     LBRACK = 473,
     RBRACK = 474,
     SLASH = 475,
     DOT = 476,
     CR = 477,
     COLON = 478,
     STAR = 479
   };
#endif
/* Tokens.  */
#define FORWARD 258
#define FORWARD_TCP 259
#define FORWARD_TLS 260
#define FORWARD_UDP 261
#define SEND 262
#define SEND_TCP 263
#define DROP 264
#define RETURN 265
#define BREAK 266
#define LOG_TOK 267
#define ERROR 268
#define ROUTE 269
#define ROUTE_FAILURE 270
#define ROUTE_ONREPLY 271
#define ROUTE_BRANCH 272
#define ROUTE_SEND 273
#define EXEC 274
#define SET_HOST 275
#define SET_HOSTPORT 276
#define PREFIX 277
#define STRIP 278
#define STRIP_TAIL 279
#define APPEND_BRANCH 280
#define SET_USER 281
#define SET_USERPASS 282
#define SET_PORT 283
#define SET_URI 284
#define REVERT_URI 285
#define FORCE_RPORT 286
#define FORCE_TCP_ALIAS 287
#define IF 288
#define ELSE 289
#define SET_ADV_ADDRESS 290
#define SET_ADV_PORT 291
#define FORCE_SEND_SOCKET 292
#define URIHOST 293
#define URIPORT 294
#define MAX_LEN 295
#define SETFLAG 296
#define RESETFLAG 297
#define ISFLAGSET 298
#define SETAVPFLAG 299
#define RESETAVPFLAG 300
#define ISAVPFLAGSET 301
#define METHOD 302
#define URI 303
#define FROM_URI 304
#define TO_URI 305
#define SRCIP 306
#define SRCPORT 307
#define DSTIP 308
#define DSTPORT 309
#define TOIP 310
#define TOPORT 311
#define SNDIP 312
#define SNDPORT 313
#define SNDPROTO 314
#define SNDAF 315
#define PROTO 316
#define AF 317
#define MYSELF 318
#define MSGLEN 319
#define RETCODE 320
#define UDP 321
#define TCP 322
#define TLS 323
#define DEBUG_V 324
#define FORK 325
#define LOGSTDERROR 326
#define LOGFACILITY 327
#define LISTEN 328
#define ALIAS 329
#define DNS 330
#define REV_DNS 331
#define DNS_TRY_IPV6 332
#define DNS_TRY_NAPTR 333
#define DNS_SRV_LB 334
#define DNS_UDP_PREF 335
#define DNS_TCP_PREF 336
#define DNS_TLS_PREF 337
#define DNS_RETR_TIME 338
#define DNS_RETR_NO 339
#define DNS_SERVERS_NO 340
#define DNS_USE_SEARCH 341
#define DNS_SEARCH_FMATCH 342
#define DNS_USE_CACHE 343
#define DNS_USE_FAILOVER 344
#define DNS_CACHE_FLAGS 345
#define DNS_CACHE_NEG_TTL 346
#define DNS_CACHE_MIN_TTL 347
#define DNS_CACHE_MAX_TTL 348
#define DNS_CACHE_MEM 349
#define DNS_CACHE_GC_INT 350
#define DNS_CACHE_DEL_NONEXP 351
#define USE_DST_BLST 352
#define DST_BLST_MEM 353
#define DST_BLST_TTL 354
#define DST_BLST_GC_INT 355
#define PORT 356
#define STAT 357
#define CHILDREN 358
#define CHECK_VIA 359
#define PHONE2TEL 360
#define SYN_BRANCH 361
#define MEMLOG 362
#define MEMDBG 363
#define SIP_WARNING 364
#define SERVER_SIGNATURE 365
#define REPLY_TO_VIA 366
#define LOADMODULE 367
#define MODPARAM 368
#define MAXBUFFER 369
#define USER 370
#define GROUP 371
#define CHROOT 372
#define WDIR 373
#define MHOMED 374
#define DISABLE_TCP 375
#define TCP_ACCEPT_ALIASES 376
#define TCP_CHILDREN 377
#define TCP_CONNECT_TIMEOUT 378
#define TCP_SEND_TIMEOUT 379
#define TCP_CON_LIFETIME 380
#define TCP_POLL_METHOD 381
#define TCP_MAX_CONNECTIONS 382
#define TCP_SOURCE_IPV4 383
#define TCP_SOURCE_IPV6 384
#define TCP_OPT_FD_CACHE 385
#define TCP_OPT_BUF_WRITE 386
#define TCP_OPT_CONN_WQ_MAX 387
#define TCP_OPT_WQ_MAX 388
#define TCP_OPT_DEFER_ACCEPT 389
#define TCP_OPT_DELAYED_ACK 390
#define TCP_OPT_SYNCNT 391
#define TCP_OPT_LINGER2 392
#define TCP_OPT_KEEPALIVE 393
#define TCP_OPT_KEEPIDLE 394
#define TCP_OPT_KEEPINTVL 395
#define TCP_OPT_KEEPCNT 396
#define DISABLE_TLS 397
#define ENABLE_TLS 398
#define TLSLOG 399
#define TLS_PORT_NO 400
#define TLS_METHOD 401
#define TLS_HANDSHAKE_TIMEOUT 402
#define TLS_SEND_TIMEOUT 403
#define SSLv23 404
#define SSLv2 405
#define SSLv3 406
#define TLSv1 407
#define TLS_VERIFY 408
#define TLS_REQUIRE_CERTIFICATE 409
#define TLS_CERTIFICATE 410
#define TLS_PRIVATE_KEY 411
#define TLS_CA_LIST 412
#define ADVERTISED_ADDRESS 413
#define ADVERTISED_PORT 414
#define DISABLE_CORE 415
#define OPEN_FD_LIMIT 416
#define SHM_FORCE_ALLOC 417
#define MLOCK_PAGES 418
#define REAL_TIME 419
#define RT_PRIO 420
#define RT_POLICY 421
#define RT_TIMER1_PRIO 422
#define RT_TIMER1_POLICY 423
#define RT_TIMER2_PRIO 424
#define RT_TIMER2_POLICY 425
#define MCAST_LOOPBACK 426
#define MCAST_TTL 427
#define TOS 428
#define PMTU_DISCOVERY 429
#define KILL_TIMEOUT 430
#define FLAGS_DECL 431
#define AVPFLAGS_DECL 432
#define ATTR_MARK 433
#define SELECT_MARK 434
#define ATTR_FROM 435
#define ATTR_TO 436
#define ATTR_FROMURI 437
#define ATTR_TOURI 438
#define ATTR_FROMUSER 439
#define ATTR_TOUSER 440
#define ATTR_FROMDOMAIN 441
#define ATTR_TODOMAIN 442
#define ATTR_GLOBAL 443
#define ADDEQ 444
#define STUN_REFRESH_INTERVAL 445
#define STUN_ALLOW_STUN 446
#define STUN_ALLOW_FP 447
#define EQUAL 448
#define EQUAL_T 449
#define GT 450
#define LT 451
#define GTE 452
#define LTE 453
#define DIFF 454
#define MATCH 455
#define LOG_OR 456
#define LOG_AND 457
#define BIN_OR 458
#define BIN_AND 459
#define MINUS 460
#define PLUS 461
#define NOT 462
#define NUMBER 463
#define ID 464
#define STRING 465
#define IPV6ADDR 466
#define COMMA 467
#define SEMICOLON 468
#define RPAREN 469
#define LPAREN 470
#define LBRACE 471
#define RBRACE 472
#define LBRACK 473
#define RBRACK 474
#define SLASH 475
#define DOT 476
#define CR 477
#define COLON 478
#define STAR 479




#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 189 "cfg.y"
{
	long intval;
	unsigned long uval;
	char* strval;
	struct expr* expr;
	struct action* action;
	struct net* ipnet;
	struct ip_addr* ipaddr;
	struct socket_id* sockid;
	struct avp_spec* attr;
	select_t* select;
}
/* Line 1489 of yacc.c.  */
#line 510 "cfg.tab.h"
	YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif

extern YYSTYPE yylval;

