From: "Nico Schümann" <dev@nico22.de>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Network link detection
Date: Fri, 4 Mar 2011 07:35:58 +0100 [thread overview]
Message-ID: <20110304063558.GA4774@svh.nico22.de> (raw)
In-Reply-To: <20110303140733.40307493@nehalam>
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
prev parent reply other threads:[~2011-03-04 6:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 19:30 Network link detection Nico Schümann
2011-03-03 20:03 ` Jesper Juhl
2011-03-03 20:45 ` richard -rw- weinberger
2011-03-03 21:38 ` Chris Friesen
2011-03-03 22:01 ` David Miller
2011-03-03 22:29 ` Nico Schümann
2011-03-07 19:49 ` Dan Williams
2011-03-03 23:54 ` Chris Friesen
2011-03-03 22:07 ` Stephen Hemminger
2011-03-04 6:35 ` Nico Schümann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110304063558.GA4774@svh.nico22.de \
--to=dev@nico22.de \
--cc=linux-kernel@vger.kernel.org \
--cc=shemminger@vyatta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox