VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/Ip6Dxe/Ip6ConfigNv.h@ 80721

Last change on this file since 80721 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1/** @file
2 The header file of Ip6ConfigNv.c.
3
4 Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef _IP6_CONFIGNV_H_
11#define _IP6_CONFIGNV_H_
12
13#include "Ip6NvData.h"
14#include "Ip6ConfigImpl.h"
15
16extern UINT8 Ip6ConfigBin[];
17extern UINT8 Ip6DxeStrings[];
18
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::"
23
24typedef enum {
25 Ip6InterfaceTypeEthernet = 1,
26 Ip6InterfaceTypeExperimentalEthernet
27} IP6_INTERFACE_TYPE;
28
29typedef enum {
30 Ip6ConfigNvHostAddress,
31 Ip6ConfigNvGatewayAddress,
32 Ip6ConfigNvDnsAddress,
33 Ip6ConfigNvRouteTable
34} IP6_CONFIG_NV_ADDRESS_TYPE;
35
36/**
37 Install HII Config Access protocol for network device and allocate resources.
38
39 @param[in, out] Instance The IP6_CONFIG_INSTANCE to create a form.
40
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.
44
45**/
46EFI_STATUS
47Ip6ConfigFormInit (
48 IN OUT IP6_CONFIG_INSTANCE *Instance
49 );
50
51/**
52 Uninstall HII Config Access protocol for network device and free resource.
53
54 @param[in, out] Instance The IP6_CONFIG_INSTANCE to unload a form.
55
56**/
57VOID
58Ip6ConfigFormUnload (
59 IN OUT IP6_CONFIG_INSTANCE *Instance
60 );
61
62#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette