Function parse_pcap_frame_modified

Source
pub fn parse_pcap_frame_modified(
    i: &[u8],
) -> IResult<&[u8], LegacyPcapBlock<'_>, PcapError<&[u8]>>
Expand description

Read a PCAP record header and data (“modified” pcap format)

Each PCAP record starts with a small header, and is followed by packet data. The packet data format depends on the LinkType.