10#ifndef __EFI_MTFTP6_OPTION_H__
11#define __EFI_MTFTP6_OPTION_H__
23#define MTFTP6_SUPPORTED_OPTIONS_NUM 5
24#define MTFTP6_OPCODE_LEN 2
25#define MTFTP6_ERRCODE_LEN 2
26#define MTFTP6_BLKNO_LEN 2
27#define MTFTP6_DATA_HEAD_LEN 4
32#define MTFTP6_OPT_BLKSIZE_BIT 0x01
33#define MTFTP6_OPT_TIMEOUT_BIT 0x02
34#define MTFTP6_OPT_TSIZE_BIT 0x04
35#define MTFTP6_OPT_MCAST_BIT 0x08
36#define MTFTP6_OPT_WINDOWSIZE_BIT 0X10
38extern CHAR8 *mMtftp6SupportedOptions[MTFTP6_SUPPORTED_OPTIONS_NUM];
112 IN OUT UINT32 *Count,
139 IN OUT UINT32 *OptionCount,
EFI_STATUS Mtftp6ParsePacketOption(IN EFI_MTFTP6_PACKET *Packet, IN UINT32 PacketLen, IN OUT UINT32 *Count, IN EFI_MTFTP6_OPTION *Options OPTIONAL)
EFI_STATUS Mtftp6ParseMcastOption(IN UINT8 *Str, IN MTFTP6_EXT_OPTION_INFO *ExtInfo)
EFI_STATUS Mtftp6ParseExtensionOption(IN EFI_MTFTP6_OPTION *Options, IN UINT32 Count, IN BOOLEAN IsRequest, IN UINT16 Operation, IN MTFTP6_EXT_OPTION_INFO *ExtInfo)
EFI_STATUS Mtftp6ParseStart(IN EFI_MTFTP6_PACKET *Packet, IN UINT32 PacketLen, IN OUT UINT32 *OptionCount, OUT EFI_MTFTP6_OPTION **OptionList OPTIONAL)