Re: Question about ipip implementation

Alexey Vyskubov (alexey.vyskubov@nokia.com)
Mon, 14 May 2001 14:07:09 +0300


> > 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
>
> Does it? ipip_rcv() does this:

[SKIP]

> netif_rx(skb);
>
> The packet as submitted starts with the IP header and the skb pointers
> are set up so that the MAC header has zero size.

Yes, I was wrong. But is it possible in similar situation just call ip_rcv for
the sk_buff?

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