]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigNvData.h
1. Correct File header to ## @file
[mirror_edk2.git] / MdeModulePkg / Universal / Network / VlanConfigDxe / VlanConfigNvData.h
CommitLineData
779ae357 1/** @file\r
2 Header file for NV data structure definition.\r
3\r
4Copyright (c) 2009, Intel Corporation.<BR>\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions\r
7of the BSD License which accompanies this distribution. The full\r
8text of the license may be found at<BR>\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef __VLAN_CONFIG_NV_DATA_H__\r
17#define __VLAN_CONFIG_NV_DATA_H__\r
18\r
19#include <Guid/HiiPlatformSetupFormset.h>\r
20\r
21\r
22#define VLAN_CONFIG_PRIVATE_GUID \\r
23 { \\r
24 0xd79df6b0, 0xef44, 0x43bd, {0x97, 0x97, 0x43, 0xe9, 0x3b, 0xcf, 0x5f, 0xa8 } \\r
25 }\r
26\r
27#define VLAN_CONFIGURATION_VARSTORE_ID 0x0001\r
28#define VLAN_CONFIGURATION_FORM_ID 0x0001\r
29\r
30#define VLAN_ADD_QUESTION_ID 0x1000\r
31#define VLAN_REMOVE_QUESTION_ID 0x2000\r
32\r
33#define LABEL_VLAN_LIST 0x0001\r
34#define LABEL_END 0xffff\r
35\r
36//\r
37// The maximum number of VLAN that will be displayed on the menu\r
38//\r
39#define MAX_VLAN_NUMBER 100\r
40\r
41//\r
42// Nv Data structure referenced by IFR\r
43//\r
44typedef struct {\r
45 UINT16 VlanId;\r
46 UINT8 Priority;\r
47 UINT8 VlanList[MAX_VLAN_NUMBER];\r
48} VLAN_CONFIGURATION;\r
49\r
50#endif\r