EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

MdePkg/Include/Protocol/VlanConfig.h

Go to the documentation of this file.
00001 
00018 #ifndef __EFI_VLANCONFIG_PROTOCOL_H__
00019 #define __EFI_VLANCONFIG_PROTOCOL_H__
00020 
00021 
00022 #define EFI_VLAN_CONFIG_PROTOCOL_GUID \
00023   { \
00024     0x9e23d768, 0xd2f3, 0x4366, {0x9f, 0xc3, 0x3a, 0x7a, 0xba, 0x86, 0x43, 0x74 } \
00025   }
00026 
00027 typedef struct _EFI_VLAN_CONFIG_PROTOCOL EFI_VLAN_CONFIG_PROTOCOL;
00028 
00029 
00033 typedef struct {
00034   UINT16          VlanId;     
00035   UINT8           Priority;   
00036 } EFI_VLAN_FIND_DATA;
00037 
00038 
00070 typedef
00071 EFI_STATUS
00072 (EFIAPI *EFI_VLAN_CONFIG_SET)(
00073   IN  EFI_VLAN_CONFIG_PROTOCOL     *This,
00074   IN  UINT16                       VlanId,
00075   IN  UINT8                        Priority
00076   );
00077 
00097 typedef
00098 EFI_STATUS
00099 (EFIAPI *EFI_VLAN_CONFIG_FIND)(
00100   IN  EFI_VLAN_CONFIG_PROTOCOL     *This,
00101   IN  UINT16                       *VlanId  OPTIONAL,
00102   OUT UINT16                       *NumberOfVlan,
00103   OUT EFI_VLAN_FIND_DATA           **Entries
00104   );
00105 
00123 typedef
00124 EFI_STATUS
00125 (EFIAPI *EFI_VLAN_CONFIG_REMOVE)(
00126   IN  EFI_VLAN_CONFIG_PROTOCOL     *This,
00127   IN  UINT16                       VlanId
00128   );
00129 
00135 struct _EFI_VLAN_CONFIG_PROTOCOL {
00136   EFI_VLAN_CONFIG_SET              Set;
00137   EFI_VLAN_CONFIG_FIND             Find;
00138   EFI_VLAN_CONFIG_REMOVE           Remove;
00139 };
00140 
00141 extern EFI_GUID gEfiVlanConfigProtocolGuid;
00142 
00143 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines