Function get_packetdata_ipv4

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

Get packet data for LINKTYPE_IPV4 (228)

Raw IPv4; the packet begins with an IPv4 header.