:orphan: .. index:: pair: struct; vlanhdr .. _doxid-structvlanhdr: struct vlanhdr ============== .. toctree:: :hidden: Overview ~~~~~~~~ VLAN header :ref:`More...<details-structvlanhdr>` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include <te_ipstack.h> struct vlanhdr { // fields uint16_t :ref:`vlan_tci<doxid-structvlanhdr_1a11050a3759b831e4405f3b0abd64942a>`; uint16_t :ref:`vlan_eth<doxid-structvlanhdr_1a1203fe188a57446be2518a634eebf84a>`; }; .. _details-structvlanhdr: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ VLAN header Fields ------ .. index:: pair: variable; vlan_tci .. _doxid-structvlanhdr_1a11050a3759b831e4405f3b0abd64942a: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t vlan_tci Priority (3) + CFI (1) + Identifier Code (12) .. index:: pair: variable; vlan_eth .. _doxid-structvlanhdr_1a1203fe188a57446be2518a634eebf84a: .. ref-code-block:: cpp :class: doxyrest-title-code-block uint16_t vlan_eth Ethernet type of encapsulated frame