Struct pnet_packet::vlan::Vlan [−][src]
pub struct Vlan {
pub priority_code_point: ClassOfService,
pub drop_eligible_indicator: u1,
pub vlan_identifier: u12be,
pub ethertype: EtherType,
pub payload: Vec<u8>,
}
Expand description
Represents a VLAN-tagged packet.
Fields
priority_code_point: ClassOfService
drop_eligible_indicator: u1
vlan_identifier: u12be
ethertype: EtherType
payload: Vec<u8>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Vlan
impl UnwindSafe for Vlan
Blanket Implementations
Mutably borrows from an owned value. Read more