Hi, I have a question about ipv4 in 2.4.0. When a IP packet comes in to a router, I know the device it came on (skb->dev). If I want to find the IP address associated with this device, can i use address = inet_select_addr (dev, 0, RT_SCOPE_LINK) defined in net/ipv4/devinet.c ? If this is right, is there an easier way? If not, and in general, to find the IP address associated with a struct net_device * dev, what do I need to use? TIA Akshay __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org