rohc_stats − The ROHC statistics tool
rohc_stats [OPTIONS] ACTION CID_TYPE SOURCE
The ROHC stats tool generates statistics about ROHC (de)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
−−quiet
Tell the application to be even less verbose
−−max−contexts NUM
The maximum number of ROHC contexts to simultaneously use during the test
−−max−pkts−nr NUM
The maximum number of packets to (de)compress (0 means all packets from file or infinite for
network device)
With:
ACTION |
Run a compression test with ’comp’ or a decompression test with ’decomp’ |
CID_TYPE
The type of CID to use among ’smallcid’ and ’largecid’
SOURCE |
The source of of Ethernet frames to compress, ie: |
− the name of a file in PCAP format − the name of a network device
rohc_stats comp smallcid /tmp/rtp.pcap
Generate statistics from a file
rohc_stats decomp largecid ~/lan.pcap
Generate statistics from a file
rohc_stats comp largecid eth0
Generate statistics from Ethernet device ’eth0’
Report bugs to <https://rohc−lib.org/>.