21#ifndef __EFI_IP4_PROTOCOL_H__
22#define __EFI_IP4_PROTOCOL_H__
29#define EFI_IP4_SERVICE_BINDING_PROTOCOL_GUID \
31 0xc51711e7, 0xb4bf, 0x404a, {0xbf, 0xb8, 0x0a, 0x04, 0x8e, 0xf1, 0xff, 0xe4 } \
34#define EFI_IP4_PROTOCOL_GUID \
36 0x41d94cd2, 0x35b6, 0x455a, {0x82, 0x58, 0xd4, 0xe5, 0x13, 0x34, 0xaa, 0xdd } \
unsigned short UINT16
2-byte unsigned value.
unsigned char BOOLEAN
Logical Boolean.
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
#define CONST
Datum is read-only.
#define VOID
Undeclared type.
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
EFI_STATUS(EFIAPI * EFI_IP4_CANCEL)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token OPTIONAL)
Abort an asynchronous transmit or receive request.
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)
Adds and deletes routing table entries.
EFI_STATUS(EFIAPI * EFI_IP4_POLL)(IN EFI_IP4_PROTOCOL *This)
Polls for incoming data packets and processes outgoing data packets.
EFI_STATUS(EFIAPI * EFI_IP4_GROUPS)(IN EFI_IP4_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_IPv4_ADDRESS *GroupAddress OPTIONAL)
Joins and leaves multicast groups.
EFI_GUID gEfiIp4ServiceBindingProtocolGuid
EFI_GUID gEfiIp4ProtocolGuid
struct _EFI_IP4_PROTOCOL EFI_IP4_PROTOCOL
EFI_STATUS(EFIAPI * EFI_IP4_RECEIVE)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token)
Places a receiving request into the receiving queue.
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)
Gets the current operational settings for this instance of the EFI IPv4 Protocol driver.
EFI_STATUS(EFIAPI * EFI_IP4_CONFIGURE)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_CONFIG_DATA *IpConfigData OPTIONAL)
Assigns an IPv4 address and subnet mask to this EFI IPv4 Protocol driver instance.
EFI_STATUS(EFIAPI * EFI_IP4_TRANSMIT)(IN EFI_IP4_PROTOCOL *This, IN EFI_IP4_COMPLETION_TOKEN *Token)
Places outgoing data packets into the transmit queue.
EFI_MANAGED_NETWORK_SERVICE_BINDING_PROTOCOL as defined in UEFI 2.0.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
IPv4_ADDRESS EFI_IPv4_ADDRESS
4-byte buffer.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
EFI_IP4_ADDRESS_PAIR is deprecated in the UEFI 2.4B and should not be used any more.
EFI_IPv4_ADDRESS SubnetMask
EFI_HANDLE InstanceHandle
EFI_IPv4_ADDRESS Ip4Address
EFI_EVENT Event
This Event will be signaled after the Status field is updated by the EFI IPv4 Protocol driver.
EFI_IP4_RECEIVE_DATA * RxData
When this token is used for receiving, RxData is a pointer to the EFI_IP4_RECEIVE_DATA.
EFI_STATUS Status
The status that is returned to the caller at the end of the operation to indicate whether this operat...
EFI_IP4_TRANSMIT_DATA * TxData
When this token is used for transmitting, TxData is a pointer to the EFI_IP4_TRANSMIT_DATA.
BOOLEAN AcceptBroadcast
Set to TRUE to receive broadcast IPv4 packets.
UINT8 TypeOfService
TypeOfService field in transmitted IPv4 packets.
UINT32 ReceiveTimeout
The timer timeout value (number of microseconds) for the receive timeout event to be associated with ...
EFI_IPv4_ADDRESS SubnetMask
The subnet address mask that is associated with the station address.
UINT8 TimeToLive
TimeToLive field in transmitted IPv4 packets.
BOOLEAN AcceptPromiscuous
Set to TRUE to receive all IPv4 packets that are sent to any hardware address or any protocol address...
BOOLEAN DoNotFragment
State of the DoNotFragment bit in transmitted IPv4 packets.
BOOLEAN AcceptAnyProtocol
Set to TRUE to receive all IPv4 packets that get through the receive filters.
UINT8 DefaultProtocol
The default IPv4 protocol packets to send and receive.
EFI_IPv4_ADDRESS StationAddress
The station IPv4 address that will be assigned to this EFI IPv4Protocol instance.
BOOLEAN AcceptIcmpErrors
Set to TRUE to receive ICMP error report packets.
BOOLEAN RawData
Set to TRUE to send and receive unformatted packets.
UINT32 TransmitTimeout
The timer timeout value (number of microseconds) for the transmit timeout event to be associated with...
BOOLEAN UseDefaultAddress
Set to TRUE to use the default IPv4 address and default routing table.
UINT32 MaxPacketSize
The maximum packet size, in bytes, of the packet which the upper layer driver could feed.
UINT32 IcmpTypeCount
Number of entries in the supported ICMP types list.
BOOLEAN IsConfigured
Set to TRUE when the EFI IPv4 Protocol instance has a station address and subnet mask.
EFI_IP4_CONFIG_DATA ConfigData
Current configuration settings.
EFI_IP4_ROUTE_TABLE * RouteTable
Routing table entries.
EFI_IP4_ICMP_TYPE * IcmpTypeList
Array of ICMP types and codes that are supported by this EFI IPv4 Protocol driver.
BOOLEAN IsStarted
Set to TRUE after this EFI IPv4 Protocol instance has been successfully configured.
UINT32 GroupCount
Number of joined multicast groups.
UINT32 RouteCount
Number of entries in the routing table.
EFI_IPv4_ADDRESS * GroupTable
List of joined multicast group addresses.
EFI_IPv4_ADDRESS SourceAddress
EFI_IPv4_ADDRESS GatewayAddress
EFI_IP4_FRAGMENT_DATA FragmentTable[1]
EFI_IPv4_ADDRESS SubnetAddress
EFI_IPv4_ADDRESS GatewayAddress
EFI_IPv4_ADDRESS SubnetMask
EFI_IP4_OVERRIDE_DATA * OverrideData
EFI_IPv4_ADDRESS DestinationAddress
EFI_IP4_FRAGMENT_DATA FragmentTable[1]
EFI_IP4_VARIABLE_DATA is deprecated in the UEFI 2.4B and should not be used any more.
EFI_IP4_ADDRESS_PAIR AddressPairs[1]
EFI Time Abstraction: Year: 1900 - 9999 Month: 1 - 12 Day: 1 - 31 Hour: 0 - 23 Minute: 0 - 59 Second:...
The EFI IPv4 Protocol implements a simple packet-oriented interface that can be used by drivers,...
EFI_IP4_CONFIGURE Configure
EFI_IP4_TRANSMIT Transmit
EFI_IP4_GET_MODE_DATA GetModeData