]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Option.h
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Mtftp4 option process routines.
23 #ifndef __EFI_MTFTP4_OPTION_H__
24 #define __EFI_MTFTP4_OPTION_H__
27 MTFTP4_SUPPORTED_OPTIONS
= 4,
28 MTFTP4_OPCODE_LEN
= 2,
29 MTFTP4_ERRCODE_LEN
= 2,
31 MTFTP4_DATA_HEAD_LEN
= 4,
33 MTFTP4_BLKSIZE_EXIST
= 0x01,
34 MTFTP4_TIMEOUT_EXIST
= 0x02,
35 MTFTP4_TSIZE_EXIST
= 0x04,
36 MTFTP4_MCAST_EXIST
= 0x08
50 Mtftp4ExtractOptions (
51 IN EFI_MTFTP4_PACKET
*Packet
,
53 IN OUT UINT32
*OptionCount
,
54 OUT EFI_MTFTP4_OPTION
**OptionList OPTIONAL
59 IN EFI_MTFTP4_OPTION
*OptionList
,
62 OUT MTFTP4_OPTION
*Option
66 Mtftp4ParseOptionOack (
67 IN EFI_MTFTP4_PACKET
*Packet
,
69 OUT MTFTP4_OPTION
*Option
72 extern CHAR8
*mMtftp4SupportedOptions
[MTFTP4_SUPPORTED_OPTIONS
];