1 /* $NetBSD: dhctoken.h,v 1.1.1.4 2014/07/12 11:57:53 spz Exp $ */
4 Tokens for config file lexer and parser. */
7 * Copyright (c) 2011-2014 by Internet Systems Consortium, Inc. ("ISC")
8 * Copyright (c) 2004,2007-2009 by Internet Systems Consortium, Inc. ("ISC")
9 * Copyright (c) 1996-2003 by Internet Software Consortium
11 * Permission to use, copy, modify, and distribute this software for any
12 * purpose with or without fee is hereby granted, provided that the above
13 * copyright notice and this permission notice appear in all copies.
15 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
16 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
17 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
18 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
21 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 * Internet Systems Consortium, Inc.
25 * Redwood City, CA 94063
27 * https://www.isc.org/
32 * The following tokens have been deprecated and aren't in use anymore.
33 * They have been left in place to avoid disturbing the code.
34 * DNS_UPDATE, DNS_DELETE, NS_UPDATE, UPDATED_DNS_RR
84 DEFAULT_LEASE_TIME
= 280,
91 SERVER_IDENTIFIER
= 287,
92 DYNAMIC_BOOTP_LEASE_CUTOFF
= 288,
93 DYNAMIC_BOOTP_LEASE_LENGTH
= 289,
94 BOOT_UNKNOWN_CLIENTS
= 290,
98 ONE_LEASE_PER_CLIENT
= 294,
99 GET_LEASE_HOSTNAMES
= 295,
100 USE_HOST_DECL_NAMES
= 296,
102 CLIENT_IDENTIFIER
= 298,
107 SELECT_TIMEOUT
= 303,
113 UNKNOWN_CLIENTS
= 309,
122 TOKEN_ABANDONED
= 319,
123 BACKOFF_CUTOFF
= 320,
124 INITIAL_INTERVAL
= 321,
132 CLIENT_HOSTNAME
= 329,
134 USE_LEASE_ADDR_FOR_DEFAULT_ROUTE
= 331,
135 MIN_LEASE_TIME
= 332,
158 UNAUTHENTICATED
= 356,
174 MAX_TRANSMIT_IDLE
= 372,
175 MAX_RESPONSE_DELAY
= 373,
178 COMMUNICATIONS_INTERRUPTED
= 376,
179 POTENTIAL_CONFLICT
= 377,
184 AUTHENTICATION
= 383,
202 LEASED_ADDRESS
= 403,
203 BINARY_TO_ASCII
= 404,
206 HOST_DECL_NAME
= 407,
217 UPDATED_DNS_RR
= 418,
226 MAX_UNACKED_UPDATES
= 427,
264 RESOLUTION_INTERRUPTED
= 465,
273 TOKEN_RELEASED
= 574,
276 TOKEN_RESERVED
= 577,
299 RECONTACT_INTERVAL
= 600,
300 CLIENT_UPDATES
= 601,
314 DO_FORWARD_UPDATE
= 614,
324 DB_TIME_FORMAT
= 624,
326 MAX_LEASE_MISBALANCE
= 626,
327 MAX_LEASE_OWNERSHIP
= 627,
337 HOST_IDENTIFIER
= 637,
344 PREFERRED_LIFE
= 644,
361 AUTO_PARTNER_DOWN
= 661,
368 TOKEN_INFINIBAND
= 668,
374 #define is_identifier(x) ((x) >= FIRST_TOKEN && \