pub fn get_packetdata_raw(i: &[u8], caplen: usize) -> Option<PacketData<'_>>
Available on crate feature data only.
Expand description

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.