Kea 2.6.0
std_option_defs.h
Go to the documentation of this file.
1// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef STD_OPTION_DEFS_H
8#define STD_OPTION_DEFS_H
9
11#include <dhcp/dhcp4.h>
12#include <dhcp/dhcp6.h>
13#include <dhcp/option_space.h>
14
16#define DHCP4_OPTION_SPACE "dhcp4"
17#define DHCP6_OPTION_SPACE "dhcp6"
18#define ISC_V6_OPTION_SPACE "4o6"
19#define MAPE_V6_OPTION_SPACE "s46-cont-mape-options"
20#define MAPT_V6_OPTION_SPACE "s46-cont-mapt-options"
21#define LW_V6_OPTION_SPACE "s46-cont-lw-options"
22#define V4V6_RULE_OPTION_SPACE "s46-rule-options"
23#define V4V6_BIND_OPTION_SPACE "s46-v4v6bind-options"
24#define LAST_RESORT_V4_OPTION_SPACE "last-resort-v4"
25
27#define DHCP_AGENT_OPTION_SPACE "dhcp-agent-options-space"
28#define VENDOR_ENCAPSULATED_OPTION_SPACE "vendor-encapsulated-options-space"
29
30// NOTE:
31// When adding a new space, make sure you also update
32// src/lib/yang/adaptor_option.cc
33
34namespace isc {
35namespace dhcp {
36
37namespace {
38
43#ifndef RECORD_DECL
44#define RECORD_DECL(name, ...) const OptionDataType name[] = { __VA_ARGS__ }
45#endif
46
51#ifndef RECORD_DEF
52#define RECORD_DEF(name) name, sizeof(name) / sizeof(name[0])
53#endif
54
55#ifndef NO_RECORD_DEF
56#define NO_RECORD_DEF 0, 0
57#endif
58
59// SLP Directory Agent option.
60RECORD_DECL(DIRECTORY_AGENT_RECORDS, OPT_BOOLEAN_TYPE, OPT_IPV4_ADDRESS_TYPE);
61
62// SLP Service Scope option.
63//
64// The scope list is optional.
65RECORD_DECL(SERVICE_SCOPE_RECORDS, OPT_BOOLEAN_TYPE, OPT_STRING_TYPE);
66
67// fqdn option record fields.
68//
69// Note that the flags field indicates the type of domain
70// name encoding. There is a choice between deprecated
71// ASCII encoding and compressed encoding described in
72// RFC 1035, section 3.1. The latter could be handled
73// by OPT_FQDN_TYPE but we can't use it here because
74// clients may request ASCII encoding.
77
78// V-I Vendor Class record fields.
79//
80// Opaque data is represented here by the binary data field.
82
83// RFC4578 (PXE) record fields
84//
85// Three 1 byte fields to describe a network interface: type, major and minor
87// A client identifier: a 1 byte type field followed by opaque data depending on the type
88RECORD_DECL(UUID_GUID_RECORDS, OPT_UINT8_TYPE, OPT_BINARY_TYPE);
89
90// RFC6731 DHCPv4 Recursive DNS Server Selection option.
91//
92// Flag, two addresses and domain list
93RECORD_DECL(V4_RDNSS_SELECT_RECORDS, OPT_UINT8_TYPE, OPT_IPV4_ADDRESS_TYPE,
95
96// RFC6926 DHCPv4 Bulk Leasequery Status Code option.
97RECORD_DECL(V4_STATUS_CODE_RECORDS, OPT_UINT8_TYPE, OPT_STRING_TYPE);
98
99// RFC7618 DHCPv4 Port Parameter option.
100//
101// PSID offset, PSID-len and PSID
102RECORD_DECL(V4_PORTPARAMS_RECORDS, OPT_UINT8_TYPE, OPT_PSID_TYPE);
103
104// RFC5969 DHCPv6 6RD option.
105//
106// two 8 bit lengthes, an IPv6 address and one or more IPv4 addresses
109
111const OptionDefParams STANDARD_V4_OPTION_DEFINITIONS[] = {
112 { "subnet-mask", DHO_SUBNET_MASK, DHCP4_OPTION_SPACE,
115 false, NO_RECORD_DEF, "" },
117 NO_RECORD_DEF, "" },
118 { "time-servers", DHO_TIME_SERVERS, DHCP4_OPTION_SPACE,
120 { "name-servers", DHO_NAME_SERVERS, DHCP4_OPTION_SPACE,
122 { "domain-name-servers", DHO_DOMAIN_NAME_SERVERS, DHCP4_OPTION_SPACE,
124 { "log-servers", DHO_LOG_SERVERS, DHCP4_OPTION_SPACE,
126 { "cookie-servers", DHO_COOKIE_SERVERS, DHCP4_OPTION_SPACE,
128 { "lpr-servers", DHO_LPR_SERVERS, DHCP4_OPTION_SPACE,
130 { "impress-servers", DHO_IMPRESS_SERVERS, DHCP4_OPTION_SPACE,
132 { "resource-location-servers", DHO_RESOURCE_LOCATION_SERVERS,
134 { "host-name", DHO_HOST_NAME, DHCP4_OPTION_SPACE, OPT_STRING_TYPE, false,
135 NO_RECORD_DEF, "" },
136 { "boot-size", DHO_BOOT_SIZE, DHCP4_OPTION_SPACE, OPT_UINT16_TYPE, false,
137 NO_RECORD_DEF, "" },
139 false, NO_RECORD_DEF, "" },
141 false, NO_RECORD_DEF, "" },
142 { "swap-server", DHO_SWAP_SERVER, DHCP4_OPTION_SPACE,
144 { "root-path", DHO_ROOT_PATH, DHCP4_OPTION_SPACE, OPT_STRING_TYPE, false,
145 NO_RECORD_DEF, "" },
146 { "extensions-path", DHO_EXTENSIONS_PATH, DHCP4_OPTION_SPACE,
147 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
149 false, NO_RECORD_DEF, "" },
150 { "non-local-source-routing", DHO_NON_LOCAL_SOURCE_ROUTING,
152 { "policy-filter", DHO_POLICY_FILTER, DHCP4_OPTION_SPACE,
154 { "max-dgram-reassembly", DHO_MAX_DGRAM_REASSEMBLY, DHCP4_OPTION_SPACE,
155 OPT_UINT16_TYPE, false, NO_RECORD_DEF, "" },
157 false, NO_RECORD_DEF, "" },
158 { "path-mtu-aging-timeout", DHO_PATH_MTU_AGING_TIMEOUT, DHCP4_OPTION_SPACE,
159 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
160 { "path-mtu-plateau-table", DHO_PATH_MTU_PLATEAU_TABLE, DHCP4_OPTION_SPACE,
161 OPT_UINT16_TYPE, true, NO_RECORD_DEF, "" },
163 false, NO_RECORD_DEF, "" },
164 { "all-subnets-local", DHO_ALL_SUBNETS_LOCAL, DHCP4_OPTION_SPACE,
165 OPT_BOOLEAN_TYPE, false, NO_RECORD_DEF, "" },
166 { "broadcast-address", DHO_BROADCAST_ADDRESS, DHCP4_OPTION_SPACE,
168 { "perform-mask-discovery", DHO_PERFORM_MASK_DISCOVERY, DHCP4_OPTION_SPACE,
169 OPT_BOOLEAN_TYPE, false, NO_RECORD_DEF, "" },
171 false, NO_RECORD_DEF, "" },
172 { "router-discovery", DHO_ROUTER_DISCOVERY, DHCP4_OPTION_SPACE,
173 OPT_BOOLEAN_TYPE, false, NO_RECORD_DEF, "" },
174 { "router-solicitation-address", DHO_ROUTER_SOLICITATION_ADDRESS,
176 { "static-routes", DHO_STATIC_ROUTES, DHCP4_OPTION_SPACE,
178 { "trailer-encapsulation", DHO_TRAILER_ENCAPSULATION, DHCP4_OPTION_SPACE,
179 OPT_BOOLEAN_TYPE, false, NO_RECORD_DEF, "" },
180 { "arp-cache-timeout", DHO_ARP_CACHE_TIMEOUT, DHCP4_OPTION_SPACE,
181 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
182 { "ieee802-3-encapsulation", DHO_IEEE802_3_ENCAPSULATION,
184 { "default-tcp-ttl", DHO_DEFAULT_TCP_TTL, DHCP4_OPTION_SPACE,
185 OPT_UINT8_TYPE, false, NO_RECORD_DEF, "" },
186 { "tcp-keepalive-interval", DHO_TCP_KEEPALIVE_INTERVAL, DHCP4_OPTION_SPACE,
187 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
188 { "tcp-keepalive-garbage", DHO_TCP_KEEPALIVE_GARBAGE, DHCP4_OPTION_SPACE,
189 OPT_BOOLEAN_TYPE, false, NO_RECORD_DEF, "" },
190 { "nis-domain", DHO_NIS_DOMAIN, DHCP4_OPTION_SPACE, OPT_STRING_TYPE, false,
191 NO_RECORD_DEF, "" },
192 { "nis-servers", DHO_NIS_SERVERS, DHCP4_OPTION_SPACE,
194 { "ntp-servers", DHO_NTP_SERVERS, DHCP4_OPTION_SPACE,
197 { "netbios-name-servers", DHO_NETBIOS_NAME_SERVERS, DHCP4_OPTION_SPACE,
199 { "netbios-dd-server", DHO_NETBIOS_DD_SERVER, DHCP4_OPTION_SPACE,
201 { "netbios-node-type", DHO_NETBIOS_NODE_TYPE, DHCP4_OPTION_SPACE,
202 OPT_UINT8_TYPE, false, NO_RECORD_DEF, "" },
204 false, NO_RECORD_DEF, "" },
205 { "font-servers", DHO_FONT_SERVERS, DHCP4_OPTION_SPACE,
207 { "x-display-manager", DHO_X_DISPLAY_MANAGER, DHCP4_OPTION_SPACE,
209 { "dhcp-requested-address", DHO_DHCP_REQUESTED_ADDRESS, DHCP4_OPTION_SPACE,
211 { "dhcp-lease-time", DHO_DHCP_LEASE_TIME, DHCP4_OPTION_SPACE,
212 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
213 { "dhcp-option-overload", DHO_DHCP_OPTION_OVERLOAD, DHCP4_OPTION_SPACE,
214 OPT_UINT8_TYPE, false, NO_RECORD_DEF, "" },
215 { "dhcp-message-type", DHO_DHCP_MESSAGE_TYPE, DHCP4_OPTION_SPACE,
216 OPT_UINT8_TYPE, false, NO_RECORD_DEF, "" },
217 { "dhcp-server-identifier", DHO_DHCP_SERVER_IDENTIFIER, DHCP4_OPTION_SPACE,
219 { "dhcp-parameter-request-list", DHO_DHCP_PARAMETER_REQUEST_LIST,
222 false, NO_RECORD_DEF, "" },
223 { "dhcp-max-message-size", DHO_DHCP_MAX_MESSAGE_SIZE, DHCP4_OPTION_SPACE,
224 OPT_UINT16_TYPE, false, NO_RECORD_DEF, "" },
225 { "dhcp-renewal-time", DHO_DHCP_RENEWAL_TIME, DHCP4_OPTION_SPACE,
226 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
227 { "dhcp-rebinding-time", DHO_DHCP_REBINDING_TIME, DHCP4_OPTION_SPACE,
228 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
229 { "vendor-class-identifier", DHO_VENDOR_CLASS_IDENTIFIER,
231 { "dhcp-client-identifier", DHO_DHCP_CLIENT_IDENTIFIER, DHCP4_OPTION_SPACE,
232 OPT_BINARY_TYPE, false, NO_RECORD_DEF, "" },
233 { "nwip-domain-name", DHO_NWIP_DOMAIN_NAME, DHCP4_OPTION_SPACE,
234 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
235 { "nwip-suboptions", DHO_NWIP_SUBOPTIONS, DHCP4_OPTION_SPACE,
236 OPT_BINARY_TYPE, false, NO_RECORD_DEF, "" },
237 { "nisplus-domain-name", DHO_NISP_DOMAIN_NAME, DHCP4_OPTION_SPACE,
238 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
239 { "nisplus-servers", DHO_NISP_SERVER_ADDR, DHCP4_OPTION_SPACE,
241 { "tftp-server-name", DHO_TFTP_SERVER_NAME, DHCP4_OPTION_SPACE,
242 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
243 { "boot-file-name", DHO_BOOT_FILE_NAME, DHCP4_OPTION_SPACE,
244 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
245 { "mobile-ip-home-agent", DHO_HOME_AGENT_ADDRS, DHCP4_OPTION_SPACE,
247 { "smtp-server", DHO_SMTP_SERVER, DHCP4_OPTION_SPACE,
250 true, NO_RECORD_DEF, "" },
251 { "nntp-server", DHO_NNTP_SERVER, DHCP4_OPTION_SPACE,
254 true, NO_RECORD_DEF, "" },
255 { "finger-server", DHO_FINGER_SERVER, DHCP4_OPTION_SPACE,
258 true, NO_RECORD_DEF, "" },
259 { "streettalk-server", DHO_STREETTALK_SERVER, DHCP4_OPTION_SPACE,
261 { "streettalk-directory-assistance-server", DHO_STDASERVER,
263 { "user-class", DHO_USER_CLASS, DHCP4_OPTION_SPACE, OPT_BINARY_TYPE, false,
264 NO_RECORD_DEF, "" },
265 { "slp-directory-agent", DHO_DIRECTORY_AGENT, DHCP4_OPTION_SPACE,
266 OPT_RECORD_TYPE, true, RECORD_DEF(DIRECTORY_AGENT_RECORDS), "" },
267 { "slp-service-scope", DHO_SERVICE_SCOPE, DHCP4_OPTION_SPACE,
268 OPT_RECORD_TYPE, false, RECORD_DEF(SERVICE_SCOPE_RECORDS), "" },
270 RECORD_DEF(FQDN_RECORDS), "" },
271 { "dhcp-agent-options", DHO_DHCP_AGENT_OPTIONS, DHCP4_OPTION_SPACE,
273 { "nds-servers", DHO_NDS_SERVERS, DHCP4_OPTION_SPACE,
276 false, NO_RECORD_DEF, "" },
278 false, NO_RECORD_DEF, "" },
279 { "bcms-controller-names", DHO_BCMCS_DOMAIN_NAME_LIST, DHCP4_OPTION_SPACE,
280 OPT_FQDN_TYPE, true, NO_RECORD_DEF, "" },
281 { "bcms-controller-address", DHO_BCMCS_IPV4_ADDR, DHCP4_OPTION_SPACE,
283 // Unfortunately the AUTHENTICATE option contains a 64-bit
284 // data field called 'replay-detection' that can't be added
285 // as a record field to a custom option. Also, there is no
286 // dedicated option class to handle it so we simply return
287 // binary option type for now.
288 // @todo implement a class to handle AUTH option.
290 false, NO_RECORD_DEF, "" },
291 { "client-last-transaction-time", DHO_CLIENT_LAST_TRANSACTION_TIME,
293 { "associated-ip", DHO_ASSOCIATED_IP, DHCP4_OPTION_SPACE,
295 { "client-system", DHO_SYSTEM, DHCP4_OPTION_SPACE, OPT_UINT16_TYPE, true,
296 NO_RECORD_DEF, "" },
297 { "client-ndi", DHO_NDI, DHCP4_OPTION_SPACE, OPT_RECORD_TYPE, false,
298 RECORD_DEF(CLIENT_NDI_RECORDS), "" },
299 { "uuid-guid", DHO_UUID_GUID, DHCP4_OPTION_SPACE, OPT_RECORD_TYPE, false,
300 RECORD_DEF(UUID_GUID_RECORDS), "" },
301 { "uap-servers", DHO_USER_AUTH, DHCP4_OPTION_SPACE, OPT_STRING_TYPE, false,
302 NO_RECORD_DEF, "" },
304 false, NO_RECORD_DEF, "" },
305 { "pcode", DHO_PCODE, DHCP4_OPTION_SPACE, OPT_STRING_TYPE, false,
306 NO_RECORD_DEF, "" },
307 { "tcode", DHO_TCODE, DHCP4_OPTION_SPACE, OPT_STRING_TYPE, false,
308 NO_RECORD_DEF, "" },
309 { "v6-only-preferred", DHO_V6_ONLY_PREFERRED, DHCP4_OPTION_SPACE,
310 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
311 { "netinfo-server-address", DHO_NETINFO_ADDR, DHCP4_OPTION_SPACE,
313 { "netinfo-server-tag", DHO_NETINFO_TAG, DHCP4_OPTION_SPACE,
314 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
315 { "v4-captive-portal", DHO_V4_CAPTIVE_PORTAL, DHCP4_OPTION_SPACE,
316 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
318 false, NO_RECORD_DEF, "" },
319 { "name-service-search", DHO_NAME_SERVICE_SEARCH, DHCP4_OPTION_SPACE,
320 OPT_UINT16_TYPE, true, NO_RECORD_DEF, "" },
321 { "subnet-selection", DHO_SUBNET_SELECTION, DHCP4_OPTION_SPACE,
324 true, NO_RECORD_DEF, "" },
326 false, NO_RECORD_DEF, "" },
327 { "vivco-suboptions", DHO_VIVCO_SUBOPTIONS, DHCP4_OPTION_SPACE,
328 OPT_RECORD_TYPE, false, RECORD_DEF(VIVCO_RECORDS), "" },
329 // Vendor-Identifying Vendor Specific Information option payload begins with a
330 // 32-bit log enterprise number, followed by a tuple of data-len/option-data.
331 // The format defined here includes 32-bit field holding enterprise number.
332 // This allows for specifying option-data information where the enterprise-id
333 // is represented by a uint32_t value. Previously we represented this option
334 // as a binary, but that would imply that enterprise number would have to be
335 // represented in binary format in the server configuration. That would be
336 // inconvenient and non-intuitive.
341 { "vivso-suboptions", DHO_VIVSO_SUBOPTIONS, DHCP4_OPTION_SPACE,
342 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
344 true, NO_RECORD_DEF, "" },
345 { "v4-lost", DHO_V4_LOST, DHCP4_OPTION_SPACE, OPT_FQDN_TYPE, false,
346 NO_RECORD_DEF, "" },
347 { "capwap-ac-v4", DHO_CAPWAP_AC_V4, DHCP4_OPTION_SPACE,
350 OPT_FQDN_TYPE, true, NO_RECORD_DEF, "" },
352 true, NO_RECORD_DEF, ""},
354 true, RECORD_DEF(V4_RDNSS_SELECT_RECORDS), "" },
355 { "status-code", DHO_STATUS_CODE, DHCP4_OPTION_SPACE,
356 OPT_RECORD_TYPE, false, RECORD_DEF(V4_STATUS_CODE_RECORDS), "" },
357 { "base-time", DHO_BASE_TIME, DHCP4_OPTION_SPACE,
358 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
359 { "start-time-of-state", DHO_START_TIME_OF_STATE, DHCP4_OPTION_SPACE,
360 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
361 { "query-start-time", DHO_QUERY_START_TIME, DHCP4_OPTION_SPACE,
362 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
363 { "query-end-time", DHO_QUERY_END_TIME, DHCP4_OPTION_SPACE,
364 OPT_UINT32_TYPE, false, NO_RECORD_DEF, "" },
365 { "dhcp-state", DHO_DHCP_STATE, DHCP4_OPTION_SPACE,
366 OPT_UINT8_TYPE, false, NO_RECORD_DEF, "" },
367 { "data-source", DHO_DATA_SOURCE, DHCP4_OPTION_SPACE,
368 OPT_UINT8_TYPE, false, NO_RECORD_DEF, "" },
370 false, RECORD_DEF(V4_PORTPARAMS_RECORDS), "" },
372 false, NO_RECORD_DEF, "" },
373 { "option-6rd", DHO_6RD, DHCP4_OPTION_SPACE, OPT_RECORD_TYPE, true,
374 RECORD_DEF(OPT_6RD_RECORDS), "" },
375 { "v4-access-domain", DHO_V4_ACCESS_DOMAIN, DHCP4_OPTION_SPACE,
376 OPT_FQDN_TYPE, false, NO_RECORD_DEF, "" }
377
378 // @todo add definitions for all remaining options.
379};
380
382const int STANDARD_V4_OPTION_DEFINITIONS_SIZE =
383 sizeof(STANDARD_V4_OPTION_DEFINITIONS) /
384 sizeof(STANDARD_V4_OPTION_DEFINITIONS[0]);
385
387const OptionDefParams DHCP_AGENT_OPTION_DEFINITIONS[] = {
388 { "circuit-id", RAI_OPTION_AGENT_CIRCUIT_ID,
390 { "remote-id", RAI_OPTION_REMOTE_ID,
392 { "docsis-device-class", RAI_OPTION_DOCSIS_DEVICE_CLASS,
394 { "link-selection", RAI_OPTION_LINK_SELECTION,
396 NO_RECORD_DEF, "" },
397 { "subscriber-id", RAI_OPTION_SUBSCRIBER_ID,
399 { "radius", RAI_OPTION_RADIUS,
401 { "auth", RAI_OPTION_AUTH,
403 { "vendor-specific-info", RAI_OPTION_VSI,
405 { "relay-flags", RAI_OPTION_RELAY_FLAGS,
407 { "server-id-override", RAI_OPTION_SERVER_ID_OVERRIDE,
409 NO_RECORD_DEF, "" },
410 { "relay-id", RAI_OPTION_RELAY_ID,
412 { "access-techno-type", RAI_OPTION_ACCESS_TECHNO_TYPE,
414 { "access-network-name", RAI_OPTION_ACCESS_NETWORK_NAME,
416 { "access-point-name", RAI_OPTION_ACCESS_POINT_NAME,
418 { "access-point-bssid", RAI_OPTION_ACCESS_POINT_BSSID,
420 { "operator-id", RAI_OPTION_OPERATOR_ID,
422 { "operator-realm", RAI_OPTION_OPERATOR_REALM,
424 { "relay-port", RAI_OPTION_RELAY_PORT,
426 { "virtual-subnet-select", RAI_OPTION_VIRTUAL_SUBNET_SELECT,
428 { "virtual-subnet-select-ctrl", RAI_OPTION_VIRTUAL_SUBNET_SELECT_CTRL,
430};
431
432const int DHCP_AGENT_OPTION_DEFINITIONS_SIZE =
433 sizeof(DHCP_AGENT_OPTION_DEFINITIONS) /
434 sizeof(DHCP_AGENT_OPTION_DEFINITIONS[0]);
435
438const OptionDefParams LAST_RESORT_V4_OPTION_DEFINITIONS[] = {
439 { "vendor-encapsulated-options", DHO_VENDOR_ENCAPSULATED_OPTIONS,
442};
443
444const int LAST_RESORT_V4_OPTION_DEFINITIONS_SIZE =
445 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS) /
446 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS[0]);
447
449
450// client-fqdn
451RECORD_DECL(CLIENT_FQDN_RECORDS, OPT_UINT8_TYPE, OPT_FQDN_TYPE);
452// geoconf-civic
453RECORD_DECL(GEOCONF_CIVIC_RECORDS, OPT_UINT8_TYPE, OPT_UINT16_TYPE,
455// iaddr
458// ia-na
460// ia-pd
462// ia-prefix
465// lq-query
467// lq-relay-data
468RECORD_DECL(LQ_RELAY_DATA_RECORDS, OPT_IPV6_ADDRESS_TYPE, OPT_BINARY_TYPE);
469// remote-id
470RECORD_DECL(REMOTE_ID_RECORDS, OPT_UINT32_TYPE, OPT_BINARY_TYPE);
471// s46-rule
474// s46-v4v6bind
476// s46-portparams
478// status-code
479RECORD_DECL(V6_STATUS_CODE_RECORDS, OPT_UINT16_TYPE, OPT_STRING_TYPE);
480// vendor-class
481RECORD_DECL(VENDOR_CLASS_RECORDS, OPT_UINT32_TYPE, OPT_BINARY_TYPE);
482// rdnss-selection
483RECORD_DECL(V6_RDNSS_SELECT_RECORDS, OPT_IPV6_ADDRESS_TYPE, OPT_UINT8_TYPE,
485// sedhcpv6 signature
486RECORD_DECL(SIGNATURE_RECORDS, OPT_UINT8_TYPE, OPT_UINT8_TYPE,
488
489// RFC5970 (PXE) Class record fields
490//
491// Three 1 byte fileds to describe a network interface: type, major and minor
493
504const OptionDefParams STANDARD_V6_OPTION_DEFINITIONS[] = {
505 { "clientid", D6O_CLIENTID, DHCP6_OPTION_SPACE, OPT_BINARY_TYPE, false,
506 NO_RECORD_DEF, "" },
507 { "serverid", D6O_SERVERID, DHCP6_OPTION_SPACE, OPT_BINARY_TYPE, false,
508 NO_RECORD_DEF, "" },
509 { "ia-na", D6O_IA_NA, DHCP6_OPTION_SPACE, OPT_RECORD_TYPE, false,
510 RECORD_DEF(IA_NA_RECORDS), "" },
511 { "ia-ta", D6O_IA_TA, DHCP6_OPTION_SPACE, OPT_UINT32_TYPE, false,
512 NO_RECORD_DEF, "" },
513 { "iaaddr", D6O_IAADDR, DHCP6_OPTION_SPACE, OPT_RECORD_TYPE, false,
514 RECORD_DEF(IAADDR_RECORDS), "" },
516 "" },
517 { "preference", D6O_PREFERENCE, DHCP6_OPTION_SPACE, OPT_UINT8_TYPE, false,
518 NO_RECORD_DEF, "" },
520 false, NO_RECORD_DEF, "" },
521 { "relay-msg", D6O_RELAY_MSG, DHCP6_OPTION_SPACE, OPT_BINARY_TYPE, false,
522 NO_RECORD_DEF, "" },
523 // Unfortunately the AUTH option contains a 64-bit data field
524 // called 'replay-detection' that can't be added as a record
525 // field to a custom option. Also, there is no dedicated
526 // option class to handle it so we simply return binary
527 // option type for now.
528 // @todo implement a class to handle AUTH option.
530 NO_RECORD_DEF, "" },
532 false, NO_RECORD_DEF, "" },
534 false, RECORD_DEF(V6_STATUS_CODE_RECORDS), "" },
536 false, NO_RECORD_DEF, "" },
538 false, NO_RECORD_DEF, "" },
540 false, RECORD_DEF(VENDOR_CLASS_RECORDS), "" },
542 false, NO_RECORD_DEF, "" },
544 false, NO_RECORD_DEF, "" },
545 { "reconf-msg", D6O_RECONF_MSG, DHCP6_OPTION_SPACE, OPT_UINT8_TYPE, false,
546 NO_RECORD_DEF, "" },
548 false, NO_RECORD_DEF, "" },
550 true, NO_RECORD_DEF, "" },
551 { "sip-server-addr", D6O_SIP_SERVERS_ADDR, DHCP6_OPTION_SPACE,
553 { "dns-servers", D6O_NAME_SERVERS, DHCP6_OPTION_SPACE,
556 true, NO_RECORD_DEF, "" },
557 { "ia-pd", D6O_IA_PD, DHCP6_OPTION_SPACE, OPT_RECORD_TYPE, false,
558 RECORD_DEF(IA_PD_RECORDS), "" },
559 { "iaprefix", D6O_IAPREFIX, DHCP6_OPTION_SPACE, OPT_RECORD_TYPE, false,
560 RECORD_DEF(IA_PREFIX_RECORDS), "" },
561 { "nis-servers", D6O_NIS_SERVERS, DHCP6_OPTION_SPACE,
563 { "nisp-servers", D6O_NISP_SERVERS, DHCP6_OPTION_SPACE,
565 { "nis-domain-name", D6O_NIS_DOMAIN_NAME, DHCP6_OPTION_SPACE,
566 OPT_FQDN_TYPE, true, NO_RECORD_DEF, "" },
567 { "nisp-domain-name", D6O_NISP_DOMAIN_NAME, DHCP6_OPTION_SPACE,
568 OPT_FQDN_TYPE, true, NO_RECORD_DEF, "" },
569 { "sntp-servers", D6O_SNTP_SERVERS, DHCP6_OPTION_SPACE,
571 { "information-refresh-time", D6O_INFORMATION_REFRESH_TIME,
573 { "bcmcs-server-dns", D6O_BCMCS_SERVER_D, DHCP6_OPTION_SPACE,
574 OPT_FQDN_TYPE, true, NO_RECORD_DEF, "" },
575 { "bcmcs-server-addr", D6O_BCMCS_SERVER_A, DHCP6_OPTION_SPACE,
577 { "geoconf-civic", D6O_GEOCONF_CIVIC, DHCP6_OPTION_SPACE,
578 OPT_RECORD_TYPE, false, RECORD_DEF(GEOCONF_CIVIC_RECORDS), "" },
579 { "remote-id", D6O_REMOTE_ID, DHCP6_OPTION_SPACE, OPT_RECORD_TYPE, false,
580 RECORD_DEF(REMOTE_ID_RECORDS), "" },
582 false, NO_RECORD_DEF, "" },
584 false, RECORD_DEF(CLIENT_FQDN_RECORDS), "" },
586 true, NO_RECORD_DEF, "" },
587 { "new-posix-timezone", D6O_NEW_POSIX_TIMEZONE, DHCP6_OPTION_SPACE,
588 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
589 { "new-tzdb-timezone", D6O_NEW_TZDB_TIMEZONE, DHCP6_OPTION_SPACE,
590 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
592 NO_RECORD_DEF, "" },
593 { "lq-query", D6O_LQ_QUERY, DHCP6_OPTION_SPACE, OPT_RECORD_TYPE, false,
594 RECORD_DEF(LQ_QUERY_RECORDS), DHCP6_OPTION_SPACE },
597 { "clt-time", D6O_CLT_TIME, DHCP6_OPTION_SPACE, OPT_UINT32_TYPE, false,
598 NO_RECORD_DEF, "" },
600 false, RECORD_DEF(LQ_RELAY_DATA_RECORDS), "" },
601 { "lq-client-link", D6O_LQ_CLIENT_LINK, DHCP6_OPTION_SPACE,
603 { "v6-lost", D6O_V6_LOST, DHCP6_OPTION_SPACE, OPT_FQDN_TYPE, false,
604 NO_RECORD_DEF, "" },
605 { "capwap-ac-v6", D6O_CAPWAP_AC_V6, DHCP6_OPTION_SPACE,
607 { "relay-id", D6O_RELAY_ID, DHCP6_OPTION_SPACE, OPT_BINARY_TYPE, false,
608 NO_RECORD_DEF, "" },
609 { "v6-access-domain", D6O_V6_ACCESS_DOMAIN, DHCP6_OPTION_SPACE,
610 OPT_FQDN_TYPE, false, NO_RECORD_DEF, "" },
611 { "sip-ua-cs-list", D6O_SIP_UA_CS_LIST, DHCP6_OPTION_SPACE,
612 OPT_FQDN_TYPE, true, NO_RECORD_DEF, "" },
614 false, NO_RECORD_DEF, "" },
616 true, NO_RECORD_DEF, "" },
617 { "client-arch-type", D6O_CLIENT_ARCH_TYPE, DHCP6_OPTION_SPACE,
618 OPT_UINT16_TYPE, true, NO_RECORD_DEF, "" },
620 RECORD_DEF(CLIENT_NII_RECORDS), "" },
621 { "aftr-name", D6O_AFTR_NAME, DHCP6_OPTION_SPACE, OPT_FQDN_TYPE, false,
622 NO_RECORD_DEF, "" },
623 { "erp-local-domain-name", D6O_ERP_LOCAL_DOMAIN_NAME, DHCP6_OPTION_SPACE
624 , OPT_FQDN_TYPE, false, NO_RECORD_DEF, "" },
625 { "rsoo", D6O_RSOO, DHCP6_OPTION_SPACE, OPT_EMPTY_TYPE, false,
626 NO_RECORD_DEF, "rsoo-opts" },
628 false, NO_RECORD_DEF, "" },
629 { "rdnss-selection", D6O_RDNSS_SELECTION, DHCP6_OPTION_SPACE,
630 OPT_RECORD_TYPE, true, RECORD_DEF(V6_RDNSS_SELECT_RECORDS), "" },
631 { "client-linklayer-addr", D6O_CLIENT_LINKLAYER_ADDR, DHCP6_OPTION_SPACE,
632 OPT_BINARY_TYPE, false, NO_RECORD_DEF, "" },
633 { "link-address", D6O_LINK_ADDRESS, DHCP6_OPTION_SPACE,
635 { "solmax-rt", D6O_SOL_MAX_RT, DHCP6_OPTION_SPACE, OPT_UINT32_TYPE, false,
636 NO_RECORD_DEF, "" },
637 { "inf-max-rt", D6O_INF_MAX_RT, DHCP6_OPTION_SPACE, OPT_UINT32_TYPE, false,
638 NO_RECORD_DEF, "" },
640 false, NO_RECORD_DEF, "" },
641 { "dhcp4o6-server-addr", D6O_DHCPV4_O_DHCPV6_SERVER, DHCP6_OPTION_SPACE,
643 { "v6-captive-portal", D6O_V6_CAPTIVE_PORTAL, DHCP6_OPTION_SPACE,
644 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
645 { "relay-source-port", D6O_RELAY_SOURCE_PORT, DHCP6_OPTION_SPACE,
646 OPT_UINT16_TYPE, false, NO_RECORD_DEF, "" },
647 { "v6-sztp-redirect", D60_V6_SZTP_REDIRECT, DHCP6_OPTION_SPACE,
648 OPT_TUPLE_TYPE, true, NO_RECORD_DEF, "" },
649 { "ipv6-address-andsf", D6O_IPV6_ADDRESS_ANDSF, DHCP6_OPTION_SPACE,
658 false, NO_RECORD_DEF, "" }
659
660 // @todo There is still a bunch of options for which we have to provide
661 // definitions but we don't do it because they are not really
662 // critical right now.
663};
664
666const int STANDARD_V6_OPTION_DEFINITIONS_SIZE =
667 sizeof(STANDARD_V6_OPTION_DEFINITIONS) /
668 sizeof(STANDARD_V6_OPTION_DEFINITIONS[0]);
669
676const OptionDefParams ISC_V6_OPTION_DEFINITIONS[] = {
677 { "4o6-interface", ISC_V6_4O6_INTERFACE, ISC_V6_OPTION_SPACE,
678 OPT_STRING_TYPE, false, NO_RECORD_DEF, "" },
679 { "4o6-source-address", ISC_V6_4O6_SRC_ADDRESS, ISC_V6_OPTION_SPACE,
681 { "4o6-source-port", ISC_V6_4O6_SRC_PORT, ISC_V6_OPTION_SPACE,
682 OPT_UINT16_TYPE, false, NO_RECORD_DEF, "" }
683};
684
685const int ISC_V6_OPTION_DEFINITIONS_SIZE =
686 sizeof(ISC_V6_OPTION_DEFINITIONS) /
687 sizeof(ISC_V6_OPTION_DEFINITIONS[0]);
688
690const OptionDefParams MAPE_V6_OPTION_DEFINITIONS[] = {
692 NO_RECORD_DEF, "" },
695};
696
697const int MAPE_V6_OPTION_DEFINITIONS_SIZE =
698 sizeof(MAPE_V6_OPTION_DEFINITIONS) /
699 sizeof(MAPE_V6_OPTION_DEFINITIONS[0]);
700
702const OptionDefParams MAPT_V6_OPTION_DEFINITIONS[] = {
706 false, NO_RECORD_DEF, "" }
707};
708
709const int MAPT_V6_OPTION_DEFINITIONS_SIZE =
710 sizeof(MAPT_V6_OPTION_DEFINITIONS) /
711 sizeof(MAPT_V6_OPTION_DEFINITIONS[0]);
712
714const OptionDefParams LW_V6_OPTION_DEFINITIONS[] = {
716 NO_RECORD_DEF, "" },
718 false, RECORD_DEF(S46_V4V6BIND), V4V6_BIND_OPTION_SPACE }
719};
720
721const int LW_V6_OPTION_DEFINITIONS_SIZE =
722 sizeof(LW_V6_OPTION_DEFINITIONS) /
723 sizeof(LW_V6_OPTION_DEFINITIONS[0]);
724
726const OptionDefParams V4V6_RULE_OPTION_DEFINITIONS[] = {
727 { "s46-portparams", D6O_S46_PORTPARAMS, V4V6_RULE_OPTION_SPACE,
728 OPT_RECORD_TYPE, false, RECORD_DEF(S46_PORTPARAMS), "" }
729};
730
731const int V4V6_RULE_OPTION_DEFINITIONS_SIZE =
732 sizeof(V4V6_RULE_OPTION_DEFINITIONS) /
733 sizeof(V4V6_RULE_OPTION_DEFINITIONS[0]);
734
736const OptionDefParams V4V6_BIND_OPTION_DEFINITIONS[] = {
737 { "s46-portparams", D6O_S46_PORTPARAMS, V4V6_BIND_OPTION_SPACE,
738 OPT_RECORD_TYPE, false, RECORD_DEF(S46_PORTPARAMS), "" }
739};
740
741const int V4V6_BIND_OPTION_DEFINITIONS_SIZE =
742 sizeof(V4V6_BIND_OPTION_DEFINITIONS) /
743 sizeof(V4V6_BIND_OPTION_DEFINITIONS[0]);
744
745} // namespace
746
747} // namespace dhcp
748} // namespace isc
749
750#endif // STD_OPTION_DEFS_H
@ D6O_CLIENT_FQDN
Definition: dhcp6.h:59
@ D6O_USER_CLASS
Definition: dhcp6.h:35
@ D6O_S46_DMR
Definition: dhcp6.h:111
@ D6O_S46_CONT_LW
Definition: dhcp6.h:116
@ D6O_UNICAST
Definition: dhcp6.h:32
@ D6O_RSOO
Definition: dhcp6.h:86
@ D6O_INTERFACE_ID
Definition: dhcp6.h:38
@ D6O_SIP_UA_CS_LIST
Definition: dhcp6.h:78
@ D6O_NII
Definition: dhcp6.h:82
@ D60_V6_SZTP_REDIRECT
Definition: dhcp6.h:156
@ D6O_IPV6_ADDRESS_ANDSF
Definition: dhcp6.h:158
@ D6O_DHCPV4_O_DHCPV6_SERVER
Definition: dhcp6.h:108
@ D6O_SERVERID
Definition: dhcp6.h:22
@ D6O_AUTH
Definition: dhcp6.h:31
@ D6O_CLIENTID
Definition: dhcp6.h:21
@ D6O_V6_CAPTIVE_PORTAL
Definition: dhcp6.h:123
@ D6O_RELAY_MSG
Definition: dhcp6.h:29
@ D6O_S46_CONT_MAPE
Definition: dhcp6.h:114
@ D6O_REMOTE_ID
Definition: dhcp6.h:57
@ D6O_INFORMATION_REFRESH_TIME
Definition: dhcp6.h:52
@ D6O_VENDOR_OPTS
Definition: dhcp6.h:37
@ D6O_INF_MAX_RT
Definition: dhcp6.h:103
@ D6O_V6_ACCESS_DOMAIN
Definition: dhcp6.h:77
@ D6O_S46_RULE
Definition: dhcp6.h:109
@ D6O_S46_V4V6BIND
Definition: dhcp6.h:112
@ D6O_IA_TA
Definition: dhcp6.h:24
@ D6O_BOOTFILE_URL
Definition: dhcp6.h:79
@ D6O_SUBSCRIBER_ID
Definition: dhcp6.h:58
@ D6O_S46_PORTPARAMS
Definition: dhcp6.h:113
@ D6O_NEW_TZDB_TIMEZONE
Definition: dhcp6.h:62
@ D6O_CLT_TIME
Definition: dhcp6.h:66
@ D6O_SOL_MAX_RT
Definition: dhcp6.h:102
@ D6O_BCMCS_SERVER_D
Definition: dhcp6.h:53
@ D6O_CLIENT_ARCH_TYPE
Definition: dhcp6.h:81
@ D6O_NAME_SERVERS
Definition: dhcp6.h:43
@ D6O_RELAY_SOURCE_PORT
Definition: dhcp6.h:155
@ D6O_RAPID_COMMIT
Definition: dhcp6.h:34
@ D6O_SIP_SERVERS_ADDR
Definition: dhcp6.h:42
@ D6O_PANA_AGENT
Definition: dhcp6.h:60
@ D6O_V6_LOST
Definition: dhcp6.h:71
@ D6O_AFTR_NAME
Definition: dhcp6.h:84
@ D6O_BOOTFILE_PARAM
Definition: dhcp6.h:80
@ D6O_RELAY_ID
Definition: dhcp6.h:73
@ D6O_IA_NA
Definition: dhcp6.h:23
@ D6O_PREFERENCE
Definition: dhcp6.h:27
@ D6O_NIS_SERVERS
Definition: dhcp6.h:47
@ D6O_S46_BR
Definition: dhcp6.h:110
@ D6O_RDNSS_SELECTION
Definition: dhcp6.h:94
@ D6O_ORO
Definition: dhcp6.h:26
@ D6O_ERO
Definition: dhcp6.h:63
@ D6O_PD_EXCLUDE
Definition: dhcp6.h:87
@ D6O_S46_CONT_MAPT
Definition: dhcp6.h:115
@ D6O_RECONF_MSG
Definition: dhcp6.h:39
@ D6O_IA_PD
Definition: dhcp6.h:45
@ D6O_SIP_SERVERS_DNS
Definition: dhcp6.h:41
@ D6O_SNTP_SERVERS
Definition: dhcp6.h:51
@ D6O_RECONF_ACCEPT
Definition: dhcp6.h:40
@ D6O_DOMAIN_SEARCH
Definition: dhcp6.h:44
@ D6O_NISP_SERVERS
Definition: dhcp6.h:48
@ D6O_LQ_QUERY
Definition: dhcp6.h:64
@ D6O_V6_DNR
Definition: dhcp6.h:159
@ D6O_GEOCONF_CIVIC
Definition: dhcp6.h:56
@ D6O_NISP_DOMAIN_NAME
Definition: dhcp6.h:50
@ D6O_DHCPV4_MSG
Definition: dhcp6.h:107
@ D6O_IAADDR
Definition: dhcp6.h:25
@ D6O_CLIENT_DATA
Definition: dhcp6.h:65
@ D6O_LQ_RELAY_DATA
Definition: dhcp6.h:67
@ D6O_NIS_DOMAIN_NAME
Definition: dhcp6.h:49
@ D6O_BCMCS_SERVER_A
Definition: dhcp6.h:54
@ D6O_LQ_CLIENT_LINK
Definition: dhcp6.h:68
@ D6O_CLIENT_LINKLAYER_ADDR
Definition: dhcp6.h:99
@ D6O_LINK_ADDRESS
Definition: dhcp6.h:100
@ D6O_NEW_POSIX_TIMEZONE
Definition: dhcp6.h:61
@ D6O_VENDOR_CLASS
Definition: dhcp6.h:36
@ D6O_ERP_LOCAL_DOMAIN_NAME
Definition: dhcp6.h:85
@ D6O_STATUS_CODE
Definition: dhcp6.h:33
@ D6O_ELAPSED_TIME
Definition: dhcp6.h:28
@ D6O_IAPREFIX
Definition: dhcp6.h:46
@ D6O_CAPWAP_AC_V6
Definition: dhcp6.h:72
@ DHO_NNTP_SERVER
Definition: dhcp4.h:140
@ DHO_NON_LOCAL_SOURCE_ROUTING
Definition: dhcp4.h:89
@ DHO_STREETTALK_SERVER
Definition: dhcp4.h:144
@ DHO_QUERY_START_TIME
Definition: dhcp4.h:208
@ DHO_IMPRESS_SERVERS
Definition: dhcp4.h:79
@ DHO_DHCP_MAX_MESSAGE_SIZE
Definition: dhcp4.h:126
@ DHO_DHCP_MESSAGE
Definition: dhcp4.h:125
@ DHO_DIRECTORY_AGENT
Definition: dhcp4.h:147
@ DHO_BOOT_SIZE
Definition: dhcp4.h:82
@ DHO_NETBIOS_NODE_TYPE
Definition: dhcp4.h:115
@ DHO_FONT_SERVERS
Definition: dhcp4.h:117
@ DHO_SUBNET_MASK
Definition: dhcp4.h:70
@ DHO_6RD
Definition: dhcp4.h:222
@ DHO_ROUTERS
Definition: dhcp4.h:72
@ DHO_NWIP_DOMAIN_NAME
Definition: dhcp4.h:131
@ DHO_NAME_SERVICE_SEARCH
Definition: dhcp4.h:181
@ DHO_LOG_SERVERS
Definition: dhcp4.h:76
@ DHO_DOMAIN_NAME
Definition: dhcp4.h:84
@ DHO_NETBIOS_SCOPE
Definition: dhcp4.h:116
@ DHO_TCODE
Definition: dhcp4.h:170
@ DHO_TFTP_SERVER_NAME
Definition: dhcp4.h:135
@ DHO_V4_PORTPARAMS
Definition: dhcp4.h:213
@ DHO_V4_SZTP_REDIRECT
Definition: dhcp4.h:199
@ DHO_DOMAIN_NAME_SERVERS
Definition: dhcp4.h:75
@ DHO_IP_FORWARDING
Definition: dhcp4.h:88
@ DHO_VENDOR_CLASS_IDENTIFIER
Definition: dhcp4.h:129
@ DHO_TRAILER_ENCAPSULATION
Definition: dhcp4.h:103
@ DHO_TIME_SERVERS
Definition: dhcp4.h:73
@ DHO_SERVICE_SCOPE
Definition: dhcp4.h:148
@ DHO_GEOCONF_CIVIC
Definition: dhcp4.h:168
@ DHO_NETINFO_ADDR
Definition: dhcp4.h:174
@ DHO_DHCP_REBINDING_TIME
Definition: dhcp4.h:128
@ DHO_DHCP_MESSAGE_TYPE
Definition: dhcp4.h:122
@ DHO_V6_ONLY_PREFERRED
Definition: dhcp4.h:172
@ DHO_INTERFACE_MTU
Definition: dhcp4.h:95
@ DHO_UUID_GUID
Definition: dhcp4.h:166
@ DHO_DHCP_SERVER_IDENTIFIER
Definition: dhcp4.h:123
@ DHO_CLASSLESS_STATIC_ROUTE
Definition: dhcp4.h:185
@ DHO_SIP_UA_CONF_SERVICE_DOMAINS
Definition: dhcp4.h:197
@ DHO_HOST_NAME
Definition: dhcp4.h:81
@ DHO_DEFAULT_TCP_TTL
Definition: dhcp4.h:106
@ DHO_STATIC_ROUTES
Definition: dhcp4.h:102
@ DHO_DHCP_CLIENT_IDENTIFIER
Definition: dhcp4.h:130
@ DHO_COOKIE_SERVERS
Definition: dhcp4.h:77
@ DHO_ROOT_PATH
Definition: dhcp4.h:86
@ DHO_NTP_SERVERS
Definition: dhcp4.h:111
@ DHO_BOOT_FILE_NAME
Definition: dhcp4.h:136
@ DHO_VIVCO_SUBOPTIONS
Definition: dhcp4.h:188
@ DHO_AUTO_CONFIG
Definition: dhcp4.h:180
@ DHO_ROUTER_SOLICITATION_ADDRESS
Definition: dhcp4.h:101
@ DHO_V4_DNR
Definition: dhcp4.h:217
@ DHO_PATH_MTU_AGING_TIMEOUT
Definition: dhcp4.h:93
@ DHO_NDI
Definition: dhcp4.h:163
@ DHO_RDNSS_SELECT
Definition: dhcp4.h:202
@ DHO_BASE_TIME
Definition: dhcp4.h:206
@ DHO_DHCP_REQUESTED_ADDRESS
Definition: dhcp4.h:119
@ DHO_NISP_SERVER_ADDR
Definition: dhcp4.h:134
@ DHO_RESOURCE_LOCATION_SERVERS
Definition: dhcp4.h:80
@ DHO_NETINFO_TAG
Definition: dhcp4.h:175
@ DHO_NDS_TREE_NAME
Definition: dhcp4.h:155
@ DHO_QUERY_END_TIME
Definition: dhcp4.h:209
@ DHO_ALL_SUBNETS_LOCAL
Definition: dhcp4.h:96
@ DHO_TCP_KEEPALIVE_INTERVAL
Definition: dhcp4.h:107
@ DHO_DHCP_OPTION_OVERLOAD
Definition: dhcp4.h:121
@ DHO_SMTP_SERVER
Definition: dhcp4.h:138
@ DHO_POLICY_FILTER
Definition: dhcp4.h:90
@ DHO_DHCP_AGENT_OPTIONS
Definition: dhcp4.h:151
@ DHO_TIME_OFFSET
Definition: dhcp4.h:71
@ DHO_PATH_MTU_PLATEAU_TABLE
Definition: dhcp4.h:94
@ DHO_BCMCS_DOMAIN_NAME_LIST
Definition: dhcp4.h:157
@ DHO_PERFORM_MASK_DISCOVERY
Definition: dhcp4.h:98
@ DHO_WWW_SERVER
Definition: dhcp4.h:141
@ DHO_SYSTEM
Definition: dhcp4.h:162
@ DHO_ROUTER_DISCOVERY
Definition: dhcp4.h:100
@ DHO_NDS_SERVERS
Definition: dhcp4.h:154
@ DHO_ASSOCIATED_IP
Definition: dhcp4.h:161
@ DHO_VENDOR_ENCAPSULATED_OPTIONS
Definition: dhcp4.h:112
@ DHO_NDS_CONTEXT
Definition: dhcp4.h:156
@ DHO_NAME_SERVERS
Definition: dhcp4.h:74
@ DHO_CLIENT_LAST_TRANSACTION_TIME
Definition: dhcp4.h:160
@ DHO_SUBNET_SELECTION
Definition: dhcp4.h:182
@ DHO_DATA_SOURCE
Definition: dhcp4.h:211
@ DHO_DOMAIN_SEARCH
Definition: dhcp4.h:183
@ DHO_START_TIME_OF_STATE
Definition: dhcp4.h:207
@ DHO_IRC_SERVER
Definition: dhcp4.h:143
@ DHO_NIS_DOMAIN
Definition: dhcp4.h:109
@ DHO_DHCP_STATE
Definition: dhcp4.h:210
@ DHO_LPR_SERVERS
Definition: dhcp4.h:78
@ DHO_DEFAULT_IP_TTL
Definition: dhcp4.h:92
@ DHO_NETBIOS_DD_SERVER
Definition: dhcp4.h:114
@ DHO_HOME_AGENT_ADDRS
Definition: dhcp4.h:137
@ DHO_BCMCS_IPV4_ADDR
Definition: dhcp4.h:158
@ DHO_MERIT_DUMP
Definition: dhcp4.h:83
@ DHO_V4_LOST
Definition: dhcp4.h:193
@ DHO_V4_CAPTIVE_PORTAL
Definition: dhcp4.h:178
@ DHO_TCP_KEEPALIVE_GARBAGE
Definition: dhcp4.h:108
@ DHO_X_DISPLAY_MANAGER
Definition: dhcp4.h:118
@ DHO_IEEE802_3_ENCAPSULATION
Definition: dhcp4.h:105
@ DHO_USER_AUTH
Definition: dhcp4.h:167
@ DHO_STDASERVER
Definition: dhcp4.h:145
@ DHO_DHCP_PARAMETER_REQUEST_LIST
Definition: dhcp4.h:124
@ DHO_PCODE
Definition: dhcp4.h:169
@ DHO_USER_CLASS
Definition: dhcp4.h:146
@ DHO_ARP_CACHE_TIMEOUT
Definition: dhcp4.h:104
@ DHO_POP3_SERVER
Definition: dhcp4.h:139
@ DHO_NWIP_SUBOPTIONS
Definition: dhcp4.h:132
@ DHO_CAPWAP_AC_V4
Definition: dhcp4.h:194
@ DHO_MAX_DGRAM_REASSEMBLY
Definition: dhcp4.h:91
@ DHO_FQDN
Definition: dhcp4.h:150
@ DHO_EXTENSIONS_PATH
Definition: dhcp4.h:87
@ DHO_MASK_SUPPLIER
Definition: dhcp4.h:99
@ DHO_NIS_SERVERS
Definition: dhcp4.h:110
@ DHO_FINGER_SERVER
Definition: dhcp4.h:142
@ DHO_BROADCAST_ADDRESS
Definition: dhcp4.h:97
@ DHO_AUTHENTICATE
Definition: dhcp4.h:159
@ DHO_VIVSO_SUBOPTIONS
Definition: dhcp4.h:189
@ DHO_STATUS_CODE
Definition: dhcp4.h:205
@ DHO_NISP_DOMAIN_NAME
Definition: dhcp4.h:133
@ DHO_DHCP_RENEWAL_TIME
Definition: dhcp4.h:127
@ DHO_NETBIOS_NAME_SERVERS
Definition: dhcp4.h:113
@ DHO_SWAP_SERVER
Definition: dhcp4.h:85
@ DHO_PANA_AGENT
Definition: dhcp4.h:192
@ DHO_DHCP_LEASE_TIME
Definition: dhcp4.h:120
@ DHO_V4_ACCESS_DOMAIN
Definition: dhcp4.h:223
@ RAI_OPTION_OPERATOR_ID
Definition: dhcp4.h:281
@ RAI_OPTION_RADIUS
Definition: dhcp4.h:271
@ RAI_OPTION_SERVER_ID_OVERRIDE
Definition: dhcp4.h:275
@ RAI_OPTION_SUBSCRIBER_ID
Definition: dhcp4.h:270
@ RAI_OPTION_VSI
Definition: dhcp4.h:273
@ RAI_OPTION_RELAY_ID
Definition: dhcp4.h:276
@ RAI_OPTION_AGENT_CIRCUIT_ID
Definition: dhcp4.h:265
@ RAI_OPTION_OPERATOR_REALM
Definition: dhcp4.h:282
@ RAI_OPTION_ACCESS_NETWORK_NAME
Definition: dhcp4.h:278
@ RAI_OPTION_REMOTE_ID
Definition: dhcp4.h:266
@ RAI_OPTION_VIRTUAL_SUBNET_SELECT_CTRL
Definition: dhcp4.h:285
@ RAI_OPTION_LINK_SELECTION
Definition: dhcp4.h:269
@ RAI_OPTION_RELAY_PORT
Definition: dhcp4.h:283
@ RAI_OPTION_AUTH
Definition: dhcp4.h:272
@ RAI_OPTION_VIRTUAL_SUBNET_SELECT
Definition: dhcp4.h:284
@ RAI_OPTION_DOCSIS_DEVICE_CLASS
Definition: dhcp4.h:268
@ RAI_OPTION_ACCESS_POINT_BSSID
Definition: dhcp4.h:280
@ RAI_OPTION_RELAY_FLAGS
Definition: dhcp4.h:274
@ RAI_OPTION_ACCESS_TECHNO_TYPE
Definition: dhcp4.h:277
@ RAI_OPTION_ACCESS_POINT_NAME
Definition: dhcp4.h:279
Defines the logger used by the top-level component of kea-lfc.
#define V4V6_BIND_OPTION_SPACE
#define DHCP4_OPTION_SPACE
global std option spaces
#define RECORD_DECL(name,...)
Declare an array holding parameters used to create instance of a definition for option comprising a r...
#define ISC_V6_OPTION_SPACE
#define NO_RECORD_DEF
#define VENDOR_ENCAPSULATED_OPTION_SPACE
#define V4V6_RULE_OPTION_SPACE
#define MAPE_V6_OPTION_SPACE
#define DHCP_AGENT_OPTION_SPACE
encapsulated option spaces
#define RECORD_DEF(name)
A pair of values: one pointing to the array holding types of data fields belonging to the record,...
#define LW_V6_OPTION_SPACE
#define DHCP6_OPTION_SPACE
#define MAPT_V6_OPTION_SPACE