Re: Bind to protocol with AF_PACKET doesn't work for outgoing packets

Joris van Rantwijk (joris@deadlock.et.tudelft.nl)
Thu, 1 Nov 2001 16:18:27 +0100 (CET)


On 1 Nov 2001, Andi Kleen wrote:
> Joris van Rantwijk <joris@deadlock.et.tudelft.nl> writes:
> > So... Shouldn't dev_queue_xmit_nit() also process ptype_base then ?

> It probably should, but unfortunately then it would loop back to all normal
> protocols (IP, IPv6, ARP etc.) too, which would not be good.

Ah, right. I suspected there was a good reason not to do it, or it
would have been done ages ago.

But it's still a bit weird isn't it ?
You sure won't find this in man packet(7).

Thanks for explaining,
Joris van Rantwijk.

-
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/