Crate pcaparse

Crate pcaparse 

Source
Expand description

Provides parsers, readers and writers for Cap(Network Associates Sniffer 2.x), Pcap and PcapNg files.

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

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

For Cap(NA Sniffer 2.x) see the cap module, especially CapParser, CapReader<R>

Re-exports§

pub use unified::*;

Modules§

cap
Contains the Cap (Network Associates Sniffer 2.x) parser and reader
pcap
Contains the Pcap parser, reader and writer
pcapng
Contains the PcapNg parser, reader and writer
unified
Unified reader for different pcap files.

Structs§

Packet
Commen packet.

Enums§

DataLink
Data link type
Endianness
Endianness of the pcap
Format
format of packet file
PcapError
Error type for the pcap/pcapng parsing
TsResolution
Timestamp resolution of the pcap

Type Aliases§

PcapResult
Result type for the pcap/pcapng parsing