| 
    EDGESEC
    0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
    
   Secure router - reference implementation 
   | 
 
DHCP protocol schema definition. More...
#include <packet_decoder.h>
Data Fields | |
| char | id [MAX_RANDOM_UUID_LEN] | 
| uint8_t | op | 
| uint8_t | htype | 
| uint8_t | hlen | 
| uint8_t | hops | 
| uint32_t | xid | 
| uint16_t | secs | 
| uint16_t | flags | 
| char | ciaddr [OS_INET_ADDRSTRLEN] | 
| char | yiaddr [OS_INET_ADDRSTRLEN] | 
| char | siaddr [OS_INET_ADDRSTRLEN] | 
| char | giaddr [OS_INET_ADDRSTRLEN] | 
| char | chaddr [MACSTR_LEN] | 
DHCP protocol schema definition.
| char dhcp_schema::chaddr[MACSTR_LEN] | 
Packet client ether MAC addr
| char dhcp_schema::ciaddr[OS_INET_ADDRSTRLEN] | 
Packet IP address of this machine (if we already have one)
| uint16_t dhcp_schema::flags | 
Packet flags
| char dhcp_schema::giaddr[OS_INET_ADDRSTRLEN] | 
Packet IP address of DHCP relay
| uint8_t dhcp_schema::hlen | 
Packet length of hardware address (of this machine)
| uint8_t dhcp_schema::hops | 
Packet hops
| uint8_t dhcp_schema::htype | 
Packet type of hardware address for this machine (Ethernet, etc)
| char dhcp_schema::id[MAX_RANDOM_UUID_LEN] | 
Packet id
| uint8_t dhcp_schema::op | 
Packet packet type
| uint16_t dhcp_schema::secs | 
Packet seconds used in timing
| char dhcp_schema::siaddr[OS_INET_ADDRSTRLEN] | 
Packet IP address of DHCP server
| uint32_t dhcp_schema::xid | 
Packet random transaction id number - chosen by this machine
| char dhcp_schema::yiaddr[OS_INET_ADDRSTRLEN] | 
Packet IP address of this machine (offered by the DHCP server)