Extensible Firmware Interface Specification
HeaderPtr
BufferSize
BufferPtr
Description
This function writes a UDP packet specified by the (optional
parameters to the network interface. The UDP header is automatically built by this routine. It uses
the parameters OpFlags, DestIp, DestPort, GatewayIp, SrcIp, and
this header. If the packet is successfully built and transmitted through the network interface, then
will be returned. If a timeout occurs during the transmission of the packet, then
EFI_SUCCESS
will be returned. If an ICMP error occurs during the transmission of the packet,
EFI_TIMEOUT
then the
IcmpErrorReceived
EFI_ICMP_ERROR
EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE, then
returned.
Status Codes Returned
EFI_SUCCESS
EFI_NOT_STARTED
EFI_INVALID_PARAMETER
EFI_DEVICE_ERROR
EFI_BAD_BUFFER_SIZE
EFI_ABORTED
EFI_TIMEOUT
EFI_ICMP_ERROR
262
If
is not NULL, a pointer to a header to be prepended to
HeaderSize
the data at BufferPtr.
A pointer to the size of the data at BufferPtr.
A pointer to the data to be written.
field is set to TRUE, the
will be returned. If the Callback Protocol does not return
The UDP Write operation was completed.
The PXE Base Code Protocol is in the stopped state.
One of the parameters is not valid.
The network device encountered an error during this operation.
The buffer is too long to be transmitted.
The callback function aborted the UDP Write operation.
The UDP Write operation timed out.
The UDP Write operation generated an error.
12/12/00
and)
HeaderPtr
BufferPtr
SrcPort
field is filled in and
IcmpError
EFI_ABORTED
Version 1.02
to build
will be
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?