Return to parse.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / ipsec-tools / src / setkey |
1.1 ! misho 1: ! 2: /* A Bison parser, made by GNU Bison 2.4.1. */ ! 3: ! 4: /* Skeleton interface for Bison's Yacc-like parsers in C ! 5: ! 6: Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 ! 7: Free Software Foundation, Inc. ! 8: ! 9: This program is free software: you can redistribute it and/or modify ! 10: it under the terms of the GNU General Public License as published by ! 11: the Free Software Foundation, either version 3 of the License, or ! 12: (at your option) any later version. ! 13: ! 14: This program is distributed in the hope that it will be useful, ! 15: but WITHOUT ANY WARRANTY; without even the implied warranty of ! 16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 17: GNU General Public License for more details. ! 18: ! 19: You should have received a copy of the GNU General Public License ! 20: along with this program. If not, see <http://www.gnu.org/licenses/>. */ ! 21: ! 22: /* As a special exception, you may create a larger work that contains ! 23: part or all of the Bison parser skeleton and distribute that work ! 24: under terms of your choice, so long as that work isn't itself a ! 25: parser generator using the skeleton or a modified version thereof ! 26: as a parser skeleton. Alternatively, if you modify or redistribute ! 27: the parser skeleton itself, you may (at your option) remove this ! 28: special exception, which will cause the skeleton and the resulting ! 29: Bison output files to be licensed under the GNU General Public ! 30: License without this special exception. ! 31: ! 32: This special exception was added by the Free Software Foundation in ! 33: version 2.2 of Bison. */ ! 34: ! 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: EOT = 258, ! 43: SLASH = 259, ! 44: BLCL = 260, ! 45: ELCL = 261, ! 46: ADD = 262, ! 47: GET = 263, ! 48: DELETE = 264, ! 49: DELETEALL = 265, ! 50: FLUSH = 266, ! 51: DUMP = 267, ! 52: EXIT = 268, ! 53: PR_ESP = 269, ! 54: PR_AH = 270, ! 55: PR_IPCOMP = 271, ! 56: PR_ESPUDP = 272, ! 57: PR_TCP = 273, ! 58: F_PROTOCOL = 274, ! 59: F_AUTH = 275, ! 60: F_ENC = 276, ! 61: F_REPLAY = 277, ! 62: F_COMP = 278, ! 63: F_RAWCPI = 279, ! 64: F_MODE = 280, ! 65: MODE = 281, ! 66: F_REQID = 282, ! 67: F_EXT = 283, ! 68: EXTENSION = 284, ! 69: NOCYCLICSEQ = 285, ! 70: ALG_AUTH = 286, ! 71: ALG_AUTH_NOKEY = 287, ! 72: ALG_ENC = 288, ! 73: ALG_ENC_NOKEY = 289, ! 74: ALG_ENC_DESDERIV = 290, ! 75: ALG_ENC_DES32IV = 291, ! 76: ALG_ENC_OLD = 292, ! 77: ALG_COMP = 293, ! 78: F_LIFETIME_HARD = 294, ! 79: F_LIFETIME_SOFT = 295, ! 80: F_LIFEBYTE_HARD = 296, ! 81: F_LIFEBYTE_SOFT = 297, ! 82: DECSTRING = 298, ! 83: QUOTEDSTRING = 299, ! 84: HEXSTRING = 300, ! 85: STRING = 301, ! 86: ANY = 302, ! 87: SPDADD = 303, ! 88: SPDUPDATE = 304, ! 89: SPDDELETE = 305, ! 90: SPDDUMP = 306, ! 91: SPDFLUSH = 307, ! 92: F_POLICY = 308, ! 93: PL_REQUESTS = 309, ! 94: F_AIFLAGS = 310, ! 95: TAGGED = 311, ! 96: SECURITY_CTX = 312 ! 97: }; ! 98: #endif ! 99: /* Tokens. */ ! 100: #define EOT 258 ! 101: #define SLASH 259 ! 102: #define BLCL 260 ! 103: #define ELCL 261 ! 104: #define ADD 262 ! 105: #define GET 263 ! 106: #define DELETE 264 ! 107: #define DELETEALL 265 ! 108: #define FLUSH 266 ! 109: #define DUMP 267 ! 110: #define EXIT 268 ! 111: #define PR_ESP 269 ! 112: #define PR_AH 270 ! 113: #define PR_IPCOMP 271 ! 114: #define PR_ESPUDP 272 ! 115: #define PR_TCP 273 ! 116: #define F_PROTOCOL 274 ! 117: #define F_AUTH 275 ! 118: #define F_ENC 276 ! 119: #define F_REPLAY 277 ! 120: #define F_COMP 278 ! 121: #define F_RAWCPI 279 ! 122: #define F_MODE 280 ! 123: #define MODE 281 ! 124: #define F_REQID 282 ! 125: #define F_EXT 283 ! 126: #define EXTENSION 284 ! 127: #define NOCYCLICSEQ 285 ! 128: #define ALG_AUTH 286 ! 129: #define ALG_AUTH_NOKEY 287 ! 130: #define ALG_ENC 288 ! 131: #define ALG_ENC_NOKEY 289 ! 132: #define ALG_ENC_DESDERIV 290 ! 133: #define ALG_ENC_DES32IV 291 ! 134: #define ALG_ENC_OLD 292 ! 135: #define ALG_COMP 293 ! 136: #define F_LIFETIME_HARD 294 ! 137: #define F_LIFETIME_SOFT 295 ! 138: #define F_LIFEBYTE_HARD 296 ! 139: #define F_LIFEBYTE_SOFT 297 ! 140: #define DECSTRING 298 ! 141: #define QUOTEDSTRING 299 ! 142: #define HEXSTRING 300 ! 143: #define STRING 301 ! 144: #define ANY 302 ! 145: #define SPDADD 303 ! 146: #define SPDUPDATE 304 ! 147: #define SPDDELETE 305 ! 148: #define SPDDUMP 306 ! 149: #define SPDFLUSH 307 ! 150: #define F_POLICY 308 ! 151: #define PL_REQUESTS 309 ! 152: #define F_AIFLAGS 310 ! 153: #define TAGGED 311 ! 154: #define SECURITY_CTX 312 ! 155: ! 156: ! 157: ! 158: ! 159: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED ! 160: typedef union YYSTYPE ! 161: { ! 162: ! 163: /* Line 1676 of yacc.c */ ! 164: #line 110 "parse.y" ! 165: ! 166: int num; ! 167: unsigned long ulnum; ! 168: vchar_t val; ! 169: struct addrinfo *res; ! 170: ! 171: ! 172: ! 173: /* Line 1676 of yacc.c */ ! 174: #line 175 "parse.h" ! 175: } YYSTYPE; ! 176: # define YYSTYPE_IS_TRIVIAL 1 ! 177: # define yystype YYSTYPE /* obsolescent; will be withdrawn */ ! 178: # define YYSTYPE_IS_DECLARED 1 ! 179: #endif ! 180: ! 181: extern YYSTYPE yylval; ! 182: ! 183: