Statistics
| Branch: | Revision:

iof-bird / bird-2.0.1 / obj / conf / cf-parse.tab.h @ 2b5ca73a

History | View | Annotate | Download (11.3 KB)

1
/* A Bison parser, made by GNU Bison 3.0.4.  */
2

    
3
/* Bison interface for Yacc-like parsers in C
4

5
   Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
6

7
   This program is free software: you can redistribute it and/or modify
8
   it under the terms of the GNU General Public License as published by
9
   the Free Software Foundation, either version 3 of the License, or
10
   (at your option) any later version.
11

12
   This program is distributed in the hope that it will be useful,
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
   GNU General Public License for more details.
16

17
   You should have received a copy of the GNU General Public License
18
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19

    
20
/* As a special exception, you may create a larger work that contains
21
   part or all of the Bison parser skeleton and distribute that work
22
   under terms of your choice, so long as that work isn't itself a
23
   parser generator using the skeleton or a modified version thereof
24
   as a parser skeleton.  Alternatively, if you modify or redistribute
25
   the parser skeleton itself, you may (at your option) remove this
26
   special exception, which will cause the skeleton and the resulting
27
   Bison output files to be licensed under the GNU General Public
28
   License without this special exception.
29

30
   This special exception was added by the Free Software Foundation in
31
   version 2.2 of Bison.  */
32

    
33
#ifndef YY_CF_OBJ_CONF_CF_PARSE_TAB_H_INCLUDED
34
# define YY_CF_OBJ_CONF_CF_PARSE_TAB_H_INCLUDED
35
/* Debug traces.  */
36
#ifndef YYDEBUG
37
# define YYDEBUG 0
38
#endif
39
#if YYDEBUG
40
extern int cf_debug;
41
#endif
42

    
43
/* Token type.  */
44
#ifndef YYTOKENTYPE
45
# define YYTOKENTYPE
46
  enum yytokentype
