This crate contains parsers and readers for Pcap and Pcapng files. It also contains a writer for Pcap files.
Parser for a PcapNg formated stream.
Wraps another reader and uses it to read a PcapNg formated stream.
Parser for a Pcap formated stream.
Wraps another reader and uses it to read a Pcap formated stream.
This struct wraps another writer and uses it to write a Pcap formated stream.
Data link type
Endianness of the pcap
Timestamp resolution of the pcap