]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | Header file for NV data structure definition.\r | |
3 | \r | |
4 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | #ifndef __VLAN_CONFIG_NV_DATA_H__\r | |
10 | #define __VLAN_CONFIG_NV_DATA_H__\r | |
11 | \r | |
12 | #include <Guid/HiiPlatformSetupFormset.h>\r | |
13 | #include <Guid/VlanConfigHii.h>\r | |
14 | \r | |
15 | #define VLAN_CONFIGURATION_VARSTORE_ID 0x0001\r | |
16 | #define VLAN_CONFIGURATION_FORM_ID 0x0001\r | |
17 | #define VLAN_HEAD_FORM_ID 0x0002\r | |
18 | \r | |
19 | #define VLAN_ADD_QUESTION_ID 0x1000\r | |
20 | #define VLAN_REMOVE_QUESTION_ID 0x2000\r | |
21 | #define VLAN_UPDATE_QUESTION_ID 0x3000\r | |
22 | \r | |
23 | #define LABEL_VLAN_LIST 0x0001\r | |
24 | #define LABEL_END 0xffff\r | |
25 | \r | |
26 | //\r | |
27 | // The maximum number of VLAN that will be displayed on the menu\r | |
28 | //\r | |
29 | #define MAX_VLAN_NUMBER 100\r | |
30 | \r | |
31 | //\r | |
32 | // Nv Data structure referenced by IFR\r | |
33 | //\r | |
34 | typedef struct {\r | |
35 | UINT16 VlanId;\r | |
36 | UINT8 Priority;\r | |
37 | UINT8 VlanList[MAX_VLAN_NUMBER];\r | |
38 | } VLAN_CONFIGURATION;\r | |
39 | \r | |
40 | #endif\r |