Skip to contentSkip to conversation

netdev/uevent

PATCH Stefan Rompf 1 participant 1 message Feb 22, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Thomas Ogrisegg

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