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