need for getifaddrs in uclibc
vapier at gentoo.org
Sun Jan 6 07:59:15 UTC 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 ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080106/e0850a63/attachment-0002.pgp
More information about the uClibc