Home
last modified time | relevance | path

Searched refs:ProtocolOffset (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DMnpVlan.c132 UINTN ProtocolOffset; in MnpRemoveVlanTag() local
136 ProtocolOffset = MnpDeviceData->Snp->Mode->HwAddressSize * 2; in MnpRemoveVlanTag()
148 ProtocolType = NTOHS (*(UINT16 *) (Packet + ProtocolOffset)); in MnpRemoveVlanTag()
156 VlanTag.Uint16 = NTOHS (*(UINT16 *) (Packet + ProtocolOffset + sizeof (ProtocolType))); in MnpRemoveVlanTag()
162 CopyMem (Packet + NET_VLAN_TAG_LEN, Packet, ProtocolOffset); in MnpRemoveVlanTag()