TianoCore EDK2 master
Loading...
Searching...
No Matches
Ip4NvData.h
Go to the documentation of this file.
1
9#ifndef _IP4_NV_DATA_H_
10#define _IP4_NV_DATA_H_
11
12#include <Guid/Ip4Config2Hii.h>
13
14#define FORMID_MAIN_FORM 1
15#define FORMID_DEVICE_FORM 2
16
17#define KEY_ENABLE 0x100
18#define KEY_DHCP_ENABLE 0x101
19#define KEY_LOCAL_IP 0x102
20#define KEY_SUBNET_MASK 0x103
21#define KEY_GATE_WAY 0x104
22#define KEY_DNS 0x105
23#define KEY_SAVE_CHANGES 0x106
24
25#define IP_MIN_SIZE 7
26#define IP_MAX_SIZE 15
27#define IP4_STR_MAX_SIZE 16
28#define ADDRESS_STR_MAX_SIZE 255
29#define MAX_IP4_CONFIG_DNS 16
30
35typedef struct {
36 UINT8 Configure;
37 UINT8 DhcpEnable;
38 CHAR16 StationAddress[IP4_STR_MAX_SIZE];
39 CHAR16 SubnetMask[IP4_STR_MAX_SIZE];
40 CHAR16 GatewayAddress[IP4_STR_MAX_SIZE];
41 CHAR16 DnsAddress[ADDRESS_STR_MAX_SIZE];
43
44#endif
UINT8 DhcpEnable
Static or DHCP.
Definition: Ip4NvData.h:37
UINT8 Configure
NIC configure status.
Definition: Ip4NvData.h:36