Steve -
Thanks for the pointer to RTNETLINK.
I understand how to use IFLA_ADDRESS and RTNETLINK to obtain the
hardware address of an interface. ioctl SIOCGIFHWADDR also seem to work
fine, but the interface isn't getting returned by ioctl SIOCGIFCONF and
I don't see how to use RTNETLINK to return a list of all interfaces. Am
I missing something? Someone suggested parsing /proc/net/dev but I'd
rather not do that.
Marc
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:29 EST