Kea 2.7.6
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

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

Macros

#define CABLELABS_CLIENT_CONF_SPACE   "cablelabs-client-conf"
 
#define DHCP4_OPTION_SPACE   "dhcp4"
 global std option spaces
 
#define DHCP6_OPTION_SPACE   "dhcp6"
 
#define DHCP_AGENT_OPTION_SPACE   "dhcp-agent-options-space"
 encapsulated option spaces
 
#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.
 
#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.
 
#define V4V6_BIND_OPTION_SPACE   "s46-v4v6bind-options"
 
#define V4V6_RULE_OPTION_SPACE   "s46-rule-options"
 
#define V6_NTP_SERVER_SPACE   "v6-ntp-server-suboptions"
 
#define VENDOR_ENCAPSULATED_OPTION_SPACE   "vendor-encapsulated-options-space"
 

Macro Definition Documentation

◆ CABLELABS_CLIENT_CONF_SPACE

#define CABLELABS_CLIENT_CONF_SPACE   "cablelabs-client-conf"

Definition at line 25 of file std_option_defs.h.

◆ 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 29 of file std_option_defs.h.

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

◆ ISC_V6_OPTION_SPACE

#define ISC_V6_OPTION_SPACE   "4o6"

Definition at line 18 of file std_option_defs.h.

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

◆ LAST_RESORT_V4_OPTION_SPACE

#define LAST_RESORT_V4_OPTION_SPACE   "last-resort-v4"

Definition at line 26 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 58 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 46 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 54 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().

◆ V6_NTP_SERVER_SPACE

#define V6_NTP_SERVER_SPACE   "v6-ntp-server-suboptions"

Definition at line 24 of file std_option_defs.h.

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

◆ VENDOR_ENCAPSULATED_OPTION_SPACE

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

Definition at line 30 of file std_option_defs.h.