2 The header file of Ip6ConfigNv.c.
4 Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
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.
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.
16 #ifndef _IP6_CONFIGNV_H_
17 #define _IP6_CONFIGNV_H_
19 #include "Ip6NvData.h"
20 #include "Ip6ConfigImpl.h"
22 extern UINT8 Ip6ConfigBin
[];
23 extern UINT8 Ip6DxeStrings
[];
25 #define IP6_HII_VENDOR_DEVICE_PATH_GUID \
27 0x13288098, 0xb11f, 0x45b9, { 0xbc, 0x4f, 0x91, 0xb5, 0x4b, 0xa3, 0x39, 0xb9 } \
30 #define IP6_ETHERNET L"Ethernet"
31 #define IP6_EXPERIMENTAL_ETHERNET L"Experimental Ethernet"
32 #define IP6_ADDRESS_DELIMITER L' '
33 #define IP6_LINK_LOCAL_PREFIX L"FE80::"
36 Ip6InterfaceTypeEthernet
= 1,
37 Ip6InterfaceTypeExperimentalEthernet
41 Ip6ConfigNvHostAddress
,
42 Ip6ConfigNvGatewayAddress
,
43 Ip6ConfigNvDnsAddress
,
45 } IP6_CONFIG_NV_ADDRESS_TYPE
;
48 Install HII Config Access protocol for network device and allocate resources.
50 @param[in, out] Instance The IP6_CONFIG_INSTANCE to create a form.
52 @retval EFI_SUCCESS The HII Config Access protocol is installed.
53 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
54 @retval Others Other errors as indicated.
59 IN OUT IP6_CONFIG_INSTANCE
*Instance
63 Uninstall HII Config Access protocol for network device and free resource.
65 @param[in, out] Instance The IP6_CONFIG_INSTANCE to unload a form.
70 IN OUT IP6_CONFIG_INSTANCE
*Instance