Re: Question about ipip implementation

From: Alexey Vyskubov (alexey.vyskubov@nokia.com)
Date: Mon May 14 2001 - 06:07:09 EST


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



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:34 EST