[−][src]Function pcap_parser::data::get_packetdata_raw
pub fn get_packetdata_raw(i: &[u8], caplen: usize) -> Option<PacketData<'_>>
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.