14.1.6 EFI_PXE_BASE_CODE.UdpWrite()
Summary
Writes a UDP packet to the network interface.
Prototype
EFI_STATUS
(EFIAPI *EFI_PXE_BASE_CODE_UDP_WRITE) (
IN EFI_PXE_BASE_CODE
IN UINT16
IN EFI_IP_ADDRESS
IN EFI_PXE_BASE_CODE_UDP_PORT
IN EFI_IP_ADDRESS
IN EFI_IP_ADDRESS
IN OUT EFI_PXE_BASE_CODE_UDP_PORT
IN UINTN
IN VOID
IN UINTN
IN VOID
);
Parameters
This
OpFlags
DestIp
DestPort
GatewayIp
SrcIp
SrcPort
HeaderSize
Version 1.02
Pointer to the
EFI_PXE_BASE_CODE
The UDP operation flags. If
this UDP write operation may be broken up across multiple packets.
The destination IP address.
The destination UDP port number.
The gateway IP address. If
StationIp, then this gateway IP address will be used. If this field is
NULL, and the
is not in the same subnet as StationIp, then
DestIp
the
will be used.
RouteTable
The source IP address. If this field is NULL, then
used as the source IP address.
The source UDP port number. If
or
is NULL, then a source UDP port will be automatically
SrcPort
selected. If a source UDP port was automatically selected, and
is not NULL, then it will be returned in SrcPort.
SrcPort
An optional field which may be set to the length of a header at
to be prepended to the data at BufferPtr.
HeaderPtr
12/12/00
PXE Base Code Protocol
*This,
OpFlags,
*DestIp,
*DestPort,
*GatewayIp,
*SrcIp,
*SrcPort,
*HeaderSize, OPTIONAL
*HeaderPtr,
*BufferSize,
*BufferPtr
instance.
is set, then if required,
MAY_FRAGMENT
is not in the same subnet as
DestIp
StationIp
has
OpFlags
ANY_SRC_PORT
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
will be
set
261
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?