13#ifndef __EFI_MANAGED_NETWORK_PROTOCOL_H__
14#define __EFI_MANAGED_NETWORK_PROTOCOL_H__
21#define EFI_MANAGED_NETWORK_SERVICE_BINDING_PROTOCOL_GUID \
23 0xf36ff770, 0xa7e1, 0x42cf, {0x9e, 0xd2, 0x56, 0xf0, 0xf2, 0x71, 0xf4, 0x4c } \
26#define EFI_MANAGED_NETWORK_PROTOCOL_GUID \
28 0x7ab33a91, 0xace5, 0x4326, { 0xb5, 0x72, 0xe7, 0xee, 0x33, 0xd3, 0x9f, 0x16 } \
unsigned short UINT16
2-byte unsigned value.
unsigned char BOOLEAN
Logical Boolean.
unsigned int UINT32
4-byte unsigned value.
#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_GUID gEfiManagedNetworkServiceBindingProtocolGuid
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.
struct _EFI_MANAGED_NETWORK_PROTOCOL EFI_MANAGED_NETWORK_PROTOCOL
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_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_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.
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_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.
EFI_GUID gEfiManagedNetworkProtocolGuid
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_STATUS(EFIAPI * EFI_MANAGED_NETWORK_POLL)(IN EFI_MANAGED_NETWORK_PROTOCOL *This)
Polls for incoming data packets and processes outgoing data packets.
The EFI_SIMPLE_NETWORK_PROTOCOL provides services to initialize a network interface,...
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#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.
32-byte buffer containing a network Media Access Control address.
EFI_MANAGED_NETWORK_RECEIVE_DATA * RxData
When this token is used for receiving, RxData is a pointer to the EFI_MANAGED_NETWORK_RECEIVE_DATA.
EFI_MANAGED_NETWORK_TRANSMIT_DATA * TxData
When this token is used for transmitting, TxData is a pointer to the EFI_MANAGED_NETWORK_TRANSMIT_DAT...
EFI_STATUS Status
The status that is returned to the caller at the end of the operation to indicate whether this operat...
EFI_EVENT Event
This Event will be signaled after the Status field is updated by the MNP.
BOOLEAN EnableBroadcastReceive
Set to TRUE to receive packets that are sent to the network device broadcast address.
BOOLEAN EnableMulticastReceive
Set to TRUE to receive packets that are sent to any of the active multicast groups.
BOOLEAN FlushQueuesOnReset
Set to TRUE to drop queued packets when the configuration is changed.
UINT32 ReceivedQueueTimeoutValue
Timeout value for a UEFI one-shot timer event.
UINT16 ProtocolTypeFilter
Ethernet type II 16-bit protocol type in host byte order.
UINT32 TransmitQueueTimeoutValue
Timeout value for a UEFI one-shot timer event.
BOOLEAN DisableBackgroundPolling
Set to TRUE to disable background polling in this MNP instance.
BOOLEAN EnableUnicastReceive
Set to TRUE to receive packets that are sent to the network device MAC address.
BOOLEAN EnablePromiscuousReceive
Set to TRUE to receive packets that are sent to any MAC address.
BOOLEAN EnableReceiveTimestamps
Set to TRUE to timestamp all packets when they are received by the MNP.
VOID * DestinationAddress
EFI_MAC_ADDRESS * DestinationAddress
EFI_MAC_ADDRESS * SourceAddress
EFI_MANAGED_NETWORK_FRAGMENT_DATA FragmentTable[1]
EFI Time Abstraction: Year: 1900 - 9999 Month: 1 - 12 Day: 1 - 31 Hour: 0 - 23 Minute: 0 - 59 Second:...
The MNP is used by network applications (and drivers) to perform raw (unformatted) asynchronous netwo...
EFI_MANAGED_NETWORK_POLL Poll
EFI_MANAGED_NETWORK_GROUPS Groups
EFI_MANAGED_NETWORK_CANCEL Cancel
EFI_MANAGED_NETWORK_RECEIVE Receive
EFI_MANAGED_NETWORK_MCAST_IP_TO_MAC McastIpToMac
EFI_MANAGED_NETWORK_CONFIGURE Configure
EFI_MANAGED_NETWORK_GET_MODE_DATA GetModeData
EFI_MANAGED_NETWORK_TRANSMIT Transmit
16-byte buffer aligned on a 4-byte boundary.