ROHC compression/decompression library
ROHC compression/decompression library Documentation


The ROHC library provides an easy and robust way for applications to reduce their bandwidth usage on network links with limited capacity. Headers of network packets are compressed with the ROHC protocol and algorithms.

RObust Header Compression (ROHC) is a set of standards defined by the IETF. The ROHC library is a free, opensource and efficient implementation of them. The list of features implemented is available on a separate page: Library features


The project is licensed under GPL2+. See the COPYING and AUTHORS files for more details.


The sources are in the src subdirectory. The sources are separated into three libraries:

See the INSTALL file to learn to build the libraries.

API documentation

The APIs for ROHC common, compression and decompression are available on separate pages:


Several tests may be run to check the library behaviour. See the INSTALL file to learn how to use these tools.


RFC 3095
ROHC: Framework and four profiles: RTP, UDP, ESP, and uncompressed.
RFC 3096
Requirements for robust IP/UDP/RTP header compression.
RFC 3843
ROHC: A Compression Profile for IP.
RFC 4019
ROHC: Profiles for User Datagram Protocol (UDP) Lite.
ROHC library
The Open Source ROHC library described by the documentation you are currently reading.
ROHC Linux
A GPL-licensed implementation of ROHC over PPP for the 2.4 Linux kernel. The ROHC library started as a fork of this project.