← Back to team overview

rohc team mailing list archive

Re: [Question #165293]: ESP/IP profile

 

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

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

There are 5 profiles implemented yet:
 - Uncompressed
 - IP-only
 - IP/UDP
 - IP/UDP-Lite
 - IP/UDP/RTP

You're right, the IP/ESP profile is not implemented yet.

A good start would be:
 - Read the main part of RFC 3095 to fully understand how the ROHC protocol works in general.
 - Read the parts that describes the ESP profile in RFC 3095. The ESP profile is very similar to the UDP one. You may ask question on the mailing list.
 - Get familiar the ROHC library (build it, install it, use it in a small program).
 - Read the code of the Uncompressed profile (compression and decompression parts). Try to see how the different functions are called by the core of the library. The Uncompressed profile is the simpliest one.
 - Read the code of the UDP profile (compression and decompression parts). The ESP profile is very similar to the UDP one.
 - Create a PCAP capture of ESP packets you want to compress. Try to write the ESP profile that compresses them and then decompresses them. The decompressed packets must be strictly identical to the original ones. The non-regression tool present in the test/non_regression/ directory in the sources of the library may help you in that task.

Start with the code of the trunk, not the 1.2.x or 1.3.x branches. The
trunk is more up-to-date.

If you got questions about the ROHC protocol or the ROHC library, send
your question to the mailing list.

Regards,
Didier

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