[Ns-developers] Raw sockets are not raw
Tom Henderson
tomh at tomh.org
Tue Jul 14 06:14:30 PDT 2009
Pavel Boyko wrote:
> Hi,
>
> I have faced with the fact that raw socket implementation
> (Ipv4RawSocketImpl) doesn't allow me to create IP header by hands. Instead it
> finish with the same IP header initialization stuff in Ipv4L3Protocol::Send() as
> UDP and TCP sockets do.
>
I have typically seen two variants of raw sockets, controlled by the
HDR_INCL socket option; one that allows you to include the header, and
one that fills it in for you. Only the latter mode is supported in the
current implementation. A patch for the former mode would be welcome.
- Tom
More information about the Ns-developers
mailing list