9#ifndef __EFI_MTFTP4_OPTION_H__
10#define __EFI_MTFTP4_OPTION_H__
12#define MTFTP4_SUPPORTED_OPTIONS 5
13#define MTFTP4_OPCODE_LEN 2
14#define MTFTP4_ERRCODE_LEN 2
15#define MTFTP4_BLKNO_LEN 2
16#define MTFTP4_DATA_HEAD_LEN 4
18#define MTFTP4_BLKSIZE_EXIST 0x01
19#define MTFTP4_TIMEOUT_EXIST 0x02
20#define MTFTP4_TSIZE_EXIST 0x04
21#define MTFTP4_MCAST_EXIST 0x08
22#define MTFTP4_WINDOWSIZE_EXIST 0x10
56 OUT UINT32 *OptionCount,
108extern CHAR8 *mMtftp4SupportedOptions[MTFTP4_SUPPORTED_OPTIONS];
EFI_STATUS Mtftp4ExtractOptions(IN EFI_MTFTP4_PACKET *Packet, IN UINT32 PacketLen, OUT UINT32 *OptionCount, OUT EFI_MTFTP4_OPTION **OptionList OPTIONAL)
EFI_STATUS Mtftp4ParseOption(IN EFI_MTFTP4_OPTION *Options, IN UINT32 Count, IN BOOLEAN Request, IN UINT16 Operation, OUT MTFTP4_OPTION *MtftpOption)
EFI_STATUS Mtftp4ParseOptionOack(IN EFI_MTFTP4_PACKET *Packet, IN UINT32 PacketLen, IN UINT16 Operation, OUT MTFTP4_OPTION *MtftpOption)