[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forwarding packet to other machine...



Hi,
I was trying to forward a packet from m/c-1 to another m/c-2 from module &
wanted to use only IP layer interface functions. I am hooking packet (skb) on
m/c-1 (dest=m/c-1) & then changing few of the field of skb like dest addr,
port... Do I need to change dst_entry & any other fields to forward this packet
to m/c-2 using IP layer interface calls [ip_queue_xmit()]?
I am using Kernel v2.6.10. 


Bye,
Paresh Bafna.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/