14.1.7 EFI_PXE_BASE_CODE.UdpRead()
Summary
Reads a UDP packet from the network interface.
Prototype
EFI_STATUS
(EFIAPI *EFI_PXE_BASE_CODE_UDP_READ) (
IN EFI_PXE_BASE_CODE
IN UINT16
IN OUT EFI_IP_ADDRESS
IN OUT EFI_PXE_BASE_CODE_UDP_PORT
IN OUT EFI_IP_ADDRESS
IN OUT EFI_PXE_BASE_CODE_UDP_PORT
IN UINTN
IN VOID
IN OUT UINTN
IN VOID
);
Parameters
This
OpFlags
DestIp
DestPort
SrcIp
SrcPort
HeaderSize
HeaderPtr
BufferSize
BufferPtr
Version 1.02
Pointer to the
EFI_PXE_BASE_CODE
The UDP operation flags.
The destination IP address.
The destination UDP port number.
The source IP address.
The source UDP port number.
An optional field which may be set to the length of a header to be put in
HeaderPtr.
If
is not NULL, a pointer to a buffer to hold the
HeaderSize
bytes which follow the UDP header.
HeaderSize
On input, a pointer to the size of the buffer at BufferPtr. On output,
the size of the data written to BufferPtr.
A pointer to the data to be read.
12/12/00
PXE Base Code Protocol
*This
OpFlags,
*DestIp,
OPTIONAL
*DestPort,
OPTIONAL
*SrcIp,
OPTIONAL
*SrcPort,
OPTIONAL
*HeaderSize, OPTIONAL
*HeaderPtr,
OPTIONAL
*BufferSize,
*BufferPtr
instance.
263
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?