Prusa MINI Firmware overview
eth_vlan_hdr Struct Reference

#include <ethernet.h>

Public Member Functions

 PACK_STRUCT_FIELD (u16_t prio_vid)
 
 PACK_STRUCT_FIELD (u16_t tpid)
 

Detailed Description

VLAN header inserted between ethernet header and payload if 'type' in ethernet header is ETHTYPE_VLAN. See IEEE802.Q

Member Function Documentation

◆ PACK_STRUCT_FIELD() [1/2]

eth_vlan_hdr::PACK_STRUCT_FIELD ( u16_t  prio_vid)

◆ PACK_STRUCT_FIELD() [2/2]

eth_vlan_hdr::PACK_STRUCT_FIELD ( u16_t  tpid)