2 The header file of Ip6ConfigNv.c.
4 Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef _IP6_CONFIGNV_H_
11 #define _IP6_CONFIGNV_H_
13 #include "Ip6NvData.h"
14 #include "Ip6ConfigImpl.h"
16 extern UINT8 Ip6ConfigBin
[];
17 extern UINT8 Ip6DxeStrings
[];
19 #define IP6_ETHERNET L"Ethernet"
20 #define IP6_EXPERIMENTAL_ETHERNET L"Experimental Ethernet"
21 #define IP6_ADDRESS_DELIMITER L' '
22 #define IP6_LINK_LOCAL_PREFIX L"FE80::"
25 Ip6InterfaceTypeEthernet
= 1,
26 Ip6InterfaceTypeExperimentalEthernet
30 Ip6ConfigNvHostAddress
,
31 Ip6ConfigNvGatewayAddress
,
32 Ip6ConfigNvDnsAddress
,
34 } IP6_CONFIG_NV_ADDRESS_TYPE
;
37 Install HII Config Access protocol for network device and allocate resources.
39 @param[in, out] Instance The IP6_CONFIG_INSTANCE to create a form.
41 @retval EFI_SUCCESS The HII Config Access protocol is installed.
42 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
43 @retval Others Other errors as indicated.
48 IN OUT IP6_CONFIG_INSTANCE
*Instance
52 Uninstall HII Config Access protocol for network device and free resource.
54 @param[in, out] Instance The IP6_CONFIG_INSTANCE to unload a form.
59 IN OUT IP6_CONFIG_INSTANCE
*Instance