Kea  1.5.0
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-dhcp-ddns.
 
 isc::dhcp
 

Macros

#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...
 

Macro Definition Documentation

◆ NO_RECORD_DEF

#define NO_RECORD_DEF   0, 0

Definition at line 42 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 30 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 38 of file std_option_defs.h.