[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 03 Mar 2011 14:01:06 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: chris.friesen@...band.com
Cc: dev@...o22.de, linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: Network link detection
From: Chris Friesen <chris.friesen@...band.com>
Date: Thu, 03 Mar 2011 15:38:35 -0600
> You might look at whether you could write a kernel module to register
> for NETDEV_CHANGE notifications and pass that back to userspace.
This is the kind of responses you get when you ask networking specific
questions and don't CC: netdev :-/
There is this thing called netlink, you can listen for arbitrary
network state change events on a socket, and get the link state
notifications you are looking for. It's in use by many real
applications like NetworkManager and co.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists