← Back to team overview

rohc team mailing list archive

Re: [Question #85577]: Fields in Comp n decomp stats

 

Question #85577 on rohc changed:
https://answers.launchpad.net/rohc/+question/85577

    Status: Open => Answered

Didier Barvaux proposed the following answer:
The compression statistics contain one line per packet that is transmitted through the ROHC tunnel. The fields on every line are in order:
 - the sequence number of the packet (this sequence may eventually overflow and the result is undetermined),
 - the mode of the ROHC compressor (among "error", "U-mode", "O-mode" and "R-mode"),
 - the state of the ROHC compressor (among "error", "IR", "FO" and "SO"),
 - the total length of all uncompressed IP packets (header + payload),
 - the total length of all uncompressed IP headers (header only, no payload),
 - the total length of all compressed ROHC packets (header + payload),
 - the total length of all compressed ROHC headers (header only, no payload),
 - the number of packets dropped by the tunnel.
These fields are printed at the very end of the "tun2udp" function in the source code of the tunnel application.

The decompression statistics contain one line per packet that is received through the ROHC tunnel. The fields on every line are in order:
 - the sequence number of the packet (this sequence may eventually overflow and the result is undetermined),
 - the total number of packets that were not correctly received (packets lost on the network and packets that the ROHC library failed to decompress correctly),
 - the total number of packets that were lost on the network,
 - the total number of packets that the ROHC library failed to decompress correctly.
These fields are printed by the "print_decomp_stats" function in the source code of the tunnel application.

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.