#[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§
source§impl PartialEq<bpf_hdr> for bpf_hdr
impl PartialEq<bpf_hdr> for bpf_hdr
impl Copy for bpf_hdr
impl Eq for bpf_hdr
impl StructuralEq for bpf_hdr
impl StructuralPartialEq for bpf_hdr
Auto Trait Implementations§
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