netdev
[Top] [All Lists]

Re: Problem with tunneling in linux..(from student of IIT Bombay)

To: Aswani Kumar T <aswin@xxxxxxxxxxxxxx>
Subject: Re: Problem with tunneling in linux..(from student of IIT Bombay)
From: Andrew Morton <akpm@xxxxxxxxxx>
Date: Sun, 05 Aug 2001 17:38:10 -0700
Cc: netdev@xxxxxxxxxxx
References: <Pine.GSO.4.02A.10108052124001.16767-100000@chandra.cse.iitb.ernet.in>
Sender: owner-netdev@xxxxxxxxxxx
Aswani Kumar T wrote:
> 
> Dear Sir,
> I got ur mail id from ALan COX... the following is my problem..hope u will
> help me.
> i am doing project in the field of active networking. I am using linux box
> as my router. I have to manually tunnel the packet, that is after
> receiving an ip-packet through ip_rcv() , i have add a  header to that
> packet with different
> dest ip address.

Have you looked at net/ipv4/ipip.c:ipip_tunnel_xmit()?

<Prev in Thread] Current Thread [Next in Thread>