rohc_stats − The ROHC statistics tool
rohc_stats [OPTIONS] CID_TYPE FLOW
The ROHC stats tool generates statistics about ROHC compression
The rohc_stats tool outputs statistics in CSV format with the following tab−separated fields:
* keyword ’STAT’
* packet number
* context mode (numeric ID)
* context mode (string, no whitespace)
* context state (numeric ID)
* context state (string, no whitespace)
* packet type (numeric ID)
* packet type (string, no whitespace)
* uncompressed packet size (bytes)
* uncompressed header size (bytes)
* compressed packet size (bytes)
* compressed header size (bytes)
The shell script rohc_stats.sh could be used to generate a HTML report.
−v, −−version
Print version information and exit
−h, −−help
Print this usage and exit
−−verbose
Be more verbose
−−max−contexts NUM
The maximum number of ROHC contexts to simultaneously use during the test
With:
CID_TYPE
The type of CID to use among ’smallcid’ and ’largecid’
FLOW |
The flow of Ethernet frames to compress (in PCAP format) |
rohc_stats smallcid /tmp/rtp.pcap
Generate statistics
rohc_stats largecid ~/lan.pcap
Generate statistics
Report bugs to <http://rohc−lib.org/>.