15#ifndef __EFI_DHCP4_PROTOCOL_H__
16#define __EFI_DHCP4_PROTOCOL_H__
18#define EFI_DHCP4_PROTOCOL_GUID \
20 0x8a219718, 0x4ef5, 0x4761, {0x91, 0xc8, 0xc0, 0xf0, 0x4b, 0xda, 0x9e, 0x56 } \
23#define EFI_DHCP4_SERVICE_BINDING_PROTOCOL_GUID \
25 0x9d9a39d8, 0xbd42, 0x4a73, {0xa4, 0xd5, 0x8e, 0xe9, 0x4b, 0xe1, 0x13, 0x80 } \
63 UINT8 ClientHwAddr[16];
65 CHAR8 BootFileName[128];
571 IN BOOLEAN RebindRequest,
663 IN UINT32 DeleteCount,
665 IN UINT32 AppendCount,
739 IN OUT UINT32 *OptionCount,
759extern EFI_GUID gEfiDhcp4ProtocolGuid;
760extern EFI_GUID gEfiDhcp4ServiceBindingProtocolGuid;
EFI_STATUS(EFIAPI * EFI_DHCP4_PARSE)(IN EFI_DHCP4_PROTOCOL *This, IN EFI_DHCP4_PACKET *Packet, IN OUT UINT32 *OptionCount, OUT EFI_DHCP4_PACKET_OPTION *PacketOptionList[] OPTIONAL)
EFI_STATUS(EFIAPI * EFI_DHCP4_STOP)(IN EFI_DHCP4_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_DHCP4_TRANSMIT_RECEIVE)(IN EFI_DHCP4_PROTOCOL *This, IN EFI_DHCP4_TRANSMIT_RECEIVE_TOKEN *Token)
EFI_STATUS(EFIAPI * EFI_DHCP4_BUILD)(IN EFI_DHCP4_PROTOCOL *This, IN EFI_DHCP4_PACKET *SeedPacket, IN UINT32 DeleteCount, IN UINT8 *DeleteList OPTIONAL, IN UINT32 AppendCount, IN EFI_DHCP4_PACKET_OPTION *AppendList[] OPTIONAL, OUT EFI_DHCP4_PACKET **NewPacket)
EFI_STATUS(EFIAPI * EFI_DHCP4_START)(IN EFI_DHCP4_PROTOCOL *This, IN EFI_EVENT CompletionEvent OPTIONAL)
EFI_STATUS(EFIAPI * EFI_DHCP4_RELEASE)(IN EFI_DHCP4_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_DHCP4_RENEW_REBIND)(IN EFI_DHCP4_PROTOCOL *This, IN BOOLEAN RebindRequest, IN EFI_EVENT CompletionEvent OPTIONAL)
EFI_STATUS(EFIAPI * EFI_DHCP4_CONFIGURE)(IN EFI_DHCP4_PROTOCOL *This, IN EFI_DHCP4_CONFIG_DATA *Dhcp4CfgData OPTIONAL)
EFI_STATUS(EFIAPI * EFI_DHCP4_GET_MODE_DATA)(IN EFI_DHCP4_PROTOCOL *This, OUT EFI_DHCP4_MODE_DATA *Dhcp4ModeData)
EFI_STATUS(EFIAPI * EFI_DHCP4_CALLBACK)(IN EFI_DHCP4_PROTOCOL *This, IN VOID *Context, IN EFI_DHCP4_STATE CurrentState, IN EFI_DHCP4_EVENT Dhcp4Event, IN EFI_DHCP4_PACKET *Packet OPTIONAL, OUT EFI_DHCP4_PACKET **NewPacket OPTIONAL)
EFI_DHCP4_PACKET_OPTION ** OptionList
EFI_IPv4_ADDRESS ClientAddress
EFI_DHCP4_CALLBACK Dhcp4Callback
EFI_IPv4_ADDRESS ClientAddr
Client IP address from client.
EFI_IPv4_ADDRESS ServerAddr
IP address of next server in bootstrap.
EFI_IPv4_ADDRESS GatewayAddr
Relay agent IP address.
EFI_IPv4_ADDRESS YourAddr
Client IP address from server.
EFI_IPv4_ADDRESS ListenAddress
EFI_IPv4_ADDRESS SubnetMask
EFI_IPv4_ADDRESS ServerAddress
EFI_IPv4_ADDRESS SubnetMask
EFI_DHCP4_CONFIG_DATA ConfigData
EFI_IPv4_ADDRESS RouterAddress
EFI_IPv4_ADDRESS ClientAddress
EFI_DHCP4_PACKET * ReplyPacket
EFI_MAC_ADDRESS ClientMacAddress
EFI_IPv4_ADDRESS RemoteAddress
EFI_DHCP4_LISTEN_POINT * ListenPoints
EFI_DHCP4_PACKET * Packet
EFI_IPv4_ADDRESS GatewayAddress
EFI_DHCP4_PACKET * ResponseList
EFI_EVENT CompletionEvent