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
21
25typedef struct {
26 UINT16 VlanId;
27 UINT8 Priority;
29
61typedef
63(EFIAPI *EFI_VLAN_CONFIG_SET)(
65 IN UINT16 VlanId,
66 IN UINT8 Priority
67 );
68
88typedef
90(EFIAPI *EFI_VLAN_CONFIG_FIND)(
92 IN UINT16 *VlanId OPTIONAL,
93 OUT UINT16 *NumberOfVlan,
94 OUT EFI_VLAN_FIND_DATA **Entries
95 );
96
114typedef
116(EFIAPI *EFI_VLAN_CONFIG_REMOVE)(
118 IN UINT16 VlanId
119 );
120
130};
131
132extern EFI_GUID gEfiVlanConfigProtocolGuid;
133
134#endif
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_STATUS(EFIAPI * EFI_VLAN_CONFIG_REMOVE)(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId)
Definition: VlanConfig.h:116
EFI_STATUS(EFIAPI * EFI_VLAN_CONFIG_SET)(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId, IN UINT8 Priority)
Definition: VlanConfig.h:63
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
UINT8 Priority
Priority of this VLAN.
Definition: VlanConfig.h:27
UINT16 VlanId
Vlan Identifier.
Definition: VlanConfig.h:26
Definition: Base.h:213