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 V6_NTP_SERVER_SPACE "v6-ntp-server-suboptions"
25#define CABLELABS_CLIENT_CONF_SPACE "cablelabs-client-conf"
26#define LAST_RESORT_V4_OPTION_SPACE "last-resort-v4"
29#define DHCP_AGENT_OPTION_SPACE "dhcp-agent-options-space"
30#define VENDOR_ENCAPSULATED_OPTION_SPACE "vendor-encapsulated-options-space"
46#define RECORD_DECL(name, ...) const OptionDataType name[] = { __VA_ARGS__ }
54#define RECORD_DEF(name) name, sizeof(name) / sizeof(name[0])
58#define NO_RECORD_DEF 0, 0
113const OptionDefParams STANDARD_V4_OPTION_DEFINITIONS[] = {
358 true,
RECORD_DEF(V4_RDNSS_SELECT_RECORDS),
"" },
374 false,
RECORD_DEF(V4_PORTPARAMS_RECORDS),
"" },
386const int STANDARD_V4_OPTION_DEFINITIONS_SIZE =
387 sizeof(STANDARD_V4_OPTION_DEFINITIONS) /
388 sizeof(STANDARD_V4_OPTION_DEFINITIONS[0]);
391const OptionDefParams DHCP_AGENT_OPTION_DEFINITIONS[] = {
436const int DHCP_AGENT_OPTION_DEFINITIONS_SIZE =
437 sizeof(DHCP_AGENT_OPTION_DEFINITIONS) /
438 sizeof(DHCP_AGENT_OPTION_DEFINITIONS[0]);
442const OptionDefParams LAST_RESORT_V4_OPTION_DEFINITIONS[] = {
448const int LAST_RESORT_V4_OPTION_DEFINITIONS_SIZE =
449 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS) /
450 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS[0]);
508const OptionDefParams STANDARD_V6_OPTION_DEFINITIONS[] = {
538 false,
RECORD_DEF(V6_STATUS_CODE_RECORDS),
"" },
544 false,
RECORD_DEF(VENDOR_CLASS_RECORDS),
"" },
604 false,
RECORD_DEF(LQ_RELAY_DATA_RECORDS),
"" },
672const int STANDARD_V6_OPTION_DEFINITIONS_SIZE =
673 sizeof(STANDARD_V6_OPTION_DEFINITIONS) /
674 sizeof(STANDARD_V6_OPTION_DEFINITIONS[0]);
682const OptionDefParams ISC_V6_OPTION_DEFINITIONS[] = {
691const int ISC_V6_OPTION_DEFINITIONS_SIZE =
692 sizeof(ISC_V6_OPTION_DEFINITIONS) /
693 sizeof(ISC_V6_OPTION_DEFINITIONS[0]);
696const OptionDefParams MAPE_V6_OPTION_DEFINITIONS[] = {
703const int MAPE_V6_OPTION_DEFINITIONS_SIZE =
704 sizeof(MAPE_V6_OPTION_DEFINITIONS) /
705 sizeof(MAPE_V6_OPTION_DEFINITIONS[0]);
708const OptionDefParams MAPT_V6_OPTION_DEFINITIONS[] = {
715const int MAPT_V6_OPTION_DEFINITIONS_SIZE =
716 sizeof(MAPT_V6_OPTION_DEFINITIONS) /
717 sizeof(MAPT_V6_OPTION_DEFINITIONS[0]);
720const OptionDefParams LW_V6_OPTION_DEFINITIONS[] = {
727const int LW_V6_OPTION_DEFINITIONS_SIZE =
728 sizeof(LW_V6_OPTION_DEFINITIONS) /
729 sizeof(LW_V6_OPTION_DEFINITIONS[0]);
732const OptionDefParams V4V6_RULE_OPTION_DEFINITIONS[] = {
737const int V4V6_RULE_OPTION_DEFINITIONS_SIZE =
738 sizeof(V4V6_RULE_OPTION_DEFINITIONS) /
739 sizeof(V4V6_RULE_OPTION_DEFINITIONS[0]);
742const OptionDefParams V4V6_BIND_OPTION_DEFINITIONS[] = {
747const int V4V6_BIND_OPTION_DEFINITIONS_SIZE =
748 sizeof(V4V6_BIND_OPTION_DEFINITIONS) /
749 sizeof(V4V6_BIND_OPTION_DEFINITIONS[0]);
752const OptionDefParams V6_NTP_SERVER_DEFINITIONS[] = {
761const int V6_NTP_SERVER_DEFINITIONS_SIZE =
762 sizeof(V6_NTP_SERVER_DEFINITIONS) /
763 sizeof(V6_NTP_SERVER_DEFINITIONS[0]);
771const OptionDefParams CABLELABS_CLIENT_CONF_DEFINITIONS[] = {
794const int CABLELABS_CLIENT_CONF_DEFINITIONS_SIZE =
795 sizeof(CABLELABS_CLIENT_CONF_DEFINITIONS) /
796 sizeof(CABLELABS_CLIENT_CONF_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 V6_NTP_SERVER_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
#define CABLELABS_CLIENT_CONF_SPACE