lkml.org 
[lkml]   [2011]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2011-03-04 07:39    [W:0.113 / U:26.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site