SIOCGIFCONF still not working

Ulrich Drepper (drepper@cygnus.com)
23 Aug 1999 20:56:57 -0700


Some time ago it was reported here the SIOCGIFCONF is not working and
I thing Davem said he'll fix it. Well, I have 2.3.14 and it still
does not work. A few functions, and soon more, in glibc depend on
this.

The symptoms are that only one interfaec is reported. You call

struct ifconf ifc;
ifc.ifc_buf = NULL;
ifc.ifc_len = 0;
ioctl (fd, SIOCGIFCONF, &ifc);

where fd is an open socket and you get in ifc_len the result 12 (which
means, room for exactly one ifconf entry).

Could somebody please look at this? I really want to finish the IPv6
support.

Thanks,

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/