Struct pcap::PacketHeader [] [src]

#[repr(C)]
pub struct PacketHeader { pub ts: timeval, pub caplen: u32, pub len: u32, }

Represents a packet header provided by pcap, including the timeval, caplen and len.

Fields

Trait Implementations

impl Copy for PacketHeader
[src]

impl Clone for PacketHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PacketHeader
[src]

Formats the value using the given formatter.