]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigNvData.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[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
9ea13d79 4Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
9d510e61 5SPDX-License-Identifier: BSD-2-Clause-Patent\r
779ae357 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
c8ad2d7a 13#include <Guid/VlanConfigHii.h>\r
779ae357 14\r
15#define VLAN_CONFIGURATION_VARSTORE_ID 0x0001\r
16#define VLAN_CONFIGURATION_FORM_ID 0x0001\r
9ea13d79 17#define VLAN_HEAD_FORM_ID 0x0002\r
779ae357 18\r
19#define VLAN_ADD_QUESTION_ID 0x1000\r
20#define VLAN_REMOVE_QUESTION_ID 0x2000\r
9ea13d79 21#define VLAN_UPDATE_QUESTION_ID 0x3000\r
779ae357 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
34typedef 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