47
  {
48
    END = 258,
49
    CLI_MARKER = 259,
50
    INVALID_TOKEN = 260,
51
    ELSECOL = 261,
52
    DDOT = 262,
53
    GEQ = 263,
54
    LEQ = 264,
55
    NEQ = 265,
56
    AND = 266,
57
    OR = 267,
58
    PO = 268,
59
    PC = 269,
60
    NUM = 270,
61
    ENUM = 271,
62
    IP4 = 272,
63
    IP6 = 273,
64
    VPN_RD = 274,
65
    SYM = 275,
66
    TEXT = 276,
67
    PREFIX_DUMMY = 277,
68
    NMA = 278,
69
    DEFINE = 279,
70
    ON = 280,
71
    OFF = 281,
72
    YES = 282,
73
    NO = 283,
74
    S = 284,
75
    MS = 285,
76
    US = 286,
77
    PORT = 287,
78
    VPN = 288,
79
    MPLS = 289,
80
    FLOW4 = 290,
81
    FLOW6 = 291,
82
    DST = 292,
83
    SRC = 293,
84
    PROTO = 294,
85
    NEXT = 295,
86
    HEADER = 296,
87
    DPORT = 297,
88
    SPORT = 298,
89
    ICMP = 299,
90
    TYPE = 300,
91
    CODE = 301,
92
    TCP = 302,
93
    FLAGS = 303,
94
    LENGTH = 304,
95
    DSCP = 305,
96
    DONT_FRAGMENT = 306,
97
    IS_FRAGMENT = 307,
98
    FIRST_FRAGMENT = 308,
99
    LAST_FRAGMENT = 309,
100
    FRAGMENT = 310,
101
    LABEL = 311,
102
    OFFSET = 312,
103
    FUNCTION = 313,
104
    PRINT = 314,
105
    PRINTN = 315,
106
    UNSET = 316,
107
    RETURN = 317,
108
    ACCEPT = 318,
109
    REJECT = 319,
110
    ERROR = 320,
111
    QUITBIRD = 321,
112
    INT = 322,
113
    BOOL = 323,
114
    IP = 324,
115
    PREFIX = 325,
116
    RD = 326,
117
    PAIR = 327,
118
    QUAD = 328,
119
    EC = 329,
120
    LC = 330,
121
    SET = 331,
122
    STRING = 332,
123
    BGPMASK = 333,
124
    BGPPATH = 334,
125
    CLIST = 335,
126
    ECLIST = 336,
127
    LCLIST = 337,
128
    IF = 338,
129
    THEN = 339,
130
    ELSE = 340,
131
    CASE = 341,
132
    TRUE = 342,
133
    FALSE = 343,
134
    RT = 344,
135
    RO = 345,
136
    UNKNOWN = 346,
137
    GENERIC = 347,
138
    FROM = 348,
139
    GW = 349,
140
    NET = 350,
141
    MASK = 351,
142
    SOURCE = 352,
143
    SCOPE = 353,
144
    DEST = 354,
145
    IFNAME = 355,
146
    IFINDEX = 356,
147
    PREFERENCE = 357,
148
    ROA_CHECK = 358,
149
    ASN = 359,
150
    IS_V4 = 360,
151
    IS_V6 = 361,
152
    LEN = 362,
153
    MAXLEN = 363,
154
    DEFINED = 364,
155
    ADD = 365,
156
    DELETE = 366,
157
    CONTAINS = 367,
158
    RESET = 368,
159
    PREPEND = 369,
160
    FIRST = 370,
161
    LAST = 371,
162
    LAST_NONAGGREGATED = 372,
163
    MATCH = 373,
164
    EMPTY = 374,
165
    FILTER = 375,
166
    WHERE = 376,
167
    EVAL = 377,
168
    BT_ASSERT = 378,
169
    BT_TEST_SUITE = 379,
170
    FORMAT = 380,
171
    ROUTER = 381,
172
    ID = 382,
173
    PROTOCOL = 383,
174
    TEMPLATE = 384,
175
    DISABLED = 385,
176
    DEBUG = 386,
177
    ALL = 387,
178
    DIRECT = 388,
179
    INTERFACE = 389,
180
    IMPORT = 390,
181
    EXPORT = 391,
182
    NONE = 392,
183
    VRF = 393,
184
    TABLE = 394,
185
    STATES = 395,
186
    ROUTES = 396,
187
    FILTERS = 397,
188
    IPV4 = 398,
189
    IPV6 = 399,
190
    VPN4 = 400,
191
    VPN6 = 401,
192
    ROA4 = 402,
193
    ROA6 = 403,
194
    RECEIVE = 404,
195
    LIMIT = 405,
196
    ACTION = 406,
197
    WARN = 407,
198
    BLOCK = 408,
199
    RESTART = 409,
200
    DISABLE = 410,
201
    KEEP = 411,
202
    FILTERED = 412,
203
    PASSWORD = 413,
204
    PASSIVE = 414,
205
    TO = 415,
206
    EVENTS = 416,
207
    PACKETS = 417,
208
    PROTOCOLS = 418,
209
    INTERFACES = 419,
210
    ALGORITHM = 420,
211
    KEYED = 421,
212
    HMAC = 422,
213
    MD5 = 423,
214
    SHA1 = 424,
215
    SHA256 = 425,
216
    SHA384 = 426,
217
    SHA512 = 427,
218
    PRIMARY = 428,
219
    STATS = 429,
220
    COUNT = 430,
221
    BY = 431,
222
    FOR = 432,
223
    COMMANDS = 433,
224
    PREEXPORT = 434,
225
    NOEXPORT = 435,
226
    GENERATE = 436,
227
    BGP = 437,
228
    PASSWORDS = 438,
229
    DESCRIPTION = 439,
230
    SORTED = 440,
231
    RELOAD = 441,
232
    IN = 442,
233
    OUT = 443,
234
    MRTDUMP = 444,
235
    MESSAGES = 445,
236
    RESTRICT = 446,
237
    MEMORY = 447,
238
    IGP_METRIC = 448,
239
    CLASS = 449,
240
    TIMEFORMAT = 450,
241
    ISO = 451,
242
    SHORT = 452,
243
    LONG = 453,
244
    ROUTE = 454,
245
    BASE = 455,
246
    LOG = 456,
247
    GRACEFUL = 457,
248
    WAIT = 458,
249
    MAX = 459,
250
    FLUSH = 460,
251
    AS = 461,
252
    IPV4_MC = 462,
253
    IPV4_MPLS = 463,
254
    IPV6_MC = 464,
255
    IPV6_MPLS = 465,
256
    VPN4_MC = 466,
257
    VPN4_MPLS = 467,
258
    VPN6_MC = 468,
259
    VPN6_MPLS = 469,
260
    PRI = 470,
261
    SEC = 471,
262
    SHOW = 472,
263
    STATUS = 473,
264
    SUMMARY = 474,
265
    SYMBOLS = 475,
266
    DUMP = 476,
267
    RESOURCES = 477,
268
    SOCKETS = 478,
269
    NEIGHBORS = 479,
270
    ATTRIBUTES = 480,
271
    ECHO = 481,
272
    ENABLE = 482,
273
    BFD = 483,
274
    MIN = 484,
275
    IDLE = 485,
276
    RX = 486,
277
    TX = 487,
278
    INTERVAL = 488,
279
    MULTIPLIER = 489,
280
    MULTIHOP = 490,
281
    NEIGHBOR = 491,
282
    DEV = 492,
283
    LOCAL = 493,
284
    AUTHENTICATION = 494,
285
    SIMPLE = 495,
286
    METICULOUS = 496,
287
    SESSIONS = 497,
288
    BABEL = 498,
289
    METRIC = 499,
290
    RXCOST = 500,
291
    HELLO = 501,
292
    UPDATE = 502,
293
    WIRED = 503,
294
    WIRELESS = 504,
295
    BUFFER = 505,
296
    CHECK = 506,
297
    LINK = 507,
298
    BABEL_METRIC = 508,
299
    HOP = 509,
300
    ENTRIES = 510,
301
    HOLD = 511,
302
    TIME = 512,
303
    CONNECT = 513,
304
    RETRY = 514,
305
    KEEPALIVE = 515,
306
    STARTUP = 516,
307
    VIA = 517,
308
    SELF = 518,
309
    DEFAULT = 519,
310
    PATH = 520,
311
    START = 521,
312
    DELAY = 522,
313
    FORGET = 523,
314
    AFTER = 524,
315
    BGP_PATH = 525,
316
    BGP_LOCAL_PREF = 526,
317
    BGP_MED = 527,
318
    BGP_ORIGIN = 528,
319
    BGP_NEXT_HOP = 529,
320
    BGP_ATOMIC_AGGR = 530,
321
    BGP_AGGREGATOR = 531,
322
    BGP_COMMUNITY = 532,
323
    BGP_EXT_COMMUNITY = 533,
324
    BGP_LARGE_COMMUNITY = 534,
325
    ADDRESS = 535,
326
    RR = 536,
327
    RS = 537,
328
    CLIENT = 538,
329
    CLUSTER = 539,
330
    AS4 = 540,
331
    ADVERTISE = 541,
332
    CAPABILITIES = 542,
333
    PREFER = 543,
334
    OLDER = 544,
335
    MISSING = 545,
336
    LLADDR = 546,
337
    DROP = 547,
338
    IGNORE = 548,
339
    REFRESH = 549,
340
    INTERPRET = 550,
341
    COMMUNITIES = 551,
342
    BGP_ORIGINATOR_ID = 552,
343
    BGP_CLUSTER_LIST = 553,
344
    IGP = 554,
345
    GATEWAY = 555,
346
    RECURSIVE = 556,
347
    MED = 557,
348
    TTL = 558,
349
    SECURITY = 559,
350
    DETERMINISTIC = 560,
351
    SECONDARY = 561,
352
    ALLOW = 562,
353
    PATHS = 563,
354
    AWARE = 564,
355
    EXTENDED = 565,
356
    SETKEY = 566,
357
    STRICT = 567,
358
    BIND = 568,
359
    CONFEDERATION = 569,
360
    MEMBER = 570,
361
    MULTICAST = 571,
362
    OSPF = 572,
363
    V2 = 573,
364
    V3 = 574,
365
    OSPF_METRIC1 = 575,
366
    OSPF_METRIC2 = 576,
367
    OSPF_TAG = 577,
368
    OSPF_ROUTER_ID = 578,
369
    AREA = 579,
370
    RFC1583COMPAT = 580,
371
    STUB = 581,
372
    TICK = 582,
373
    COST = 583,
374
    COST2 = 584,
375
    RETRANSMIT = 585,
376
    TRANSMIT = 586,
377
    PRIORITY = 587,
378
    DEAD = 588,
379
    BROADCAST = 589,
380
    BCAST = 590,
381
    NONBROADCAST = 591,
382
    NBMA = 592,
383
    POINTOPOINT = 593,
384
    PTP = 594,
385
    POINTOMULTIPOINT = 595,
386
    PTMP = 596,
387
    CRYPTOGRAPHIC = 597,
388
    ELIGIBLE = 598,
389
    POLL = 599,
390
    NETWORKS = 600,
391
    HIDDEN = 601,
392
    VIRTUAL = 602,
393
    ONLY = 603,
394
    LARGE = 604,
395
    NORMAL = 605,
396
    STUBNET = 606,
397
    TAG = 607,
398
    EXTERNAL = 608,
399
    LSADB = 609,
400
    ECMP = 610,
401
    WEIGHT = 611,
402
    NSSA = 612,
403
    TRANSLATOR = 613,
404
    STABILITY = 614,
405
    GLOBAL = 615,
406
    LSID = 616,
407
    INSTANCE = 617,
408
    REAL = 618,
409
    NETMASK = 619,
410
    MERGE = 620,
411
    LSA = 621,
412
    SUPPRESSION = 622,
413
    RFC5838 = 623,
414
    TOPOLOGY = 624,
415
    STATE = 625,
416
    PIPE = 626,
417
    PEER = 627,
418
    RADV = 628,
419
    RA = 629,
420
    MANAGED = 630,
421
    OTHER = 631,
422
    CONFIG = 632,
423
    LINGER = 633,
424
    MTU = 634,
425
    REACHABLE = 635,
426
    RETRANS = 636,
427
    TIMER = 637,
428
    CURRENT = 638,
429
    VALID = 639,
430
    PREFERRED = 640,
431
    MULT = 641,
432
    LIFETIME = 642,
433
    SKIP = 643,
434
    ONLINK = 644,
435
    AUTONOMOUS = 645,
436
    RDNSS = 646,
437
    DNSSL = 647,
438
    NS = 648,
439
    DOMAIN = 649,
440
    TRIGGER = 650,
441
    SENSITIVE = 651,
442
    LOW = 652,
443
    MEDIUM = 653,
444
    HIGH = 654,
445
    PROPAGATE = 655,
446
    RA_PREFERENCE = 656,
447
    RA_LIFETIME = 657,
448
    RIP = 658,
449
    NG = 659,
450
    INFINITY = 660,
451
    TIMEOUT = 661,
452
    GARBAGE = 662,
453
    MODE = 663,
454
    VERSION = 664,
455
    SPLIT = 665,
456
    HORIZON = 666,
457
    POISON = 667,
458
    REVERSE = 668,
459
    ZERO = 669,
460
    PLAINTEXT = 670,
461
    RIP_METRIC = 671,
462
    RIP_TAG = 672,
463
    STATIC = 673,
464
    PROHIBIT = 674,
465
    BLACKHOLE = 675,
466
    UNREACHABLE = 676,
467
    KERNEL = 677,
468
    KRT_PREFSRC = 678,
469
    KRT_REALM = 679,
470
    KRT_SCOPE = 680,
471
    KRT_MTU = 681,
472
    KRT_WINDOW = 682,
473
    KRT_RTT = 683,
474
    KRT_RTTVAR = 684,
475
    KRT_SSTRESH = 685,
476
    KRT_CWND = 686,
477
    KRT_ADVMSS = 687,
478
    KRT_REORDERING = 688,
479
    KRT_HOPLIMIT = 689,
480
    KRT_INITCWND = 690,
481
    KRT_RTO_MIN = 691,
482
    KRT_INITRWND = 692,
483
    KRT_QUICKACK = 693,
484
    KRT_LOCK_MTU = 694,
485
    KRT_LOCK_WINDOW = 695,
486
    KRT_LOCK_RTT = 696,
487
    KRT_LOCK_RTTVAR = 697,
488
    KRT_LOCK_SSTRESH = 698,
489
    KRT_LOCK_CWND = 699,
490
    KRT_LOCK_ADVMSS = 700,
491
    KRT_LOCK_REORDERING = 701,
492
    KRT_LOCK_HOPLIMIT = 702,
493
    KRT_LOCK_RTO_MIN = 703,
494
    KRT_FEATURE_ECN = 704,
495
    KRT_FEATURE_ALLFRAG = 705,
496
    SYSLOG = 706,
497
    TRACE = 707,
498
    INFO = 708,
499
    REMOTE = 709,
500
    WARNING = 710,
501
    AUTH = 711,
502
    FATAL = 712,
503
    BUG = 713,
504
    STDERR = 714,
505
    SOFT = 715,
506
    NAME = 716,
507
    CONFIRM = 717,
508
    UNDO = 718,
509
    LATENCY = 719,
510
    WATCHDOG = 720,
511
    CONFIGURE = 721,
512
    DOWN = 722,
513
    PERSIST = 723,
514
    SCAN = 724,
515
    LEARN = 725,
516
    DEVICE = 726,
517
    KRT_SOURCE = 727,
518
    KRT_METRIC = 728
519
  };
