#[repr(C)]pub struct tpacket_hdr_variant1 {
pub tp_rxhash: __u32,
pub tp_vlan_tci: __u32,
pub tp_vlan_tpid: __u16,
pub tp_padding: __u16,
}
Fields§
§tp_rxhash: __u32
§tp_vlan_tci: __u32
§tp_vlan_tpid: __u16
§tp_padding: __u16
Trait Implementations§
Source§impl Clone for tpacket_hdr_variant1
impl Clone for tpacket_hdr_variant1
Source§fn clone(&self) -> tpacket_hdr_variant1
fn clone(&self) -> tpacket_hdr_variant1
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for tpacket_hdr_variant1
impl Debug for tpacket_hdr_variant1
Source§impl Hash for tpacket_hdr_variant1
impl Hash for tpacket_hdr_variant1
Source§impl PartialEq for tpacket_hdr_variant1
impl PartialEq for tpacket_hdr_variant1
impl Copy for tpacket_hdr_variant1
impl Eq for tpacket_hdr_variant1
impl StructuralPartialEq for tpacket_hdr_variant1
Auto Trait Implementations§
impl Freeze for tpacket_hdr_variant1
impl RefUnwindSafe for tpacket_hdr_variant1
impl Send for tpacket_hdr_variant1
impl Sync for tpacket_hdr_variant1
impl Unpin for tpacket_hdr_variant1
impl UnwindSafe for tpacket_hdr_variant1
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)