Extensible Firmware Interface Specification
274 12/12/00 Version 1.02
14.2.1 EFI_PXE_BASE_CODE_CALLBACK.Callback()
Summary
Callback function that is invoked when the PXE Base Code Protocol is about to transmit, has
received, or is waiting to receive a packet.
Prototype
EFI_PXE_BASE_CODE_CALLBACK_STATUS
(*EFI_PXE_CALLBACK) (
IN EFI_PXE_BASE_CODE_CALLBACK *This,
IN EFI_PXE_BASE_CODE_FUNCTION Function,
IN BOOLEAN Received,
IN UINT32 PacketLen,
IN EFI_PXE_BASE_CODE_PACKET *Packet OPTIONAL
);
Parameters
This Pointer to the EFI_PXE_BASE_CODE instance.
Function The PXE Base Code Protocol function that is waiting for an event.
Received TRUE if the callback is being invoked due to a receive event. FALSE if
the callback is being invoked due to a transmit event.
PacketLen The length, in bytes, of Packet. This field will have a value of zero if
this is a wait for receive event.
Packet If Received is TRUE, a pointer to the packet that was just received;
otherwise a pointer to the packet that is about to be transmitted. This
field will be NULL if this is not a packet event.