getifaddrs
Momchil Velikov
velco@fadata.bg
Sun Nov 24 13:46:00 GMT 2002
Functions ``__ifreq'' and ``getifaddrs'' were changed to support
``struct sockaddr'' structures of arbitrary size.
The fields ``ifa_netmask'' and ``ifa_broadaddr'' are set to NULL, if
the coresponding ``ioctl'' fails, per BSD manual pages.
On NetBSD these ioctls fail for the large number of down interfaces,
as a result no information can be obtained for up interfaces.
~velco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifaddrs.diff
Type: text/x-patch
Size: 7513 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20021124/a2b222f6/attachment.bin>
More information about the Libc-alpha
mailing list