Changeset 80721 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/Mtftp6Dxe/Mtftp6Option.h
- Timestamp:
- Sep 11, 2019 8:46:37 AM (5 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-129237 /vendor/edk2/current 103735-103757,103769-103776,129194-133213
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/Mtftp6Dxe/Mtftp6Option.h
r48674 r80721 2 2 Mtftp6 option parse functions declaration. 3 3 4 Copyright (c) 2009 - 201 0, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> 5 5 6 This program and the accompanying materials 7 are licensed and made available under the terms and conditions of the BSD License 8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php. 10 11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 6 SPDX-License-Identifier: BSD-2-Clause-Patent 13 7 14 8 **/ … … 27 21 #include <Library/UefiRuntimeServicesTableLib.h> 28 22 29 #define MTFTP6_SUPPORTED_OPTIONS_NUM 423 #define MTFTP6_SUPPORTED_OPTIONS_NUM 5 30 24 #define MTFTP6_OPCODE_LEN 2 31 25 #define MTFTP6_ERRCODE_LEN 2 … … 40 34 #define MTFTP6_OPT_TSIZE_BIT 0x04 41 35 #define MTFTP6_OPT_MCAST_BIT 0x08 36 #define MTFTP6_OPT_WINDOWSIZE_BIT 0X10 42 37 43 38 extern CHAR8 *mMtftp6SupportedOptions[MTFTP6_SUPPORTED_OPTIONS_NUM]; … … 45 40 typedef struct { 46 41 UINT16 BlkSize; 42 UINT16 WindowSize; 47 43 UINT8 Timeout; 48 44 UINT32 Tsize; … … 77 73 @param[in] IsRequest If FALSE, the extension options is included 78 74 by a request packet. 75 @param[in] Operation The current performed operation. 79 76 @param[in] ExtInfo The pointer to the option information to be filled. 80 77 81 @retval EFI_SUCCESS Parse the multi -cast option successfully.82 @retval EFI_INVALID_PARAMETER An option is malformatted.83 @retval EFI_UNSUPPORTED An option is not supported.78 @retval EFI_SUCCESS Parse the multicast option successfully. 79 @retval EFI_INVALID_PARAMETER There is one option is malformatted at least. 80 @retval EFI_UNSUPPORTED There is one option is not supported at least. 84 81 85 82 **/ … … 89 86 IN UINT32 Count, 90 87 IN BOOLEAN IsRequest, 88 IN UINT16 Operation, 91 89 IN MTFTP6_EXT_OPTION_INFO *ExtInfo 92 90 );
Note:
See TracChangeset
for help on using the changeset viewer.