14.1.5 EFI_PXE_BASE_CODE.Mtftp()
Summary
Used to perform TFTP and MTFTP services.
Prototype
EFI_STATUS
(EFIAPI *EFI_PXE_BASE_CODE_MTFTP) (
IN EFI_PXE_BASE_CODE
IN EFI_PXE_BASE_CODE_TFTP_OPCODE
IN OUT VOID
IN BOOLEAN
IN OUT UINTN
IN UINTN
IN EFI_IP_ADDRESS
IN CHAR8
IN EFI_PXE_BASE_CODE_MTFTP_INFO
IN BOOLEAN
);
Parameters
This
Operation
BufferPtr
Overwrite
BufferSize
BlockSize
ServerIp
Filename
Version 1.02
Pointer to the
EFI_PXE_BASE_CODE
The type of operation to perform. See "Related Definitions" for the list
of operation types.
A pointer to the data buffer. Ignored for read file if
is TRUE.
Only used on write file operations.
be overwritten.
For read-file and write-file operations, this is the size of the buffer
specified by BufferPtr. For read file operations, if
smaller than the size of the file being read, then this field will return the
required size. For get-file size operations, this field returns the size of
the requested file.
The requested block size to be used during a TFTP transfer. This must
be at least 512. If this field is NULL, then the largest block size
supported by the implementation will be used.
The TFTP / MTFTP server IP address.
A Null-terminated ASCII string that specifies a directory name or a file
name. This is ignored by MTFTP read directory.
12/12/00
PXE Base Code Protocol
*This,
Operation,
*BufferPtr, OPTIONAL
Overwrite,
*BufferSize,
*BlockSize, OPTIONAL
*ServerIp,
*Filename, OPTIONAL
*Info, OPTIONAL
DontUseBuffer
instance.
DontUseBuffer
if a file on a remote server can
TRUE
BufferSize
is
257
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?