Struct pcap_sys::pcap_file_header
source · #[repr(C)]pub struct pcap_file_header {
pub magic: bpf_u_int32,
pub version_major: u_short,
pub version_minor: u_short,
pub thiszone: bpf_int32,
pub sigfigs: bpf_u_int32,
pub snaplen: bpf_u_int32,
pub linktype: bpf_u_int32,
}
Fields§
§magic: bpf_u_int32
§version_major: u_short
§version_minor: u_short
§thiszone: bpf_int32
§sigfigs: bpf_u_int32
§snaplen: bpf_u_int32
§linktype: bpf_u_int32
Trait Implementations§
source§impl Clone for pcap_file_header
impl Clone for pcap_file_header
source§fn clone(&self) -> pcap_file_header
fn clone(&self) -> pcap_file_header
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 more