[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110304063558.GA4774@svh.nico22.de>
Date: Fri, 4 Mar 2011 07:35:58 +0100
From: Nico Schümann <dev@...o22.de>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Network link detection
On Thu, Mar 03, 2011 at 02:07:33PM -0800, Stephen Hemminger wrote:
> Simple answer is use netlink. That is what all real services use (NM, Quagga, ...)
> Netlink can be hard to parse, so I recommend using a wrapper library.
>
> Simplest example is the link-event example in libmnl
> http://www.netfilter.org/projects/libmnl/index.html
The link-event example does about what I plan to do - and it just
works. So that pointer was just right. Thank you!
Nico
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists