Intel Extensible Firmware Interface User Manual
Page 642

Extensible Firmware Interface Specification
15-36
12/01/02
Version 1.10
//*******************************************************
// EFI_MAC_ADDRESS
//*******************************************************
typedef struct {
UINT8
Addr[32];
} EFI_MAC_ADDRESS;
DHCP Packet Data Types
This section defines the data types for DHCP packets, ICMP error packets, and TFTP error packets.
All of these are byte-packed data structures.
NOTE
All the multibyte fields in these structures are stored in network order.
//*******************************************************
// EFI_PXE_BASE_CODE_DHCPV4_PACKET
//*******************************************************
typedef struct {
UINT8
BootpOpcode;
UINT8
BootpHwType;
UINT8
BootpHwAddrLen;
UINT8
BootpGateHops;
UINT32
BootpIdent;
UINT16
BootpSeconds;
UINT16
BootpFlags;
UINT8
BootpCiAddr[4];
UINT8
BootpYiAddr[4];
UINT8
BootpSiAddr[4];
UINT8
BootpGiAddr[4];
UINT8
BootpHwAddr[16];
UINT8
BootpSrvName[64];
UINT8
BootpBootFile[128];
UINT32
DhcpMagik;
UINT8
DhcpOptions[56];
} EFI_PXE_BASE_CODE_DHCPV4_PACKET;
// TBD in EFI v1.1
// typedef struct {
// } EFI_PXE_BASE_CODE_DHCPV6_PACKET;