MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_EFI_MTFTP4_TOKEN Struct Reference

Data Fields

EFI_STATUS Status
 
EFI_EVENT Event
 
EFI_MTFTP4_OVERRIDE_DATAOverrideData
 
UINT8Filename
 
UINT8ModeStr
 
UINT32 OptionCount
 
EFI_MTFTP4_OPTIONOptionList
 
UINT64 BufferSize
 
VOIDBuffer
 
VOIDContext
 
EFI_MTFTP4_CHECK_PACKET CheckPacket
 
EFI_MTFTP4_TIMEOUT_CALLBACK TimeoutCallback
 
EFI_MTFTP4_PACKET_NEEDED PacketNeeded
 

Field Documentation

VOID* _EFI_MTFTP4_TOKEN::Buffer

The pointer to the data buffer. Data that is downloaded from the MTFTPv4 server is stored here. Data that is uploaded to the MTFTPv4 server is read from here. Ignored if BufferSize is zero.

UINT64 _EFI_MTFTP4_TOKEN::BufferSize

The size of the data buffer.

EFI_MTFTP4_CHECK_PACKET _EFI_MTFTP4_TOKEN::CheckPacket

The pointer to the callback function to check the contents of the received packet.

VOID* _EFI_MTFTP4_TOKEN::Context

The pointer to the context that will be used by CheckPacket, TimeoutCallback and PacketNeeded.

EFI_EVENT _EFI_MTFTP4_TOKEN::Event

The event that will be signaled when the operation completes. If set to NULL, the corresponding function will wait until the read or write operation finishes. The type of Event must be EVT_NOTIFY_SIGNAL. The Task Priority Level (TPL) of Event must be lower than or equal to TPL_CALLBACK.

UINT8* _EFI_MTFTP4_TOKEN::Filename

The pointer to the null-terminated ASCII file name string.

UINT8* _EFI_MTFTP4_TOKEN::ModeStr

The pointer to the null-terminated ASCII mode string. If NULL, "octet" is used.

UINT32 _EFI_MTFTP4_TOKEN::OptionCount

Number of option/value string pairs.

EFI_MTFTP4_OPTION* _EFI_MTFTP4_TOKEN::OptionList

The pointer to an array of option/value string pairs. Ignored if OptionCount is zero.

EFI_MTFTP4_OVERRIDE_DATA* _EFI_MTFTP4_TOKEN::OverrideData

If not NULL, the data that will be used to override the existing configure data.

EFI_MTFTP4_PACKET_NEEDED _EFI_MTFTP4_TOKEN::PacketNeeded

The pointer to the function to provide the needed packet contents.

EFI_STATUS _EFI_MTFTP4_TOKEN::Status

The status that is returned to the caller at the end of the operation to indicate whether this operation completed successfully.

EFI_MTFTP4_TIMEOUT_CALLBACK _EFI_MTFTP4_TOKEN::TimeoutCallback

The pointer to the function to be called when a timeout occurs.