Re: [PATCH] netdev/uevent

From: Chris Wright
Date: Wed Feb 22 2006 - 12:51:23 EST


* Thomas Ogrisegg (tom-lkml@xxxxxxxxxxxxx) wrote:
> Is there currently any possibility for a program to get notified when
> a netdevice link becomes ready (or the opposite)? I don't see any interface
> (besides polling /sys).

Yes, there's a netlink socket that already communicates these changes.
Routing daemons typically consume this information. The netdev notifier
chain should end up generating these events via rtmsg_ifinfo.

thanks,
-chris
-
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/