Extensible Firmware Interface Specification
Description
This function reads a UDP packet from a network interface. The data contents are returned in (the
optional
HeaderPtr
. If the input
BufferSize
HeaderSize), it will be set to the required size, and
returned. In this case, the contents of
packet is successfully received, then
UDP header will be returned in DestIp, DestPort, SrcIp, and
NULL. Depending on the values of
input values, different types of UDP packet receive filtering will be performed. The
SrcPort
following tables summarize these receive filter operations.
Table 14-2. Destination IP Filter Operation
OpFlags
OpFlags
USE_FILTER
ANY_DEST_IP
0
0
0
1
1
x
0
0
0
1
1
x
Table 14-3. Destination UDP Port Filter Operation
OpFlags
ANY_DEST_PORT
0
1
0
1
264
and) BufferPtr, and the size of the buffer received is returned in
is smaller than the UDP packet received (less optional
BufferSize
BufferPtr
EFI_SUCCESS
OpFlags
DestIp
Action
Receive a packet sent to
NULL
NULL
Receive a packet sent to any IP address.
NULL
Receive a packet whose destination IP address passes
the IP filter.
not NULL
Receive a packet whose destination IP address matches
DestIp
not NULL
Receive a packet sent to any IP address and, return the
destination IP address in
not NULL
Receive a packet whose destination IP address passes the
IP filter, and return the destination IP address in
DestPort
Action
EFI_INVALID_PARAMETER
Return
NULL
NULL
Receive a packet sent to any UDP port.
Receive a packet whose destination Port matches
not NULL
not NULL
Receive a packet sent to any UDP port, and return the destination port in
DestPort
.
12/12/00
EFI_BUFFER_TOO_SMALL
are undefined, and the packet is lost. If a UDP
will be returned, and the information from the
SrcPort
and the DestIp, DestPort, SrcIp, and
StationIp
.
DestIp
.
will be
if they are not
.
.
DestIp
.
DestPort
.
Version 1.02
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?