rohc_sniffer − The ROHC sniffer
rohc_sniffer [OPTIONS] CID_TYPE DEVICE
The ROHC sniffer tests the ROHC library with sniffed traffic
You need to be root (or to have POSIX capability CAP_NET_ADMIN) to run the ROHC sniffer.
CID_TYPE
The type of CID to use among ’smallcid’ and ’largecid’
DEVICE |
The name of the network device to use |
−v, −−version
Print version information and exit
−h, −−help
Print this usage and exit
−d, −−daemon
Run in background, trace in syslog
−p, −−pidfile FILE
Write daemon PID in the given file
−m, −−max−contexts NUM
The maximum number of ROHC contexts to simultaneously use during the test
−−rohc−version NUM
The ROHC version to use: 1 for ROHCv1 and 2 for ROHCv2
−−disable PROFILE
A ROHC profile to disable (may be specified several times)
−−verbose
Make the test more verbose
−−stat |
Print statistics at regular interval of time |
rohc_sniffer smallcid eth0
compress traffic from eth0 with small CIDs
rohc_sniffer −m 450 largecid wlan0
compress traffic from wlan0 with large CIDs, no more than 450 streams
Report bugs to <https://rohc−lib.org/>.