13 #ifndef __EFI_MANAGED_NETWORK_PROTOCOL_H__ 14 #define __EFI_MANAGED_NETWORK_PROTOCOL_H__ 20 #define EFI_MANAGED_NETWORK_SERVICE_BINDING_PROTOCOL_GUID \ 22 0xf36ff770, 0xa7e1, 0x42cf, {0x9e, 0xd2, 0x56, 0xf0, 0xf2, 0x71, 0xf4, 0x4c } \ 25 #define EFI_MANAGED_NETWORK_PROTOCOL_GUID \ 27 0x7ab33a91, 0xace5, 0x4326, { 0xb5, 0x72, 0xe7, 0xee, 0x33, 0xd3, 0x9f, 0x16 } \ #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_MANAGED_NETWORK_TRANSMIT)(IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_COMPLETION_TOKEN *Token)
Places asynchronous outgoing data packets into the transmit queue.
EFI_MANAGED_NETWORK_TRANSMIT Transmit
EFI_STATUS(EFIAPI * EFI_MANAGED_NETWORK_GROUPS)(IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_MAC_ADDRESS *MacAddress OPTIONAL)
Enables and disables receive filters for multicast address.
EFI_MANAGED_NETWORK_MCAST_IP_TO_MAC McastIpToMac
The MNP is used by network applications (and drivers) to perform raw (unformatted) asynchronous netwo...
128 bit buffer containing a unique identifier value.
32-byte buffer containing a network Media Access Control address.
VOID * EFI_EVENT
Handle to an event structure.
EFI_MANAGED_NETWORK_GROUPS Groups
EFI_GUID gEfiManagedNetworkProtocolGuid
BOOLEAN DisableBackgroundPolling
Set to TRUE to disable background polling in this MNP instance.
EFI_MANAGED_NETWORK_POLL Poll
BOOLEAN EnableMulticastReceive
Set to TRUE to receive packets that are sent to any of the active multicast groups.
UINT32 ReceivedQueueTimeoutValue
Timeout value for a UEFI one-shot timer event.
VOID * DestinationAddress
FILE_LICENCE(BSD2_PATENT)
EFI_STATUS(EFIAPI * EFI_MANAGED_NETWORK_CONFIGURE)(IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL)
Sets or clears the operational parameters for the MNP child driver.
16-byte buffer aligned on a 4-byte boundary.
The EFI_SIMPLE_NETWORK_PROTOCOL provides services to initialize a network interface,...
EFI_STATUS(EFIAPI * EFI_MANAGED_NETWORK_MCAST_IP_TO_MAC)(IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN BOOLEAN Ipv6Flag, IN EFI_IP_ADDRESS *IpAddress, OUT EFI_MAC_ADDRESS *MacAddress)
Translates an IP multicast address to a hardware (MAC) multicast address.
EFI_STATUS(EFIAPI * EFI_MANAGED_NETWORK_RECEIVE)(IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_COMPLETION_TOKEN *Token)
Places an asynchronous receiving request into the receiving queue.
BOOLEAN EnableBroadcastReceive
Set to TRUE to receive packets that are sent to the network device broadcast address.
EFI_MANAGED_NETWORK_CANCEL Cancel
#define VOID
Undeclared type.
EFI_MAC_ADDRESS * SourceAddress
EFI_MAC_ADDRESS * DestinationAddress
UINT16 ProtocolTypeFilter
Ethernet type II 16-bit protocol type in host byte order.
EFI Time Abstraction: Year: 1900 - 9999 Month: 1 - 12 Day: 1 - 31 Hour: 0 - 23 Minute: 0 - 59 Second:...
EFI_STATUS(EFIAPI * EFI_MANAGED_NETWORK_GET_MODE_DATA)(IN EFI_MANAGED_NETWORK_PROTOCOL *This, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL)
Returns the operational parameters for the current MNP child driver.
EFI_EVENT Event
This Event will be signaled after the Status field is updated by the MNP.
EFI_STATUS Status
The status that is returned to the caller at the end of the operation to indicate whether this operat...
BOOLEAN EnablePromiscuousReceive
Set to TRUE to receive packets that are sent to any MAC address.
EFI_GUID gEfiManagedNetworkServiceBindingProtocolGuid
EFI_MANAGED_NETWORK_RECEIVE Receive
EFI_MANAGED_NETWORK_RECEIVE_DATA * RxData
When this token is used for receiving, RxData is a pointer to the EFI_MANAGED_NETWORK_RECEIVE_DATA.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_STATUS(EFIAPI * EFI_MANAGED_NETWORK_CANCEL)(IN EFI_MANAGED_NETWORK_PROTOCOL *This, IN EFI_MANAGED_NETWORK_COMPLETION_TOKEN *Token OPTIONAL)
Aborts an asynchronous transmit or receive request.
EFI_MANAGED_NETWORK_CONFIGURE Configure
BOOLEAN EnableReceiveTimestamps
Set to TRUE to timestamp all packets when they are received by the MNP.
EFI_MANAGED_NETWORK_GET_MODE_DATA GetModeData
UINT32 TransmitQueueTimeoutValue
Timeout value for a UEFI one-shot timer event.
BOOLEAN EnableUnicastReceive
Set to TRUE to receive packets that are sent to the network device MAC address.
EFI_STATUS(EFIAPI * EFI_MANAGED_NETWORK_POLL)(IN EFI_MANAGED_NETWORK_PROTOCOL *This)
Polls for incoming data packets and processes outgoing data packets.
BOOLEAN FlushQueuesOnReset
Set to TRUE to drop queued packets when the configuration is changed.
EFI_MANAGED_NETWORK_TRANSMIT_DATA * TxData
When this token is used for transmitting, TxData is a pointer to the EFI_MANAGED_NETWORK_TRANSMIT_DAT...