ESP/IP profile

Asked by ani on 2011-07-19


I need to compress a packet with ESP/IP profile? The current ROHC library supports only 4 profiles (IP/UDP,RTP,uncompressed). I am newbee in header compression but my I need to implement ESP/IP profile for my course work (miniproject). Kindly let me know how to go ahead with the existing code.


Question information

English Edit question
rohc Edit question
No assignee Edit question
Last query:
Last reply:


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

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.


Can you help with this problem?

Provide an answer of your own, or ask ani for more information if necessary.

To post a message you must log in.