ROHC with netfilter

Asked by Bins

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:
Last query:
Last reply:
Revision history for this message
Didier Barvaux (didier-barvaux) said :
#1

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

Revision history for this message
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

Revision history for this message
Didier Barvaux (didier-barvaux) said :
#3

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

Revision history for this message
Bins (bindhia-komath) said :
#4

Thanks Didier.