Data Fields

libtrace_8021q Struct Reference

802.1Q frame More...

Data Fields

LT_BITFIELD16 vlan_pri:3
 VLAN User Priority.
LT_BITFIELD16 vlan_cfi:1
 VLAN Format Indicator, 0 for ethernet, 1 for token ring.
LT_BITFIELD16 vlan_id:12
 VLAN Id.
uint16_t vlan_ether_type
 VLAN Sub-packet Type ID Field (next-header).

Detailed Description

802.1Q frame


Field Documentation

LT_BITFIELD16 libtrace_8021q::vlan_cfi

VLAN Format Indicator, 0 for ethernet, 1 for token ring.

VLAN Sub-packet Type ID Field (next-header).

Referenced by trace_get_payload_from_vlan().

LT_BITFIELD16 libtrace_8021q::vlan_id

VLAN Id.

LT_BITFIELD16 libtrace_8021q::vlan_pri

VLAN User Priority.


The documentation for this struct was generated from the following file: