Struct af_packet::RawPacket [] [src]

pub struct RawPacket<'a> {
    pub tpacket3_hdr: Tpacket3Hdr,
    pub data: &'a [u8],
}

Contains a reference to an individual packet in a block, as well as details about that packet

Fields

Contains packet details

Raw packet data including any encapsulations

Trait Implementations

impl<'a> Debug for RawPacket<'a>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for RawPacket<'a>

impl<'a> Sync for RawPacket<'a>