2 Define NVData structures used by the HTTP Boot configuration component.
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _HTTP_BOOT_NVDATA_STRUC_H_
16 #define _HTTP_BOOT_NVDATA_STRUC_H_
18 #include <Guid/HttpBootConfigHii.h>
20 #define HTTP_BOOT_IP_VERSION_4 0
21 #define HTTP_BOOT_IP_VERSION_6 1
24 // Macros used for an IPv4 or an IPv6 address.
26 #define URI_STR_MIN_SIZE 8
27 #define URI_STR_MAX_SIZE 255
29 #define CONFIGURATION_VARSTORE_ID 0x1234
31 #define FORMID_MAIN_FORM 1
34 typedef struct _HTTP_BOOT_CONFIG_IFR_NVDATA
{
37 CHAR16 Description
[URI_STR_MAX_SIZE
];
38 CHAR16 Uri
[URI_STR_MAX_SIZE
];
39 } HTTP_BOOT_CONFIG_IFR_NVDATA
;