ROHC with netfilter

Asked by Bins on 2011-09-06

Hi ,

I want to compress the IP header and I am looking forward to use ROHC for compressing the IP header.
I am using netfilter to intercept the packet from the kernel. I wrote an user application program to get the packets from the kernel. Now I want to compress the IP header using ROHC . How do I do that.

Any help will be appreciated.
Thanks,
Bins

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
Bins
Solved:
2011-09-08
Last query:
2011-09-08
Last reply:
2011-09-07

Please read the following FAQ entry to start using the library:
FAQ #638: “How to use the ROHC library in your own program ?”.

Bins (bindhia-komath) said : #2

Thanks a lot Didier. Appreciate your help.

I am a newbie to header compression. I wanted to clarify one more thing.
When you say profile for "RTP/UDP/IP" -> it means that the data should use RTP protocol at the application layer , UDP as the transport protocol and IP as the network layer protocol , right?

I was also going through RFC 3843 , which says profile for IP. Does it mean that it can be used to compress IP header even if the application protocol is something else (say http) and transport protocol is TCP.

Thanks,
Bins

Hello,

> When you say profile for "RTP/UDP/IP" -> it means that the data should use RTP
> protocol at the application layer , UDP as the transport protocol and IP as the
> network layer protocol , right?

Right.

> I was also going through RFC 3843 , which says profile for IP. Does it mean that
> it can be used to compress IP header even if the application protocol is something
> else (say http) and transport protocol is TCP.

Right again.

Regards,
Didier

Bins (bindhia-komath) said : #4

Thanks Didier.