EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Data Fields
dhcp_header Struct Reference

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]
 

Detailed Description

DHCP header definition (truncated)

Field Documentation

◆ chaddr

uint8_t dhcp_header::chaddr[16]

Client Hardware Address

◆ ciaddr

uint32_t dhcp_header::ciaddr

IP address of this machine (if we already have one)

◆ flags

uint16_t dhcp_header::flags

flags

◆ giaddr

uint32_t dhcp_header::giaddr

IP address of DHCP relay

◆ hlen

uint8_t dhcp_header::hlen

length of hardware address (of this machine)

◆ hops

uint8_t dhcp_header::hops

hops

◆ htype

uint8_t dhcp_header::htype

type of hardware address for this machine (Ethernet, etc)

◆ legacy

uint8_t dhcp_header::legacy[192]

192 octets of 0s. BOOTP legacy

◆ op

uint8_t dhcp_header::op

packet type

◆ secs

uint16_t dhcp_header::secs

seconds used in timing

◆ siaddr

uint32_t dhcp_header::siaddr

IP address of DHCP server

◆ xid

uint32_t dhcp_header::xid

random transaction id number - chosen by this machine

◆ yiaddr

uint32_t dhcp_header::yiaddr

IP address of this machine (offered by the DHCP server)


The documentation for this struct was generated from the following file: