+++ /dev/null
-/** @file\r
- Routines used to operate the Ip4 configure variable.\r
-\r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at<BR>\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef _NIC_IP4_NV_DATA_H_\r
-#define _NIC_IP4_NV_DATA_H_\r
-\r
-#include <Guid/Ip4ConfigHii.h>\r
-\r
-#define FORMID_MAIN_FORM 1\r
-#define FORMID_DEVICE_FORM 2\r
-\r
-#define KEY_ENABLE 0x100\r
-#define KEY_DHCP_ENABLE 0x101\r
-#define KEY_LOCAL_IP 0x102\r
-#define KEY_SUBNET_MASK 0x103\r
-#define KEY_GATE_WAY 0x104\r
-#define KEY_SAVE_CHANGES 0x105\r
-\r
-#define IP_MIN_SIZE 7\r
-#define IP_MAX_SIZE 15\r
-#define IP4_STR_MAX_SIZE 16\r
-\r
-///\r
-/// NIC_IP4_CONFIG_INFO contains the IP4 configure\r
-/// parameters for that NIC. NIC_IP4_CONFIG_INFO is\r
-/// of variable length.\r
-///\r
-typedef struct {\r
- UINT8 Configure; ///< NIC configure status\r
- UINT8 DhcpEnable; ///< Static or DHCP\r
- CHAR16 StationAddress[IP4_STR_MAX_SIZE]; ///< IP addresses\r
- CHAR16 SubnetMask[IP4_STR_MAX_SIZE]; ///< Subnet address\r
- CHAR16 GatewayAddress[IP4_STR_MAX_SIZE]; ///< Gateway address\r
-} IP4_CONFIG_IFR_NVDATA;\r
-\r
-#endif\r
-\r