From mboxrd@z Thu Jan 1 00:00:00 1970 From: mailforgroup@gmail.com (Rahul Kumar) Date: Wed, 28 Dec 2011 23:10:42 -0500 Subject: ipip6_tunnel_xmit In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Can you please let me know your comments on this. On Mon, Dec 26, 2011 at 10:53 PM, Rahul Kumar wrote: > ?Hi, > > ?I'm trying to understand the sit driver code net/ipv6/sit.c > ?(2.6.35.12). I'm trying to forward incoming packet from another > ?interface (eth0) to ISATAP tunnel interface (is0) by calling > ?dev_queue_xmit (dev) with dev set to is0. Eventually ipip6_tunnel_xmit > ?routine is getting called, skb_dst()->neighbor is returning null. (I > ?think this is returning null since the dest ip(v6) is incorrectly > ?set). I would like to know what should be the header fields that needs > ?to be set when passing down to tunnel, in order to forward it to > ?isatap router. Please let me know