[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IP address determination
Hi,
I'm using Netfilter hooks to cpature packets in the kernel. The hooks
is placed in the Pre-routing stage (NF_IP_PRE_ROUTING). Is there a way
to determine the IP address of interface on which the packet is
received? (in other words, determining your own IP address in the
pre-roputing hook).
Any help will be appreciated!
Thanks,
-Rajat.
http://rajatswarup.blogspot.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/