1 /* $OpenBSD: dhctoken.h,v 1.2 2004/02/04 12:16:56 henning Exp $ */
3 /* Tokens for config file lexer and parser. */
6 * Copyright (c) 1995, 1996, 1997, 1998, 1999
7 * The Internet Software Consortium. All rights reserved.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. Neither the name of The Internet Software Consortium nor the names
19 * of its contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
22 * THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
23 * CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
24 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
25 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 * DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
27 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
30 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
31 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
33 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * This software has been written for the Internet Software Consortium
37 * by Ted Lemon <mellon@fugue.com> in cooperation with Vixie
38 * Enterprises. To learn more about the Internet Software Consortium,
39 * see ``http://www.vix.com/isc''. To learn more about Vixie
40 * Enterprises, see ``http://www.vix.com''.
51 #define FIRST_TOKEN HOST
55 #define FIXED_ADDR 259
60 #define NUMBER_OR_NAME 264
76 #define DEFAULT_LEASE_TIME 280
77 #define MAX_LEASE_TIME 281
78 #define VENDOR_CLASS 282
79 #define USER_CLASS 283
80 #define SHARED_NETWORK 284
81 #define SERVER_NAME 285
82 #define DYNAMIC_BOOTP 286
83 #define SERVER_IDENTIFIER 287
84 #define DYNAMIC_BOOTP_LEASE_CUTOFF 288
85 #define DYNAMIC_BOOTP_LEASE_LENGTH 289
86 #define BOOT_UNKNOWN_CLIENTS 290
87 #define NEXT_SERVER 291
88 #define TOKEN_RING 292
90 #define ONE_LEASE_PER_CLIENT 294
91 #define GET_LEASE_HOSTNAMES 295
92 #define USE_HOST_DECL_NAMES 296
94 #define CLIENT_IDENTIFIER 298
99 #define SELECT_TIMEOUT 303
101 #define INTERFACE 305
105 #define UNKNOWN_CLIENTS 309
115 #define ABANDONED 319
116 #define BACKOFF_CUTOFF 320
117 #define INITIAL_INTERVAL 321
118 #define NAMESERVER 322
121 #define SUPERSEDE 325
125 #define CLIENT_HOSTNAME 329
128 #define USE_LEASE_ADDR_FOR_DEFAULT_ROUTE 332
129 #define AUTHORITATIVE 333
130 #define TOKEN_NOT 334
131 #define ALWAYS_REPLY_RFC1048 335
133 #define is_identifier(x) ((x) >= FIRST_TOKEN && \