SIMPLE_NETWORK Protocol
Version 1.02 12/12/00 281
MediaPresentSupported TRUE if the presence of media can be determined; otherwise
FALSE. If FALSE, MediaPresent cannot be used.
MediaPresent TRUE if media are connected to the network interface;otherwise
FALSE. This field is only valid immediately after calling
Initialize().
//*******************************************************
// EFI_SIMPLE_NETWORK_STATE
//*******************************************************
typedef enum {
EfiSimpleNetworkStopped,
EfiSimpleNetworkStarted,
EfiSimpleNetworkInitialized,
EfiSimpleNetworkMaxState
} EFI_SIMPLE_NETWORK_STATE;
//*******************************************************
// MAX_MCAST_FILTER_CNT
//*******************************************************
#define MAX_MCAST_FILTER_CNT 16
//*******************************************************
// Bit Mask Values for ReceiveFilterSetting.
//
// Note that all other bit values are reserved.
//*******************************************************
#define EFI_SIMPLE_NETWORK_RECEIVE_UNICAST 0x01
#define EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST 0x02
#define EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST 0x04
#define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS 0x08
#define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST 0x10
Description
The EFI_SIMPLE_NETWORK protocol is used to initialize access to a network adapter. Once the
network adapter has been initialized, the EFI_SIMPLE_NETWORK protocol provides services that
allow packets to be transmitted and received. This provides a packet level interface that can then be
used by higher level drivers to produce boot services like DHCP, TFTP, and MTFTP. In addition,
this protocol can be used as a building block in a full UDP and TCP/IP implementation that can
produce a wide variety of application level network interfaces. See the Preboot Execution
Environment (PXE) Specification for more information.