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
108 const OptionDefParams STANDARD_V4_OPTION_DEFINITIONS[] = {
347 true,
RECORD_DEF(V4_RDNSS_SELECT_RECORDS),
"" },
349 false,
RECORD_DEF(V4_PORTPARAMS_RECORDS),
"" },
361 const int STANDARD_V4_OPTION_DEFINITIONS_SIZE =
362 sizeof(STANDARD_V4_OPTION_DEFINITIONS) /
363 sizeof(STANDARD_V4_OPTION_DEFINITIONS[0]);
367 const OptionDefParams LAST_RESORT_V4_OPTION_DEFINITIONS[] = {
373 const int LAST_RESORT_V4_OPTION_DEFINITIONS_SIZE =
374 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS) /
375 sizeof(LAST_RESORT_V4_OPTION_DEFINITIONS[0]);
433 const OptionDefParams STANDARD_V6_OPTION_DEFINITIONS[] = {
469 false,
RECORD_DEF(VENDOR_CLASS_RECORDS),
"" },
523 RECORD_DEF(LQ_QUERY_RECORDS), DHCP6_OPTION_SPACE },
529 false,
RECORD_DEF(LQ_RELAY_DATA_RECORDS),
"" },
591 const int STANDARD_V6_OPTION_DEFINITIONS_SIZE =
592 sizeof(STANDARD_V6_OPTION_DEFINITIONS) /
593 sizeof(STANDARD_V6_OPTION_DEFINITIONS[0]);
601 const OptionDefParams ISC_V6_OPTION_DEFINITIONS[] = {
610 const int ISC_V6_OPTION_DEFINITIONS_SIZE =
611 sizeof(ISC_V6_OPTION_DEFINITIONS) /
612 sizeof(ISC_V6_OPTION_DEFINITIONS[0]);
615 const OptionDefParams MAPE_V6_OPTION_DEFINITIONS[] = {
622 const int MAPE_V6_OPTION_DEFINITIONS_SIZE =
623 sizeof(MAPE_V6_OPTION_DEFINITIONS) /
624 sizeof(MAPE_V6_OPTION_DEFINITIONS[0]);
627 const OptionDefParams MAPT_V6_OPTION_DEFINITIONS[] = {
634 const int MAPT_V6_OPTION_DEFINITIONS_SIZE =
635 sizeof(MAPT_V6_OPTION_DEFINITIONS) /
636 sizeof(MAPT_V6_OPTION_DEFINITIONS[0]);
639 const OptionDefParams LW_V6_OPTION_DEFINITIONS[] = {
646 const int LW_V6_OPTION_DEFINITIONS_SIZE =
647 sizeof(LW_V6_OPTION_DEFINITIONS) /
648 sizeof(LW_V6_OPTION_DEFINITIONS[0]);
651 const OptionDefParams V4V6_RULE_OPTION_DEFINITIONS[] = {
656 const int V4V6_RULE_OPTION_DEFINITIONS_SIZE =
657 sizeof(V4V6_RULE_OPTION_DEFINITIONS) /
658 sizeof(V4V6_RULE_OPTION_DEFINITIONS[0]);
661 const OptionDefParams V4V6_BIND_OPTION_DEFINITIONS[] = {
666 const int V4V6_BIND_OPTION_DEFINITIONS_SIZE =
667 sizeof(V4V6_BIND_OPTION_DEFINITIONS) /
668 sizeof(V4V6_BIND_OPTION_DEFINITIONS[0]);
675 #endif // STD_OPTION_DEFS_H
#define V4V6_BIND_OPTION_SPACE
#define V4V6_RULE_OPTION_SPACE
#define RECORD_DECL(name,...)
Declare an array holding parameters used to create instance of a definition for option comprising a r...
#define LW_V6_OPTION_SPACE
#define MAPT_V6_OPTION_SPACE
#define MAPE_V6_OPTION_SPACE
#define ISC_V6_OPTION_SPACE
#define DHCP_AGENT_OPTION_SPACE
encapsulated option spaces
Defines the logger used by the top-level component of kea-dhcp-ddns.
#define VENDOR_ENCAPSULATED_OPTION_SPACE
#define DHCP6_OPTION_SPACE
#define DHCP4_OPTION_SPACE
global std option spaces
#define RECORD_DEF(name)
A pair of values: one pointing to the array holding types of data fields belonging to the record...