[−][src]Function pcap_parser::pcap::parse_pcap_frame
pub fn parse_pcap_frame(i: &[u8]) -> IResult<&[u8], Packet>
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.