EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
DHCP header definition (truncated) More...
#include <packet_decoder.h>
Data Fields | |
uint8_t | op |
uint8_t | htype |
uint8_t | hlen |
uint8_t | hops |
uint32_t | xid |
uint16_t | secs |
uint16_t | flags |
uint32_t | ciaddr |
uint32_t | yiaddr |
uint32_t | siaddr |
uint32_t | giaddr |
uint8_t | chaddr [16] |
uint8_t | legacy [192] |
DHCP header definition (truncated)
uint8_t dhcp_header::chaddr[16] |
Client Hardware Address
uint32_t dhcp_header::ciaddr |
IP address of this machine (if we already have one)
uint16_t dhcp_header::flags |
flags
uint32_t dhcp_header::giaddr |
IP address of DHCP relay
uint8_t dhcp_header::hlen |
length of hardware address (of this machine)
uint8_t dhcp_header::hops |
hops
uint8_t dhcp_header::htype |
type of hardware address for this machine (Ethernet, etc)
uint8_t dhcp_header::legacy[192] |
192 octets of 0s. BOOTP legacy
uint8_t dhcp_header::op |
packet type
uint16_t dhcp_header::secs |
seconds used in timing
uint32_t dhcp_header::siaddr |
IP address of DHCP server
uint32_t dhcp_header::xid |
random transaction id number - chosen by this machine
uint32_t dhcp_header::yiaddr |
IP address of this machine (offered by the DHCP server)