TianoCore EDK2 master
Loading...
Searching...
No Matches
Ip4Config2Nv.h File Reference
#include "Ip4Impl.h"

Go to the source code of this file.

Macros

#define NIC_ITEM_CONFIG_SIZE   (sizeof (IP4_CONFIG2_INSTANCE) + (sizeof (EFI_IPv4_ADDRESS) * MAX_IP4_CONFIG_DNS))
 

Functions

EFI_STATUS Ip4Config2FormInit (IN OUT IP4_CONFIG2_INSTANCE *Instance)
 
VOID Ip4Config2FormUnload (IN OUT IP4_CONFIG2_INSTANCE *Instance)
 

Variables

UINT8 Ip4Config2Bin []
 
UINT8 Ip4DxeStrings []
 

Detailed Description

The header file of IP4Config2Nv.c

Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Ip4Config2Nv.h.

Macro Definition Documentation

◆ NIC_ITEM_CONFIG_SIZE

#define NIC_ITEM_CONFIG_SIZE   (sizeof (IP4_CONFIG2_INSTANCE) + (sizeof (EFI_IPv4_ADDRESS) * MAX_IP4_CONFIG_DNS))

Definition at line 17 of file Ip4Config2Nv.h.

Function Documentation

◆ Ip4Config2FormInit()

EFI_STATUS Ip4Config2FormInit ( IN OUT IP4_CONFIG2_INSTANCE Instance)

Install HII Config Access protocol for network device and allocate resource.

Parameters
[in,out]InstanceThe IP4 config2 Instance.
Return values
EFI_SUCCESSThe HII Config Access protocol is installed.
EFI_OUT_OF_RESOURCESFailed to allocate memory.
OthersOther errors as indicated.

Definition at line 1266 of file Ip4Config2Nv.c.

◆ Ip4Config2FormUnload()

VOID Ip4Config2FormUnload ( IN OUT IP4_CONFIG2_INSTANCE Instance)

Uninstall the HII Config Access protocol for network devices and free up the resources.

Parameters
[in,out]InstanceThe IP4 config2 instance to unload a form.

Definition at line 1413 of file Ip4Config2Nv.c.