Question about IPv4 forwarding code

Javier Castillo (castillo@alhsys.es)
Fri, 17 Dec 1999 09:41:32 +0000


Hello all,

in net/ipv4/ip_forward.c file, after check firewall/masq rules, appears
the lines:

.........................
ip_forward_options(skb);
ip_send(skb);
return 0;
.........................

This is to send the ip datagram to layer 2, isn't it?. So if i want to
modify the datagram
transperently, could I do it before ip_send(skb) without any problems???

What I am trying to do is transparent ip over ip, without use ipip
module, because I don want
route to an interface before, i want to do it more direct.....sorry my
english ;-)

Javier.


-- 
Javier Castillo Alcíbar. 	castillo@alhsys.es
Alhambra Systems, S.A.	http://www.alhsys.es
Telf: 34 - 1 - 91 304 18 00
Fax: 34 - 1 - 91 327 31 31
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu