10#ifndef __EFI_MTFTP6_IMPL_H__
11#define __EFI_MTFTP6_IMPL_H__
35#define MTFTP6_SERVICE_SIGNATURE SIGNATURE_32 ('M', 'F', '6', 'S')
36#define MTFTP6_INSTANCE_SIGNATURE SIGNATURE_32 ('M', 'F', '6', 'I')
38#define MTFTP6_DEFAULT_SERVER_CMD_PORT 69
39#define MTFTP6_DEFAULT_TIMEOUT 3
40#define MTFTP6_GET_MAPPING_TIMEOUT 3
41#define MTFTP6_DEFAULT_MAX_RETRY 5
42#define MTFTP6_DEFAULT_BLK_SIZE 512
43#define MTFTP6_DEFAULT_WINDOWSIZE 1
44#define MTFTP6_TICK_PER_SECOND 10000000U
46#define MTFTP6_SERVICE_FROM_THIS(a) CR (a, MTFTP6_SERVICE, ServiceBinding, MTFTP6_SERVICE_SIGNATURE)
47#define MTFTP6_INSTANCE_FROM_THIS(a) CR (a, MTFTP6_INSTANCE, Mtftp6, MTFTP6_INSTANCE_SIGNATURE)
91 UINT16 ServerDataPort;
105 BOOLEAN IsTransmitted;
134 UINTN NumberOfChildren;
264 IN UINT8 *ModeStr OPTIONAL,
265 IN UINT8 OptionCount,
267 OUT UINT32 *PacketLength,
307 OUT UINT32 *OptionCount,
EFI_STATUS EFIAPI EfiMtftp6GetModeData(IN EFI_MTFTP6_PROTOCOL *This, OUT EFI_MTFTP6_MODE_DATA *ModeData)
EFI_STATUS EFIAPI EfiMtftp6WriteFile(IN EFI_MTFTP6_PROTOCOL *This, IN EFI_MTFTP6_TOKEN *Token)
EFI_STATUS EFIAPI EfiMtftp6GetInfo(IN EFI_MTFTP6_PROTOCOL *This, IN EFI_MTFTP6_OVERRIDE_DATA *OverrideData OPTIONAL, IN UINT8 *Filename, IN UINT8 *ModeStr OPTIONAL, IN UINT8 OptionCount, IN EFI_MTFTP6_OPTION *OptionList OPTIONAL, OUT UINT32 *PacketLength, OUT EFI_MTFTP6_PACKET **Packet OPTIONAL)
EFI_STATUS EFIAPI EfiMtftp6ReadDirectory(IN EFI_MTFTP6_PROTOCOL *This, IN EFI_MTFTP6_TOKEN *Token)
EFI_STATUS EFIAPI EfiMtftp6Configure(IN EFI_MTFTP6_PROTOCOL *This, IN EFI_MTFTP6_CONFIG_DATA *MtftpConfigData OPTIONAL)
EFI_STATUS EFIAPI EfiMtftp6ParseOptions(IN EFI_MTFTP6_PROTOCOL *This, IN UINT32 PacketLen, IN EFI_MTFTP6_PACKET *Packet, OUT UINT32 *OptionCount, OUT EFI_MTFTP6_OPTION **OptionList OPTIONAL)
EFI_STATUS EFIAPI EfiMtftp6Poll(IN EFI_MTFTP6_PROTOCOL *This)
EFI_STATUS EFIAPI EfiMtftp6ReadFile(IN EFI_MTFTP6_PROTOCOL *This, IN EFI_MTFTP6_TOKEN *Token)