Lines Matching defs:ProtocolType
133 UINT16 ProtocolType;
148 ProtocolType = NTOHS (*(UINT16 *) (Packet + ProtocolOffset));
149 if (ProtocolType != ETHER_TYPE_VLAN) {
156 VlanTag.Uint16 = NTOHS (*(UINT16 *) (Packet + ProtocolOffset + sizeof (ProtocolType)));
179 @param ProtocolType Pointer to the Ethernet protocol type.
189 OUT UINT16 *ProtocolType,
203 *ProtocolType = ETHER_TYPE_VLAN;
207 Tpid = (UINT16 *) (*Packet + SnpMode->MediaHeaderSize - sizeof (*ProtocolType));
216 SnpMode->MediaHeaderSize - sizeof (*ProtocolType)
224 *EtherType = HTONS (TxData->ProtocolType);