pcap-file-ra

This crate provides random access to packets in a pcap file. You can get() n'th packet of pcap in a constant time.

The crate is consider to be a companion crate of the pcap-file.

Usage

Add to Cargo.toml: [dependency] pcap-file = "0.10.0" pcap-file-ra = "0.1.1"

Tested with pcap-file 0.10.0 on windows 64-bit platform.

Features

Features not planned

Comparison matrix of existing crates

We depend on pcap-file. The crate was chosen based on the following criteria.