7#ifndef STD_OPTION_DEFS_H
8#define STD_OPTION_DEFS_H
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"
27#define DHCP_AGENT_OPTION_SPACE "dhcp-agent-options-space"
28#define VENDOR_ENCAPSULATED_OPTION_SPACE "vendor-encapsulated-options-space"
44#define RECORD_DECL(name, ...) const OptionDataType name[] = { __VA_ARGS__ }
52#define RECORD_DEF(name) name, sizeof(name) / sizeof(name[0])
56#define NO_RECORD_DEF 0, 0
111const OptionDefParams STANDARD_V4_OPTION_DEFINITIONS[] = {
354 true,
RECORD_DEF(V4_RDNSS_SELECT_RECORDS),
"" },
370 false,
RECORD_DEF(V4_PORTPARAMS_RECORDS),
"" },
382const int STANDARD_V4_OPTION_DEFINITIONS_SIZE =
383 sizeof(STANDARD_V4_OPTION_DEFINITIONS) /
384 sizeof(STANDARD_V4_OPTION_DEFINITIONS[0]);
387const OptionDefParams DHCP_AGENT_OPTION_DEFINITIONS[] = {
432const int DHCP_AGENT_OPTION_DEFINITIONS_SIZE =
433 sizeof(DHCP_AGENT_OPTION_DEFINITIONS) /
434 sizeof(DHCP_AGENT_OPTION_DEFINITIONS[0]);
438const OptionDefParams LAST_RESORT_V4_OPTION_DEFINITIONS[] = {
444const int LAST_RESORT_V4_OPTION_DEFINITIONS_SIZE =
445 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS) /
446 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS[0]);
504const OptionDefParams STANDARD_V6_OPTION_DEFINITIONS[] = {
534 false,
RECORD_DEF(V6_STATUS_CODE_RECORDS),
"" },
540 false,
RECORD_DEF(VENDOR_CLASS_RECORDS),
"" },
600 false,
RECORD_DEF(LQ_RELAY_DATA_RECORDS),
"" },
666const int STANDARD_V6_OPTION_DEFINITIONS_SIZE =
667 sizeof(STANDARD_V6_OPTION_DEFINITIONS) /
668 sizeof(STANDARD_V6_OPTION_DEFINITIONS[0]);
676const OptionDefParams ISC_V6_OPTION_DEFINITIONS[] = {
685const int ISC_V6_OPTION_DEFINITIONS_SIZE =
686 sizeof(ISC_V6_OPTION_DEFINITIONS) /
687 sizeof(ISC_V6_OPTION_DEFINITIONS[0]);
690const OptionDefParams MAPE_V6_OPTION_DEFINITIONS[] = {
697const int MAPE_V6_OPTION_DEFINITIONS_SIZE =
698 sizeof(MAPE_V6_OPTION_DEFINITIONS) /
699 sizeof(MAPE_V6_OPTION_DEFINITIONS[0]);
702const OptionDefParams MAPT_V6_OPTION_DEFINITIONS[] = {
709const int MAPT_V6_OPTION_DEFINITIONS_SIZE =
710 sizeof(MAPT_V6_OPTION_DEFINITIONS) /
711 sizeof(MAPT_V6_OPTION_DEFINITIONS[0]);
714const OptionDefParams LW_V6_OPTION_DEFINITIONS[] = {
721const int LW_V6_OPTION_DEFINITIONS_SIZE =
722 sizeof(LW_V6_OPTION_DEFINITIONS) /
723 sizeof(LW_V6_OPTION_DEFINITIONS[0]);
726const OptionDefParams V4V6_RULE_OPTION_DEFINITIONS[] = {
731const int V4V6_RULE_OPTION_DEFINITIONS_SIZE =
732 sizeof(V4V6_RULE_OPTION_DEFINITIONS) /
733 sizeof(V4V6_RULE_OPTION_DEFINITIONS[0]);
736const OptionDefParams V4V6_BIND_OPTION_DEFINITIONS[] = {
741const int V4V6_BIND_OPTION_DEFINITIONS_SIZE =
742 sizeof(V4V6_BIND_OPTION_DEFINITIONS) /
743 sizeof(V4V6_BIND_OPTION_DEFINITIONS[0]);
@ D6O_DHCPV4_O_DHCPV6_SERVER
@ D6O_INFORMATION_REFRESH_TIME
@ D6O_CLIENT_LINKLAYER_ADDR
@ D6O_ERP_LOCAL_DOMAIN_NAME
@ DHO_NON_LOCAL_SOURCE_ROUTING
@ DHO_DHCP_MAX_MESSAGE_SIZE
@ DHO_NAME_SERVICE_SEARCH
@ DHO_DOMAIN_NAME_SERVERS
@ DHO_VENDOR_CLASS_IDENTIFIER
@ DHO_TRAILER_ENCAPSULATION
@ DHO_DHCP_REBINDING_TIME
@ DHO_DHCP_SERVER_IDENTIFIER
@ DHO_CLASSLESS_STATIC_ROUTE
@ DHO_SIP_UA_CONF_SERVICE_DOMAINS
@ DHO_DHCP_CLIENT_IDENTIFIER
@ DHO_ROUTER_SOLICITATION_ADDRESS
@ DHO_PATH_MTU_AGING_TIMEOUT
@ DHO_DHCP_REQUESTED_ADDRESS
@ DHO_RESOURCE_LOCATION_SERVERS
@ DHO_TCP_KEEPALIVE_INTERVAL
@ DHO_DHCP_OPTION_OVERLOAD
@ DHO_PATH_MTU_PLATEAU_TABLE
@ DHO_BCMCS_DOMAIN_NAME_LIST
@ DHO_PERFORM_MASK_DISCOVERY
@ DHO_VENDOR_ENCAPSULATED_OPTIONS
@ DHO_CLIENT_LAST_TRANSACTION_TIME
@ DHO_START_TIME_OF_STATE
@ DHO_TCP_KEEPALIVE_GARBAGE
@ DHO_IEEE802_3_ENCAPSULATION
@ DHO_DHCP_PARAMETER_REQUEST_LIST
@ DHO_MAX_DGRAM_REASSEMBLY
@ DHO_NETBIOS_NAME_SERVERS
@ RAI_OPTION_SERVER_ID_OVERRIDE
@ RAI_OPTION_SUBSCRIBER_ID
@ RAI_OPTION_AGENT_CIRCUIT_ID
@ RAI_OPTION_OPERATOR_REALM
@ RAI_OPTION_ACCESS_NETWORK_NAME
@ RAI_OPTION_VIRTUAL_SUBNET_SELECT_CTRL
@ RAI_OPTION_LINK_SELECTION
@ RAI_OPTION_VIRTUAL_SUBNET_SELECT
@ RAI_OPTION_DOCSIS_DEVICE_CLASS
@ RAI_OPTION_ACCESS_POINT_BSSID
@ RAI_OPTION_ACCESS_TECHNO_TYPE
@ RAI_OPTION_ACCESS_POINT_NAME
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 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