[PATCH] New getifaddrs implementation

Philip Blundell pb@nexus.co.uk
Thu Mar 27 00:33:00 GMT 2003


On Wed, 2003-03-26 at 22:03, Ulrich Drepper wrote:
> But you can use a new glibc with old tools.  We still nominally support
> a 2.0 kernel.  Based on a new __ASSUME_xxx symbol Roland's
> implementation should be used as a fallback if no netlink socket could
> be opened.  If the kernel is recent enough the old code can be left out.
>  Somebody has to check which kernel version was the last without
> mandatory netlink support.

Yeah.  I think this code could maybe share some of the stuff in
if_index.c, which uses SIOCGIFCONF and so on.

p.



More information about the Libc-alpha mailing list