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

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]
 

Detailed Description

DHCP protocol schema definition.

Field Documentation

◆ chaddr

char dhcp_schema::chaddr[MACSTR_LEN]

Packet client ether MAC addr

◆ ciaddr

char dhcp_schema::ciaddr[OS_INET_ADDRSTRLEN]

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

◆ flags

uint16_t dhcp_schema::flags

Packet flags

◆ giaddr

char dhcp_schema::giaddr[OS_INET_ADDRSTRLEN]

Packet IP address of DHCP relay

◆ hlen

uint8_t dhcp_schema::hlen

Packet length of hardware address (of this machine)

◆ hops

uint8_t dhcp_schema::hops

Packet hops

◆ htype

uint8_t dhcp_schema::htype

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

◆ id

char dhcp_schema::id[MAX_RANDOM_UUID_LEN]

Packet id

◆ op

uint8_t dhcp_schema::op

Packet packet type

◆ secs

uint16_t dhcp_schema::secs

Packet seconds used in timing

◆ siaddr

char dhcp_schema::siaddr[OS_INET_ADDRSTRLEN]

Packet IP address of DHCP server

◆ xid

uint32_t dhcp_schema::xid

Packet random transaction id number - chosen by this machine

◆ yiaddr

char dhcp_schema::yiaddr[OS_INET_ADDRSTRLEN]

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


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