pub fn parse_pcap_frame(
i: &[u8],
) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>>
Expand description
Read a PCAP record header and data
Each PCAP record starts with a small header, and is followed by packet data. The packet data format depends on the LinkType.