Struct af_packet::Tpacket3Hdr
[−]
[src]
pub struct Tpacket3Hdr { pub tp_sec: u32, pub tp_nsec: u32, pub tp_snaplen: u32, pub tp_len: u32, pub tp_status: u32, pub tp_mac: u16, pub tp_net: u16, pub hv1: TpacketHdrVariant1, // some fields omitted }
Contains details about individual packets in a block
Fields
tp_sec: u32
tp_nsec: u32
tp_snaplen: u32
tp_len: u32
tp_status: u32
tp_mac: u16
tp_net: u16
hv1: TpacketHdrVariant1
Trait Implementations
impl Clone for Tpacket3Hdr
[src]
fn clone(&self) -> Tpacket3Hdr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more