12#ifndef __EFI_VLANCONFIG_PROTOCOL_H__
13#define __EFI_VLANCONFIG_PROTOCOL_H__
18#define EFI_VLAN_CONFIG_PROTOCOL_GUID \
20 0x9e23d768, 0xd2f3, 0x4366, {0x9f, 0xc3, 0x3a, 0x7a, 0xba, 0x86, 0x43, 0x74 } \
unsigned short UINT16
2-byte unsigned value.
unsigned char UINT8
1-byte unsigned value.
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
EFI_GUID gEfiVlanConfigProtocolGuid
EFI_STATUS(EFIAPI * EFI_VLAN_CONFIG_REMOVE)(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId)
Remove the configured VLAN device.
EFI_STATUS(EFIAPI * EFI_VLAN_CONFIG_SET)(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId, IN UINT8 Priority)
Create a VLAN device or modify the configuration parameter of an already-configured VLAN.
struct _EFI_VLAN_CONFIG_PROTOCOL EFI_VLAN_CONFIG_PROTOCOL
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)
Find configuration information for specified VLAN or all configured VLANs.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
UINT8 Priority
Priority of this VLAN.
UINT16 VlanId
Vlan Identifier.
EFI_VLAN_CONFIG_PROTOCOL provide manageability interface for VLAN setting.
EFI_VLAN_CONFIG_FIND Find
EFI_VLAN_CONFIG_REMOVE Remove