The HyperNews Linux KHG Discussion Pages

Idea: Can do it in ip_queue_xmit()

Forum: Network Buffers And Memory Management
Re: Question Changing IP packets destined for a gateway (Ian Carr-de Avelon)
Keywords: IP Packets routeing
Date: Mon, 02 Feb 1998 13:29:48 GMT
From: Ritvik Pandey <ritvikp@iitk.ernet.in>

If the packets, with which you want play with, come from the same host whose kernel you will be changing, then you can easily do it in ip_queue_xmi(). This function is called by tcp_send_skb().