need for getifaddrs in uclibc

Khem Raj kraj at mvista.com
Fri Nov 9 22:44:30 PST 2007


On Wed, Nov 07, 2007 at 05:45:23PM +0100, Natanael Copa wrote:
> Hi,
> 
> Does anyone know a susv3/POSIX compliant way to list all ipv6
> interfaces? I bet there are no. ioctl(SIOCGIFCONF) ignores ipv6
> interfaces, I just tested.
> 
> I suggest implementing a getifaddrs in uclibc, even if its not
> susv3/POSIX.

here is one implementation based on glibc getifaddrs(). It should get
compiled in when you have UCLIBC_USE_NETLINK enabled.

Let me know if this is OK?

-- 
Khem Raj
MontaVista Software Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uclibc-inet-getifaddrs.patch
Type: text/x-diff
Size: 6320 bytes
Desc: not available
Url : http://busybox.net/lists/uclibc/attachments/20071109/aa1066e1/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://busybox.net/lists/uclibc/attachments/20071109/aa1066e1/attachment.pgp 


More information about the uClibc mailing list