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 INTERFACE = 258, 43 IFNAME = 259, 44 PREFIX = 260, 45 LINK = 261, 46 RELAY = 262, 47 STRING = 263, 48 NUMBER = 264, 49 SIGNEDNUMBER = 265, 50 DECIMAL = 266, 51 BOOLEAN = 267, 52 IPV6ADDR = 268, 53 INFINITY = 269, 54 HOST = 270, 55 POOL = 271, 56 RANGE = 272, 57 GROUP = 273, 58 LINKLOCAL = 274, 59 OPTION = 275, 60 ALLOW = 276, 61 SEND = 277, 62 PREFERENCE = 278, 63 RENEWTIME = 279, 64 REBINDTIME = 280, 65 RAPIDCOMMIT = 281, 66 ADDRESS = 282, 67 VALIDLIFETIME = 283, 68 PREFERLIFETIME = 284, 69 UNICAST = 285, 70 TEMPIPV6ADDR = 286, 71 DNS_SERVERS = 287, 72 SIP_SERVERS = 288, 73 NTP_SERVERS = 289, 74 DUID = 290, 75 DUID_ID = 291, 76 IAID = 292, 77 IAIDINFO = 293, 78 INFO_ONLY = 294, 79 TO = 295, 80 BAD_TOKEN = 296 81 }; 82#endif 83/* Tokens. */ 84#define INTERFACE 258 85#define IFNAME 259 86#define PREFIX 260 87#define LINK 261 88#define RELAY 262 89#define STRING 263 90#define NUMBER 264 91#define SIGNEDNUMBER 265 92#define DECIMAL 266 93#define BOOLEAN 267 94#define IPV6ADDR 268 95#define INFINITY 269 96#define HOST 270 97#define POOL 271 98#define RANGE 272 99#define GROUP 273 100#define LINKLOCAL 274 101#define OPTION 275 102#define ALLOW 276 103#define SEND 277 104#define PREFERENCE 278 105#define RENEWTIME 279 106#define REBINDTIME 280 107#define RAPIDCOMMIT 281 108#define ADDRESS 282 109#define VALIDLIFETIME 283 110#define PREFERLIFETIME 284 111#define UNICAST 285 112#define TEMPIPV6ADDR 286 113#define DNS_SERVERS 287 114#define SIP_SERVERS 288 115#define NTP_SERVERS 289 116#define DUID 290 117#define DUID_ID 291 118#define IAID 292 119#define IAIDINFO 293 120#define INFO_ONLY 294 121#define TO 295 122#define BAD_TOKEN 296 123 124 125 126 127#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 128typedef union YYSTYPE 129#line 116 "server6_parse.y" 130{ 131 unsigned int num; 132 int snum; 133 char *str; 134 int dec; 135 int bool; 136 struct in6_addr addr; 137 struct dhcp6_addr *dhcp6addr; 138} 139/* Line 1489 of yacc.c. */ 140#line 141 "y.tab.h" 141 YYSTYPE; 142# define yystype YYSTYPE /* obsolescent; will be withdrawn */ 143# define YYSTYPE_IS_DECLARED 1 144# define YYSTYPE_IS_TRIVIAL 1 145#endif 146 147extern YYSTYPE sfyylval; 148 149