#[repr(C)]pub struct bpf_hdr {
pub bh_tstamp: timeval32,
pub bh_caplen: u32,
pub bh_datalen: u32,
pub bh_hdrlen: c_ushort,
}
Fields§
§bh_tstamp: timeval32
§bh_caplen: u32
§bh_datalen: u32
§bh_hdrlen: c_ushort
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bpf_hdr
impl RefUnwindSafe for bpf_hdr
impl Send for bpf_hdr
impl Sync for bpf_hdr
impl Unpin for bpf_hdr
impl UnwindSafe for bpf_hdr
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
)