Re: packet created by local raw socket

From: Andi Kleen (ak@muc.de)
Date: Sun Feb 03 2002 - 20:34:10 EST


landley@trommello.org (Rob Landley) writes:

> If you asked for a raw socket, the system won't append an IP header to it for
> you. You asked it not to.

I guess you mean prepend instead of append.

In fact the raw sockets add an IP header, unless you specify
IPPROTO_RAW or IP_HDRINCL. Both are discouraged.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:30 EST