Re: [PATCH] netdev/uevent

From: Stefan Rompf
Date: Wed Feb 22 2006 - 17:40:38 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/