![Intel Extensible Firmware Interface Specification Download Page 319](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117319.webp)
SIMPLE_NETWORK Protocol
Version 1.02
12/12/00
301
Description
This function retrieves one packet from the receive queue of a network interface. If there are no
packets on the receive queue, then
EFI_NOT_READY
will be returned. If there is a packet on the
receive queue, and the size of the packet is smaller than
BufferSize
, then the contents of the
packet will be placed in
Buffer
, and
BufferSize
will be updated with the actual size of the
packet. In addition, if
SrcAddr
,
DestAddr
, and
Protocol
are not
NULL
, then these values
will be extracted from the media header and returned.
EFI_SUCCESS
will be returned if a packet
was successfully received. If
BufferSize
is smaller than the received packet, then the size of
the receive packet will be placed in
BufferSize
and
EFI_BUFFER_TOO_SMALL
will be
returned. If the driver has not been initialized,
EFI_DEVICE_ERROR
will be returned.
Status Codes Returned
EFI_SUCCESS
The received data was stored in
Buffer
, and
BufferSize
has
been updated to the number of bytes received.
EFI_NOT_STARTED
The network interface has not been started.
EFI_NOT_READY
No packets have been received on the network interface.
EFI_BUFFER_TOO_SMALL
BufferSize
is too small for the received packets.
BufferSize
has been updated to the required size.
EFI_INVALID_PARAMETER
One or more of the parameters has an unsupported value.
EFI_DEVICE_ERROR
The command could not be sent to the network interface.
EFI_UNSUPPORTED
This function is not supported by the network interface.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...