7 #ifndef STD_OPTION_DEFS_H 8 #define STD_OPTION_DEFS_H 29 #define RECORD_DECL(name, ...) const OptionDataType name[] = { __VA_ARGS__ } 37 #define RECORD_DEF(name) name, sizeof(name) / sizeof(name[0]) 41 #define NO_RECORD_DEF 0, 0 93 const OptionDefParams STANDARD_V4_OPTION_DEFINITIONS[] = {
274 const int STANDARD_V4_OPTION_DEFINITIONS_SIZE =
275 sizeof(STANDARD_V4_OPTION_DEFINITIONS) /
sizeof(STANDARD_V4_OPTION_DEFINITIONS[0]);
279 const OptionDefParams LAST_RESORT_V4_OPTION_DEFINITIONS[] = {
284 const int LAST_RESORT_V4_OPTION_DEFINITIONS_SIZE = 1;
342 const OptionDefParams STANDARD_V6_OPTION_DEFINITIONS[] = {
475 const int STANDARD_V6_OPTION_DEFINITIONS_SIZE =
476 sizeof(STANDARD_V6_OPTION_DEFINITIONS) /
477 sizeof(STANDARD_V6_OPTION_DEFINITIONS[0]);
480 const OptionDefParams OPTION_DEF_PARAMS_S46_BR = {
"s46-br",
D6O_S46_BR,
482 const OptionDefParams OPTION_DEF_PARAMS_S46_RULE = {
"s46-rule",
D6O_S46_RULE,
484 const OptionDefParams OPTION_DEF_PARAMS_S46_PORTPARAMS = {
"s46-portparams",
493 const OptionDefParams ISC_V6_OPTION_DEFINITIONS[] = {
502 const int ISC_V6_OPTION_DEFINITIONS_SIZE =
503 sizeof(ISC_V6_OPTION_DEFINITIONS) /
504 sizeof(ISC_V6_OPTION_DEFINITIONS[0]);
507 const OptionDefParams MAPE_V6_OPTION_DEFINITIONS[] = {
508 OPTION_DEF_PARAMS_S46_BR,
509 OPTION_DEF_PARAMS_S46_RULE
512 const int MAPE_V6_OPTION_DEFINITIONS_SIZE =
513 sizeof(MAPE_V6_OPTION_DEFINITIONS) /
514 sizeof(MAPE_V6_OPTION_DEFINITIONS[0]);
517 const OptionDefParams MAPT_V6_OPTION_DEFINITIONS[] = {
518 OPTION_DEF_PARAMS_S46_RULE,
522 const int MAPT_V6_OPTION_DEFINITIONS_SIZE =
523 sizeof(MAPT_V6_OPTION_DEFINITIONS) /
524 sizeof(MAPT_V6_OPTION_DEFINITIONS[0]);
527 const OptionDefParams LW_V6_OPTION_DEFINITIONS[] = {
528 OPTION_DEF_PARAMS_S46_BR,
533 const int LW_V6_OPTION_DEFINITIONS_SIZE =
534 sizeof(LW_V6_OPTION_DEFINITIONS) /
535 sizeof(LW_V6_OPTION_DEFINITIONS[0]);
538 const OptionDefParams V4V6_RULE_OPTION_DEFINITIONS[] = {
539 OPTION_DEF_PARAMS_S46_PORTPARAMS
542 const int V4V6_RULE_OPTION_DEFINITIONS_SIZE =
543 sizeof(V4V6_RULE_OPTION_DEFINITIONS) /
544 sizeof(V4V6_RULE_OPTION_DEFINITIONS[0]);
547 const OptionDefParams V4V6_BIND_OPTION_DEFINITIONS[] = {
548 OPTION_DEF_PARAMS_S46_PORTPARAMS
551 const int V4V6_BIND_OPTION_DEFINITIONS_SIZE =
552 sizeof(V4V6_BIND_OPTION_DEFINITIONS) /
553 sizeof(V4V6_BIND_OPTION_DEFINITIONS[0]);
560 #endif // STD_OPTION_DEFS_H
#define RECORD_DECL(name,...)
Declare an array holding parameters used to create instance of a definition for option comprising a r...
#define V4V6_BIND_OPTION_SPACE
Defines the logger used by the top-level component of kea-dhcp-ddns.
#define MAPT_V6_OPTION_SPACE
#define LW_V6_OPTION_SPACE
#define V4V6_RULE_OPTION_SPACE
#define RECORD_DEF(name)
A pair of values: one pointing to the array holding types of data fields belonging to the record,...
#define MAPE_V6_OPTION_SPACE