Extensible Firmware Interface Specification
15-58 12/01/02 Version 1.10
Table 15-4. Source IP Filter Operation
OpFlags
ANY_SRC_IP
SrcIp
Action
0 NULL
Return
EFI_INVALID_PARAMETER.
1 NULL Receive a packet sent from any IP address.
0 not NULL
Receive a packet whose source IP address matches
SrcIp.
1 not NULL Receive a packet sent from any IP address, and return the source IP
address in
SrcIp.
Table 15-5. Source UDP Port Filter Operation
OpFlags
ANY_SRC_PORT
SrcPort
Action
0 NULL
Return
EFI_INVALID_PARAMETER.
1 NULL Receive a packet sent from any UDP port.
0 not NULL
Receive a packet whose source UDP port matches
SrcPort.
1 not NULL Receive a packet sent from any UDP port, and return the source UPD
port in
SrcPort.
Status Codes Returned
EFI_SUCCESS The UDP Read operation was completed.
EFI_NOT_STARTED The PXE Base Code Protocol is in the stopped state.
EFI_INVALID_PARAMETER One of the parameters is not valid.
EFI_DEVICE_ERROR The network device encountered an error during this operation.
EFI_BUFFER_TOO_SMALL
The packet is larger than
Buffer can hold.
EFI_ABORTED The callback function aborted the UDP Read operation.
EFI_TIMEOUT The UDP Read operation timed out.
EFI_ICMP_ERROR The UDP Read operation generated an error.