21#ifndef __EFI_IP4_PROTOCOL_H__
22#define __EFI_IP4_PROTOCOL_H__
26#define EFI_IP4_SERVICE_BINDING_PROTOCOL_GUID \
28 0xc51711e7, 0xb4bf, 0x404a, {0xbf, 0xb8, 0x0a, 0x04, 0x8e, 0xf1, 0xff, 0xe4 } \
31#define EFI_IP4_PROTOCOL_GUID \
33 0x41d94cd2, 0x35b6, 0x455a, {0x82, 0x58, 0xd4, 0xe5, 0x13, 0x34, 0xaa, 0xdd } \
187 UINT8 HeaderLength : 4;
191 UINT16 Identification;
192 UINT16 Fragmentation;
202 UINT32 FragmentLength;
203 VOID *FragmentBuffer;
211 UINT32 OptionsLength;
214 UINT32 FragmentCount;
224 BOOLEAN DoNotFragment;
230 UINT32 OptionsLength;
232 UINT32 TotalDataLength;
233 UINT32 FragmentCount;
434 IN BOOLEAN DeleteRoute,
599extern EFI_GUID gEfiIp4ServiceBindingProtocolGuid;
EFI_STATUS(EFIAPI * EFI_IP4_CANCEL)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token OPTIONAL)
EFI_STATUS(EFIAPI * EFI_IP4_ROUTES)(IN EFI_IP4_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress)
EFI_STATUS(EFIAPI * EFI_IP4_POLL)(IN EFI_IP4_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_IP4_GROUPS)(IN EFI_IP4_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_IPv4_ADDRESS *GroupAddress OPTIONAL)
EFI_STATUS(EFIAPI * EFI_IP4_RECEIVE)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token)
EFI_STATUS(EFIAPI * EFI_IP4_GET_MODE_DATA)(IN CONST EFI_IP4_PROTOCOL *This, OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL)
EFI_STATUS(EFIAPI * EFI_IP4_CONFIGURE)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_CONFIG_DATA *IpConfigData OPTIONAL)
EFI_STATUS(EFIAPI * EFI_IP4_TRANSMIT)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token)
EFI_IP4_RECEIVE_DATA * RxData
EFI_IP4_TRANSMIT_DATA * TxData
EFI_IPv4_ADDRESS SubnetMask
BOOLEAN AcceptPromiscuous
BOOLEAN AcceptAnyProtocol
EFI_IPv4_ADDRESS StationAddress
BOOLEAN UseDefaultAddress
EFI_IP4_CONFIG_DATA ConfigData
EFI_IP4_ROUTE_TABLE * RouteTable
EFI_IP4_ICMP_TYPE * IcmpTypeList
EFI_IPv4_ADDRESS * GroupTable