TianoCore EDK2
master
Loading...
Searching...
No Matches
VlanConfig.h
Go to the documentation of this file.
1
12
#ifndef __EFI_VLANCONFIG_PROTOCOL_H__
13
#define __EFI_VLANCONFIG_PROTOCOL_H__
14
15
#define EFI_VLAN_CONFIG_PROTOCOL_GUID \
16
{ \
17
0x9e23d768, 0xd2f3, 0x4366, {0x9f, 0xc3, 0x3a, 0x7a, 0xba, 0x86, 0x43, 0x74 } \
18
}
19
20
typedef
struct
_EFI_VLAN_CONFIG_PROTOCOL
EFI_VLAN_CONFIG_PROTOCOL
;
21
25
typedef
struct
{
26
UINT16
VlanId
;
27
UINT8
Priority
;
28
}
EFI_VLAN_FIND_DATA
;
29
61
typedef
62
EFI_STATUS
63
(EFIAPI *
EFI_VLAN_CONFIG_SET
)(
64
IN
EFI_VLAN_CONFIG_PROTOCOL
*This,
65
IN
UINT16 VlanId,
66
IN
UINT8 Priority
67
);
68
88
typedef
89
EFI_STATUS
90
(EFIAPI *
EFI_VLAN_CONFIG_FIND
)(
91
IN
EFI_VLAN_CONFIG_PROTOCOL
*This,
92
IN
UINT16 *VlanId
OPTIONAL
,
93
OUT
UINT16 *NumberOfVlan,
94
OUT
EFI_VLAN_FIND_DATA
**Entries
95
);
96
114
typedef
115
EFI_STATUS
116
(EFIAPI *
EFI_VLAN_CONFIG_REMOVE
)(
117
IN
EFI_VLAN_CONFIG_PROTOCOL
*This,
118
IN
UINT16 VlanId
119
);
120
126
struct
_EFI_VLAN_CONFIG_PROTOCOL
{
127
EFI_VLAN_CONFIG_SET
Set;
128
EFI_VLAN_CONFIG_FIND
Find;
129
EFI_VLAN_CONFIG_REMOVE
Remove;
130
};
131
132
extern
EFI_GUID
gEfiVlanConfigProtocolGuid;
133
134
#endif
OPTIONAL
#define OPTIONAL
Definition:
Base.h:290
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_VLAN_CONFIG_REMOVE
EFI_STATUS(EFIAPI * EFI_VLAN_CONFIG_REMOVE)(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId)
Definition:
VlanConfig.h:116
EFI_VLAN_CONFIG_SET
EFI_STATUS(EFIAPI * EFI_VLAN_CONFIG_SET)(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId, IN UINT8 Priority)
Definition:
VlanConfig.h:63
EFI_VLAN_CONFIG_FIND
EFI_STATUS(EFIAPI * EFI_VLAN_CONFIG_FIND)(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 *VlanId OPTIONAL, OUT UINT16 *NumberOfVlan, OUT EFI_VLAN_FIND_DATA **Entries)
Definition:
VlanConfig.h:90
_EFI_VLAN_CONFIG_PROTOCOL
Definition:
VlanConfig.h:126
EFI_VLAN_FIND_DATA
Definition:
VlanConfig.h:25
EFI_VLAN_FIND_DATA::Priority
UINT8 Priority
Priority of this VLAN.
Definition:
VlanConfig.h:27
EFI_VLAN_FIND_DATA::VlanId
UINT16 VlanId
Vlan Identifier.
Definition:
VlanConfig.h:26
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
VlanConfig.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6