NET_PACKET_IEEE8021Q - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ieee8021qtypes.h

typedef struct _NET_PACKET_IEEE8021Q {
  UINT16 PriorityCodePoint : 3;
  UINT16 VlanIdentifier : 12;
  UINT8  TxTagging : 2;
} NET_PACKET_IEEE8021Q;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ieee8021qtypes-net_packet_ieee8021q)

Description

The NET_PACKET_IEEE8021Q structure describes the IEEE 802.1Q information for a NET_PACKET.

Members

PriorityCodePoint

Specifies the quality-of-service prioritization scheme that is used to establish packet priority on an IEEE 802.3 Ethernet network. This 3-bit field refers to the IEEE 802.1p class of service that can be used to prioritize different classes of traffic.

VlanIdentifier

Identifies the virtual LAN (VLAN) that a packet belongs to. Portions of the network which are VLAN-aware can include this 12-bit VLAN tag.

TxTagging

Specifies the actions defined in the NET_PACKET_TX_IEEE8021Q_ACTION_FLAGS enum. If only IEEE 802.1 priority tagging is enabled, TxTagging is set to 1. If only VLAN tagging is enabled, TxTagging is set to 2. If both are enabled, TxTagging is set to 3.

Remarks

Client drivers can obtain this structure for a packet by calling NetExtensionGetPacketIeee8021Q.

See also

Packet descriptors and extensions

NetExtensionGetPacketIeee8021Q