Messages in this thread | | | From | Stefan Rompf <> | Subject | Re: [PATCH] netdev/uevent | Date | Wed, 22 Feb 2006 23:37:34 +0100 |
| |
Thomas Ogrisegg wrote:
> What do you mean with "ethtool and netlink"? At least the current > release of ethtool does not seem to have any netlink support.
You can listen to RTMGRP_LINK on NETLINK_ROUTE. IFF_RUNNING will give you the link state information you're looking for.
For you application scenario: I'm working on a DHCP client that uses this netlink information, so don't invent the wheel twice ;-)
Stefan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |