← Back to team overview

rohc team mailing list archive

Re: [Question #177063]: Ip tunnelling

 

Question #177063 on rohc changed:
https://answers.launchpad.net/rohc/+question/177063

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Re,

You're right, except that you do not need to create a IP header. Without
the IP_HDRINCL option (the default), the IP header is built
automatically by the kernel. The man page says "The IPv4 layer generates
an IP header when sending a packet unless the IP_HDRINCL socket option
is enabled on the socket".

Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.