Struct tpacket2_hdr
#[repr(C)]
pub struct tpacket2_hdr { pub tp_status: u32, pub tp_len: u32, pub tp_snaplen: u32, pub tp_mac: u16, pub tp_net: u16, pub tp_sec: u32, pub tp_nsec: u32, pub tp_vlan_tci: u16, pub tp_vlan_tpid: u16, pub tp_padding: [u8; 4] }
Fields
tp_status: u32tp_len: u32tp_snaplen: u32tp_mac: u16tp_net: u16tp_sec: u32tp_nsec: u32tp_vlan_tci: u16tp_vlan_tpid: u16tp_padding: [u8; 4]
Trait Implementations
impl Clone for tpacket2_hdr
fn clone(&self) -> Self
impl Copy for tpacket2_hdr
impl Debug for tpacket2_hdr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for tpacket2_hdr
impl Hash for tpacket2_hdr
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for tpacket2_hdr
fn eq(&self, other: &Self) -> bool