Re: Question about ipip implementation

Andi Kleen (ak@suse.de)
Sat, 12 May 2001 19:40:04 +0200


On Fri, May 11, 2001 at 05:39:40PM +0300, Alexey Vyskubov wrote:
> Hello!
>
> I read net/ipv4/ipip.c. It seems to me that ipip_rcv() function after
> "unwrapping" tunelled IP packet creates "virtual Ethernet header" and submit
> corresponding sk_buff to netif_rx().
>
> Is there a some reason to do things this way instead of calling ip_rcv() for
> "unwrapped" IP packet?

e.g. packet sockets still work and it doesn't break the layering.

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