pcapprocessor
pcapprocessor is a Python toolkit that automates the full pipeline from ns-3 network simulation to publication-ready figures. Available on PyPI. pip install pcapprocessor What it does Given a config file describing simulation parameters, pcapprocessor: Runs multiple simulation replications via the ns-3 WAF build system Parses each pcap output with pyshark to extract per-flow TCP metrics Aggregates metrics across runs (mean, std dev, 95% confidence intervals) Writes results to tab-separated CSV files — one per protocol/flow Generates matplotlib figures with confidence interval error bars Metrics Extracts 12 TCP-level metrics per flow including throughput, one-way delay, goodput, link utilization, retransmitted packets, queue occupancy, and flow completion time. ...