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