need for getifaddrs in uclibc
Mike Frysinger
vapier at gentoo.org
Sat Jan 5 23:59:15 PST 2008
On Saturday 10 November 2007, Khem Raj wrote:
> 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.
the netlink detection/assumption stuff should probably be scrubbed in favor of
the have netflink define.
> Let me know if this is OK?
Natanael: get a chance to test this ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/uclibc/attachments/20080106/e0850a63/attachment.pgp
More information about the uClibc
mailing list