For versions >= 1.7.0 of the library only
The ROHC stats application makes it easy to gather some (de)compression statistics from one network flow (in PCAP format). The tool outputs statistics in CSV format with the following tab-separated fields:
Once the ROHC library and tools are installed, get some more help with:
$ man rohc_stats
or:
$ rohc_stats --help
A helper shell script is also provided to generate an HTML page with pretty graphs on it:
$ ./rohc_stats.sh network_flow.pcap ./network_flow_stats/ $ firefox ./network_flow_stats/index.html
Additional informations: