Intel Extensible Firmware Interface Network Router User Manual


  Open as PDF
of 1084
 
Protocols Network Support
Version 1.10 12/01/02 15-3
Receive Retrieves a packet from the receive queue, along with the status flags
that describe the packet type. See the Receive()
function description.
WaitForPacket Event used with WaitForEvent()
to wait for a packet to be received.
Mode Pointer to the EFI_SIMPLE_NETWORK_MODE
data for the device. See
“Related Definitions” below.
Related Definitions
//*******************************************************
// EFI_SIMPLE_NETWORK_MODE
//
// Note that the fields in this data structure are read-only and
// are updated by the code that produces the EFI_SIMPLE_NETWORK
// protocol functions. All these fields must be discovered
// during driver initialization.
//*******************************************************
typedef struct {
UINT32 State;
UINT32 HwAddressSize;
UINT32 MediaHeaderSize;
UINT32 MaxPacketSize;
UINT32 NvRamSize;
UINT32 NvRamAccessSize;
UINT32 ReceiveFilterMask;
UINT32 ReceiveFilterSetting;
UINT32 MaxMCastFilterCount;
UINT32 MCastFilterCount;
EFI_MAC_ADDRESS MCastFilter[MAX_MCAST_FILTER_CNT];
EFI_MAC_ADDRESS CurrentAddress;
EFI_MAC_ADDRESS BroadcastAddress;
EFI_MAC_ADDRESS PermanentAddress;
UINT8 IfType;
BOOLEAN MacAddressChangeable;
BOOLEAN MultipleTxSupported;
BOOLEAN MediaPresentSupported;
BOOLEAN MediaPresent;
} EFI_SIMPLE_NETWORK_MODE;
State Reports the current state of the network interface (see
EFI_SIMPLE_NETWORK_STATE
below). When an
EFI_SIMPLE_NETWORK driver has initialized a network
interface, it is left in the EfiSimpleNetworkStopped state.
HwAddressSize The size, in bytes, of the network interface’s HW address.
MediaHeaderSize The size, in bytes, of the network interface’s media header.