Kea  2.1.7-git
std_option_defs.h File Reference
#include <dhcp/option_data_types.h>
#include <dhcp/dhcp4.h>
#include <dhcp/dhcp6.h>
#include <dhcp/option_space.h>
+ Include dependency graph for std_option_defs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 isc
 Defines the logger used by the top-level component of kea-lfc.
 
 isc::dhcp
 

Macros

#define DHCP4_OPTION_SPACE   "dhcp4"
 global std option spaces More...
 
#define DHCP6_OPTION_SPACE   "dhcp6"
 
#define DHCP_AGENT_OPTION_SPACE   "dhcp-agent-options-space"
 encapsulated option spaces More...
 
#define ISC_V6_OPTION_SPACE   "4o6"
 
#define LAST_RESORT_V4_OPTION_SPACE   "last-resort-v4"
 
#define LW_V6_OPTION_SPACE   "s46-cont-lw-options"
 
#define MAPE_V6_OPTION_SPACE   "s46-cont-mape-options"
 
#define MAPT_V6_OPTION_SPACE   "s46-cont-mapt-options"
 
#define NO_RECORD_DEF   0, 0
 
#define RECORD_DECL(name, ...)   const OptionDataType name[] = { __VA_ARGS__ }
 Declare an array holding parameters used to create instance of a definition for option comprising a record of data fields. More...
 
#define RECORD_DEF(name)   name, sizeof(name) / sizeof(name[0])
 A pair of values: one pointing to the array holding types of data fields belonging to the record, and size of this array. More...
 
#define V4V6_BIND_OPTION_SPACE   "s46-v4v6bind-options"
 
#define V4V6_RULE_OPTION_SPACE   "s46-rule-options"
 
#define VENDOR_ENCAPSULATED_OPTION_SPACE   "vendor-encapsulated-options-space"
 

Macro Definition Documentation

◆ DHCP4_OPTION_SPACE

◆ DHCP6_OPTION_SPACE

◆ DHCP_AGENT_OPTION_SPACE

#define DHCP_AGENT_OPTION_SPACE   "dhcp-agent-options-space"

encapsulated option spaces

Definition at line 27 of file std_option_defs.h.

◆ ISC_V6_OPTION_SPACE

#define ISC_V6_OPTION_SPACE   "4o6"

Definition at line 18 of file std_option_defs.h.

◆ LAST_RESORT_V4_OPTION_SPACE

#define LAST_RESORT_V4_OPTION_SPACE   "last-resort-v4"

Definition at line 24 of file std_option_defs.h.

Referenced by isc::dhcp::LibDHCP::getLastResortOptionDefs().

◆ LW_V6_OPTION_SPACE

#define LW_V6_OPTION_SPACE   "s46-cont-lw-options"

Definition at line 21 of file std_option_defs.h.

Referenced by isc::yang::AdaptorOption::initCodes().

◆ MAPE_V6_OPTION_SPACE

#define MAPE_V6_OPTION_SPACE   "s46-cont-mape-options"

Definition at line 19 of file std_option_defs.h.

Referenced by isc::yang::AdaptorOption::initCodes().

◆ MAPT_V6_OPTION_SPACE

#define MAPT_V6_OPTION_SPACE   "s46-cont-mapt-options"

Definition at line 20 of file std_option_defs.h.

Referenced by isc::yang::AdaptorOption::initCodes().

◆ NO_RECORD_DEF

#define NO_RECORD_DEF   0, 0

Definition at line 56 of file std_option_defs.h.

◆ RECORD_DECL

#define RECORD_DECL (   name,
  ... 
)    const OptionDataType name[] = { __VA_ARGS__ }

Declare an array holding parameters used to create instance of a definition for option comprising a record of data fields.

Parameters
namename of the array being declared.

Definition at line 44 of file std_option_defs.h.

◆ RECORD_DEF

#define RECORD_DEF (   name)    name, sizeof(name) / sizeof(name[0])

A pair of values: one pointing to the array holding types of data fields belonging to the record, and size of this array.

Parameters
namename of the array holding data fields' types.

Definition at line 52 of file std_option_defs.h.

◆ V4V6_BIND_OPTION_SPACE

#define V4V6_BIND_OPTION_SPACE   "s46-v4v6bind-options"

Definition at line 23 of file std_option_defs.h.

Referenced by isc::yang::AdaptorOption::initCodes().

◆ V4V6_RULE_OPTION_SPACE

#define V4V6_RULE_OPTION_SPACE   "s46-rule-options"

Definition at line 22 of file std_option_defs.h.

Referenced by isc::yang::AdaptorOption::initCodes().

◆ VENDOR_ENCAPSULATED_OPTION_SPACE

#define VENDOR_ENCAPSULATED_OPTION_SPACE   "vendor-encapsulated-options-space"

Definition at line 28 of file std_option_defs.h.