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