Crate legacy_pcap_file
Source - PcapFileWriter
- A convenience wrapper around
PcapWriter
for buffered files on disk.
Keeps a file length and the packet count property. - PcapHeader
- Pcap file global header.
- PcapPacket
- Pcap packet with its header and data.
- PcapReader
- A reader of a Pcap file. Can target any
std::io::Read
implementor. - PcapWriter
- A writer of a Pcap file. Can target any
std::io::Write
implementor.
- DataLink
- Data link type.
- Endianness
- Endianness of the pcap.
- PcapError
- Enumeration of all the possible errors that can occur when parsing/writing pcap data.
- TsResolution
- Timestamp resolution of the pcap headers.
- ReadEndian
- A trait that encapsulates reading the types (u32, i32, u16) in an endian specific way.
Implemented by
BigEndianReader
and LittleEndianReader
.