[][src]Function pcap_parser::data::get_packetdata_raw

pub fn get_packetdata_raw<'a>(
    i: &'a [u8],
    caplen: usize
) -> Option<PacketData<'a>>

Get packet data for LINKTYPE_RAW (101)

Raw IP; the packet begins with an IPv4 or IPv6 header, with the "version" field of the header indicating whether it's an IPv4 or IPv6 header.