how to apply ROHC algo. on packet buffer while it created by SOCK_DGRAM

Asked by dev9 on 2015-01-08

hello everyone,

As i know ROHC algorithm can apply on IP/UDP/RTP header for compresion. my application use socket connection by SOCK_DGRAM so IP/UDP/RTP packet header created by kernel and i cant access it so can any one tell how ROHC i can apply on IP/UDP/RTP packet for compression.

Question information

Language:
English Edit question
Status:
Answered
For:
rohc Edit question
Assignee:
No assignee Edit question
Last query:
2015-01-08
Last reply:
2015-02-16
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Hello,

Use RAW sockets with the IP_HDRINCL enabled to get the IP and UDP headers. See raw(7) man page: http://man.cx/raw%287%29

Regards,
Didier

Can you help with this problem?

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

To post a message you must log in.