TianoCore EDK2 master
Loading...
Searching...
No Matches
VlanConfigNvData.h
Go to the documentation of this file.
1
9#ifndef __VLAN_CONFIG_NV_DATA_H__
10#define __VLAN_CONFIG_NV_DATA_H__
11
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//
34typedef struct {
35 UINT16 VlanId;
36 UINT8 Priority;
37 UINT8 VlanList[MAX_VLAN_NUMBER];
39
40#endif