#[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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy 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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)