520
#endif
521

    
522
/* Value type.  */
523
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
524

    
525
union YYSTYPE
526
{
527
#line 815 "obj/conf/cf-parse.y" /* yacc.c:1909  */
528

    
529
  uint i;
530
  u32 i32;
531
  u64 i64;
532
  ip_addr a;
533
  ip4_addr ip4;
534
  ip6_addr ip6;
535
  net_addr net;
536
  net_addr *net_ptr;
537
  struct symbol *s;
538
  char *t;
539
  struct rtable_config *r;
540
  struct channel_config *cc;
541
  struct f_inst *x;
542
  struct filter *f;
543
  struct f_tree *e;
544
  struct f_trie *trie;
545
  struct f_val v;
546
  struct f_path_mask *h;
547
  struct password_item *p;
548
  struct rt_show_data *ra;
549
  struct sym_show_data *sd;
550
  struct lsadb_show_data *ld;
551
  struct iface *iface;
552
  void *g;
553
  btime time;
554
  struct f_prefix px;
555
  struct proto_spec ps;
556
  struct channel_limit cl;
557
  struct timeformat *tf;
558
  mpls_label_stack *mls;
559

    
560
#line 561 "obj/conf/cf-parse.tab.h" /* yacc.c:1909  */
561
};
562

    
563
typedef union YYSTYPE YYSTYPE;
564
# define YYSTYPE_IS_TRIVIAL 1
565
# define YYSTYPE_IS_DECLARED 1
566
#endif
567

    
568

    
569
extern YYSTYPE cf_lval;
570

    
571
int cf_parse (void);
572

    
573
#endif /* !YY_CF_OBJ_CONF_CF_PARSE_TAB_H_INCLUDED  */