TianoCore EDK2 master
Loading...
Searching...
No Matches
MnpVlan.h
Go to the documentation of this file.
1
9#ifndef __MNP_VLAN_H__
10#define __MNP_VLAN_H__
11
12#include "MnpDriver.h"
13
14extern EFI_VLAN_CONFIG_PROTOCOL mVlanConfigProtocolTemplate;
15
29 IN EFI_HANDLE ImageHandle,
30 IN EFI_HANDLE ControllerHandle,
31 IN UINT16 VlanId,
32 OUT EFI_DEVICE_PATH_PROTOCOL **Devicepath OPTIONAL
33 );
34
46BOOLEAN
48 IN OUT MNP_DEVICE_DATA *MnpDeviceData,
49 IN OUT NET_BUF *Nbuf,
50 OUT UINT16 *VlanId
51 );
52
65VOID
67 IN MNP_SERVICE_DATA *MnpServiceData,
69 OUT UINT16 *ProtocolType,
70 IN OUT UINT8 **Packet,
71 IN OUT UINT32 *Length
72 );
73
90 IN MNP_DEVICE_DATA *MnpDeviceData,
91 OUT UINTN *NumberOfVlan,
92 OUT VLAN_TCI **VlanVariable
93 );
94
108 IN MNP_DEVICE_DATA *MnpDeviceData,
109 IN UINTN NumberOfVlan,
110 IN VLAN_TCI *VlanVariable
111 );
112
145EFIAPI
148 IN UINT16 VlanId,
149 IN UINT8 Priority
150 );
151
172EFIAPI
175 IN UINT16 *VlanId OPTIONAL,
176 OUT UINT16 *NumberOfVlan,
177 OUT EFI_VLAN_FIND_DATA **Entries
178 );
179
198EFIAPI
201 IN UINT16 VlanId
202 );
203
204#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
BOOLEAN MnpRemoveVlanTag(IN OUT MNP_DEVICE_DATA *MnpDeviceData, IN OUT NET_BUF *Nbuf, OUT UINT16 *VlanId)
Definition: MnpVlan.c:117
EFI_STATUS EFIAPI VlanConfigSet(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId, IN UINT8 Priority)
Definition: MnpVlan.c:411
EFI_STATUS EFIAPI VlanConfigFind(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 *VlanId OPTIONAL, OUT UINT16 *NumberOfVlan, OUT EFI_VLAN_FIND_DATA **Entries)
Definition: MnpVlan.c:560
EFI_HANDLE MnpCreateVlanChild(IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ControllerHandle, IN UINT16 VlanId, OUT EFI_DEVICE_PATH_PROTOCOL **Devicepath OPTIONAL)
Definition: MnpVlan.c:42
EFI_STATUS EFIAPI VlanConfigRemove(IN EFI_VLAN_CONFIG_PROTOCOL *This, IN UINT16 VlanId)
Definition: MnpVlan.c:647
EFI_STATUS MnpGetVlanVariable(IN MNP_DEVICE_DATA *MnpDeviceData, OUT UINTN *NumberOfVlan, OUT VLAN_TCI **VlanVariable)
Definition: MnpVlan.c:295
EFI_STATUS MnpSetVlanVariable(IN MNP_DEVICE_DATA *MnpDeviceData, IN UINTN NumberOfVlan, IN VLAN_TCI *VlanVariable)
Definition: MnpVlan.c:363
VOID MnpInsertVlanTag(IN MNP_SERVICE_DATA *MnpServiceData, IN EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData, OUT UINT16 *ProtocolType, IN OUT UINT8 **Packet, IN OUT UINT32 *Length)
Definition: MnpVlan.c:177
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33