pub fn parse_pcap(d: &[u8]) -> Result<Packets<'_>>
Walk the packets of a classic pcap file. A truncated last record is dropped.
Fails if the global header is short or the magic is not classic pcap.