|
iPXE
|
A DHCP option. More...
#include <dhcp.h>
Data Fields | |
| uint8_t | tag |
| Tag. More... | |
| uint8_t | len |
| Length. More... | |
| uint8_t | data [0] |
| Option data. More... | |
A DHCP option.
DHCP options consist of a mandatory tag, a length field that is mandatory for all options except DHCP_PAD and DHCP_END, and a payload.
| uint8_t dhcp_option::len |
Length.
This is the length of the data field (i.e. excluding the tag and length fields). For the two tags DHCP_PAD and DHCP_END, the length field is implicitly zero and is also missing, i.e. these DHCP options are only a single byte in length.
Definition at line 595 of file dhcp.h.
Referenced by resize_dhcp_option().
1.8.15