1/* A Bison parser, made by GNU Bison 2.3. */ 2 3/* Skeleton interface for Bison's Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 6 Free Software Foundation, Inc. 7 8 This program is free software; you can redistribute it and/or modify 9 it under the terms of the GNU General Public License as published by 10 the Free Software Foundation; either version 2, or (at your option) 11 any later version. 12 13 This program is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program; if not, write to the Free Software 20 Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 Boston, MA 02110-1301, USA. */ 22 23/* As a special exception, you may create a larger work that contains 24 part or all of the Bison parser skeleton and distribute that work 25 under terms of your choice, so long as that work isn't itself a 26 parser generator using the skeleton or a modified version thereof 27 as a parser skeleton. Alternatively, if you modify or redistribute 28 the parser skeleton itself, you may (at your option) remove this 29 special exception, which will cause the skeleton and the resulting 30 Bison output files to be licensed under the GNU General Public 31 License without this special exception. 32 33 This special exception was added by the Free Software Foundation in 34 version 2.2 of Bison. */ 35 36/* Tokens. */ 37#ifndef YYTOKENTYPE 38# define YYTOKENTYPE 39 /* Put the tokens into the symbol table, so that GDB and other debuggers 40 know about them. */ 41 enum yytokentype { 42 T_INTERFACE = 258, 43 T_PREFIX = 259, 44 T_ROUTE = 260, 45 T_RDNSS = 261, 46 T_CLIENTS = 262, 47 STRING = 263, 48 NUMBER = 264, 49 SIGNEDNUMBER = 265, 50 DECIMAL = 266, 51 SWITCH = 267, 52 IPV6ADDR = 268, 53 INFINITY = 269, 54 T_IgnoreIfMissing = 270, 55 T_AdvSendAdvert = 271, 56 T_MaxRtrAdvInterval = 272, 57 T_MinRtrAdvInterval = 273, 58 T_MinDelayBetweenRAs = 274, 59 T_AdvManagedFlag = 275, 60 T_AdvOtherConfigFlag = 276, 61 T_AdvLinkMTU = 277, 62 T_AdvReachableTime = 278, 63 T_AdvRetransTimer = 279, 64 T_AdvCurHopLimit = 280, 65 T_AdvDefaultLifetime = 281, 66 T_AdvDefaultPreference = 282, 67 T_AdvSourceLLAddress = 283, 68 T_AdvOnLink = 284, 69 T_AdvAutonomous = 285, 70 T_AdvValidLifetime = 286, 71 T_AdvPreferredLifetime = 287, 72 T_AdvRouterAddr = 288, 73 T_AdvHomeAgentFlag = 289, 74 T_AdvIntervalOpt = 290, 75 T_AdvHomeAgentInfo = 291, 76 T_Base6to4Interface = 292, 77 T_UnicastOnly = 293, 78 T_HomeAgentPreference = 294, 79 T_HomeAgentLifetime = 295, 80 T_AdvRoutePreference = 296, 81 T_AdvRouteLifetime = 297, 82 T_AdvRDNSSPreference = 298, 83 T_AdvRDNSSOpenFlag = 299, 84 T_AdvRDNSSLifetime = 300, 85 T_AdvMobRtrSupportFlag = 301, 86 T_BAD_TOKEN = 302 87 }; 88#endif 89/* Tokens. */ 90#define T_INTERFACE 258 91#define T_PREFIX 259 92#define T_ROUTE 260 93#define T_RDNSS 261 94#define T_CLIENTS 262 95#define STRING 263 96#define NUMBER 264 97#define SIGNEDNUMBER 265 98#define DECIMAL 266 99#define SWITCH 267 100#define IPV6ADDR 268 101#define INFINITY 269 102#define T_IgnoreIfMissing 270 103#define T_AdvSendAdvert 271 104#define T_MaxRtrAdvInterval 272 105#define T_MinRtrAdvInterval 273 106#define T_MinDelayBetweenRAs 274 107#define T_AdvManagedFlag 275 108#define T_AdvOtherConfigFlag 276 109#define T_AdvLinkMTU 277 110#define T_AdvReachableTime 278 111#define T_AdvRetransTimer 279 112#define T_AdvCurHopLimit 280 113#define T_AdvDefaultLifetime 281 114#define T_AdvDefaultPreference 282 115#define T_AdvSourceLLAddress 283 116#define T_AdvOnLink 284 117#define T_AdvAutonomous 285 118#define T_AdvValidLifetime 286 119#define T_AdvPreferredLifetime 287 120#define T_AdvRouterAddr 288 121#define T_AdvHomeAgentFlag 289 122#define T_AdvIntervalOpt 290 123#define T_AdvHomeAgentInfo 291 124#define T_Base6to4Interface 292 125#define T_UnicastOnly 293 126#define T_HomeAgentPreference 294 127#define T_HomeAgentLifetime 295 128#define T_AdvRoutePreference 296 129#define T_AdvRouteLifetime 297 130#define T_AdvRDNSSPreference 298 131#define T_AdvRDNSSOpenFlag 299 132#define T_AdvRDNSSLifetime 300 133#define T_AdvMobRtrSupportFlag 301 134#define T_BAD_TOKEN 302 135 136 137 138 139#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 140typedef union YYSTYPE 141#line 112 "gram.y" 142{ 143 unsigned int num; 144 int snum; 145 double dec; 146 struct in6_addr *addr; 147 char *str; 148 struct AdvPrefix *pinfo; 149 struct AdvRoute *rinfo; 150 struct AdvRDNSS *rdnssinfo; 151 struct Clients *ainfo; 152} 153/* Line 1529 of yacc.c. */ 154#line 155 "gram.h" 155 YYSTYPE; 156# define yystype YYSTYPE /* obsolescent; will be withdrawn */ 157# define YYSTYPE_IS_DECLARED 1 158# define YYSTYPE_IS_TRIVIAL 1 159#endif 160 161extern YYSTYPE yylval; 162 163