Struct libc_interface::bpf_hdr [−][src]
#[repr(C)]pub struct bpf_hdr { pub bh_tstamp: timeval, pub bh_caplen: uint32_t, pub bh_datalen: uint32_t, pub bh_hdrlen: c_ushort, }
Fields
bh_tstamp: timeval
bh_caplen: uint32_t
bh_datalen: uint32_t
bh_hdrlen: c_ushort
Trait Implementations
impl Copy for bpf_hdr
[src]
impl Copy for bpf_hdr
impl Clone for bpf_hdr
[src]
impl Clone for bpf_hdr
fn clone(&self) -> bpf_hdr
[src]
fn clone(&self) -> bpf_hdr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for bpf_hdr
[src]
impl PartialEq for bpf_hdr
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for bpf_hdr
[src]
impl Eq for bpf_hdr