From: "Patrick R. McManus" <mcmanus@ducksong.com>
To: netdev@oss.sgi.com
Subject: netlink sockets and rtm_newlink messages
Date: Thu, 26 Sep 2002 18:38:53 -0400 [thread overview]
Message-ID: <20020926223853.GA4062@ducksong.com> (raw)
hello -
I've got a little userspace app that listens to a netlink socket and
filters for messages of type RTM_NEWLINK to check for interfaces going
up or down (checking ifi_flags to make that determination)..
the only stumbling point is that I each time I do something like
"ifconfig eth4 down" my app reads 2 identical RTM_NEWLINK messages
instead of one (same behavior on up case too.)
any thoughts on why? I didn't really know how to interpret sockaddr
nl.nl_groups.. 1 seems to give me the same duplicates as ~0.. 0 gives me nothing.
-Pat
next reply other threads:[~2002-09-26 22:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-26 22:38 Patrick R. McManus [this message]
2002-09-27 13:48 ` netlink sockets and rtm_newlink messages Patrick R. McManus
2002-09-27 14:36 ` jamal
2002-09-27 15:55 ` kuznet
2002-09-29 15:09 ` jamal
2002-09-30 15:43 ` kuznet
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=20020926223853.GA4062@ducksong.com \
--to=mcmanus@ducksong.com \
--cc=netdev@oss.sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.