Skip to main content

Module stats

Module stats 

Source
Expand description

Streaming statistics collection for PCAP captures.

StatsCollector performs a single pass over packets, computing:

  • capture start/end timestamps
  • total packet and byte counts
  • unique source and destination IPs
  • per-flow packet/byte counts keyed by 5-tuple

Re-exports§

pub use flow::FlowKey;

Modules§

flow
Re-export FlowKey from the shared crate::flow module.

Structs§

CaptureInfo
Aggregate statistics for an entire capture.
FlowStats
Per-flow statistics entry.
StatsCollector
Incrementally accumulates capture statistics in a single streaming pass.