Subject: Help On function to get IPV6 address of an interface in kernel

From: Mohan Reddy <[email-masked]>
Date: Thu, 4 Mar 2010 15:11:04 +0530

Hi,

Is there a function or a way in kernel to get an interface ipv6 address if interface name or net_device object is known? I searched in the kernel i got a function ipv6_get_ifaddr(). But it is expecting an ipv6 address as a parameter. 

Thanks for your help in advance.

-Mohan Reddy