Crate pcap_file

source ·
Expand description

Provides parsers, readers and writers for Pcap and PcapNg files.

For Pcap files see the pcap module, especially PcapParser, PcapReader<R> and PcapWriter<W>.

For PcapNg files see the pcapng module, especially PcapNgParser, PcapNgReader<R> and PcapNgWriter<W>

Modules

Contains the Pcap parser, reader and writer
Contains the PcapNg parser, reader and writer

Enums

Data link type
Endianness of the pcap
Error type for the pcap/pcapng parsing
Timestamp resolution of the pcap

Type Definitions

Result type for the pcap/pcapng parsing