io6Library
WIZnet Dual Stack TCP/IP Ethernet Controller Driver
Data Fields
RIP_MSG Struct Reference

Data Fields

uint8_t op
 DHCPV4_BOOTREQUEST or DHCPV4_BOOTREPLY More...
 
uint8_t htype
 DHCPV4_HTYPE10MB or DHCPV4_HTYPE100MB More...
 
uint8_t hlen
 DHCPV4_HLENETHERNET More...
 
uint8_t hops
 DHCPV4_HOPS More...
 
uint32_t xid
 DHCPV4_XID This increase one every DHCP transaction. More...
 
uint16_t secs
 DHCPV4_SECS More...
 
uint16_t flags
 DHCPV4_FLAGSBROADCAST or DHCPV4_FLAGSUNICAST More...
 
uint8_t ciaddr [4]
 Request IP to DHCP sever More...
 
uint8_t yiaddr [4]
 Offered IP from DHCP server More...
 
uint8_t siaddr [4]
 No use. More...
 
uint8_t giaddr [4]
 No use. More...
 
uint8_t chaddr [16]
 DHCP client 6bytes MAC address. Others is filled to zero. More...
 
uint8_t sname [64]
 No use. More...
 
uint8_t file [128]
 No use. More...
 
uint8_t OPT [OPT_SIZE]
 Option. More...
 

Detailed Description

Definition at line 173 of file dhcpv4.c.

Field Documentation

◆ op

uint8_t RIP_MSG::op

DHCPV4_BOOTREQUEST or DHCPV4_BOOTREPLY

Definition at line 174 of file dhcpv4.c.

Referenced by makeDHCPV4MSG(), and parseDHCPv4MSG().

◆ htype

uint8_t RIP_MSG::htype

DHCPV4_HTYPE10MB or DHCPV4_HTYPE100MB

Definition at line 175 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ hlen

uint8_t RIP_MSG::hlen

DHCPV4_HLENETHERNET

Definition at line 176 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ hops

uint8_t RIP_MSG::hops

DHCPV4_HOPS

Definition at line 177 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ xid

uint32_t RIP_MSG::xid

DHCPV4_XID This increase one every DHCP transaction.

Definition at line 178 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ secs

uint16_t RIP_MSG::secs

DHCPV4_SECS

Definition at line 179 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ flags

uint16_t RIP_MSG::flags

◆ ciaddr

uint8_t RIP_MSG::ciaddr[4]

Request IP to DHCP sever

Definition at line 181 of file dhcpv4.c.

Referenced by makeDHCPV4MSG(), and send_DHCPv4_REQUEST().

◆ yiaddr

uint8_t RIP_MSG::yiaddr[4]

Offered IP from DHCP server

Definition at line 182 of file dhcpv4.c.

Referenced by DHCPv4_run(), and makeDHCPV4MSG().

◆ siaddr

uint8_t RIP_MSG::siaddr[4]

No use.

Definition at line 183 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ giaddr

uint8_t RIP_MSG::giaddr[4]

No use.

Definition at line 184 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ chaddr

uint8_t RIP_MSG::chaddr[16]

DHCP client 6bytes MAC address. Others is filled to zero.

Definition at line 185 of file dhcpv4.c.

Referenced by makeDHCPV4MSG(), and parseDHCPv4MSG().

◆ sname

uint8_t RIP_MSG::sname[64]

No use.

Definition at line 186 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ file

uint8_t RIP_MSG::file[128]

No use.

Definition at line 187 of file dhcpv4.c.

Referenced by makeDHCPV4MSG().

◆ OPT

uint8_t RIP_MSG::OPT[OPT_SIZE]

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