Linux-kernel mailing list archive 1999-34,: SIOCGIFCONF still not working

# SIOCGIFCONF still not working

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: MrBill926@aol.com: "Ancient Phi Psi"
- Previous message: Matthew: "tasks.h missing from 2.3.14"
- Next in thread: David S. Miller: "Re: SIOCGIFCONF still not working"
- Reply: David S. Miller: "Re: SIOCGIFCONF still not working"
- Reply: Andreas Jaeger: "Re: SIOCGIFCONF still not working"

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/

- Next message: MrBill926@aol.com: "Ancient Phi Psi"
- Previous message: Matthew: "tasks.h missing from 2.3.14"
- Next in thread: David S. Miller: "Re: SIOCGIFCONF still not working"
- Reply: David S. Miller: "Re: SIOCGIFCONF still not working"
- Reply: Andreas Jaeger: "Re: SIOCGIFCONF still not working"