From: Marcel Holtmann <marcel@holtmann.org>
To: Adar Dembo <adar@vmware.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"Gregory A. Smith" <gasmith@vmware.com>
Subject: Re: Wireless netlink events delivered out-of-order
Date: Mon, 30 Aug 2010 20:15:23 -0400 [thread overview]
Message-ID: <1283213723.6841.109.camel@localhost.localdomain> (raw)
In-Reply-To: <6E637B430FD37A4AB921E6D15291BCAB02485032FA@EXCH-MBX-4.vmware.com>
Hi Adar,
> I asked this question on the linux-wireless IRC channel last week but I don't think anyone was around at the time, so here it is over e-mail.
>
> We have a userlevel application that uses a netlink socket to figure out when networking interfaces on the system go up or down. It does so by looking at all RTM_NEWLINK messages that arrive on the socket and examining their ifi_flags fields. We interpret the presence of both IFF_UP and IFF_RUNNING to mean that an interface has gone up, while the lack thereof to mean that an interface is down.
I would look for IFF_LOWER_UP actually. Using only IFF_RUNNING is a
pretty bad idea.
Regards
Marcel
prev parent reply other threads:[~2010-08-31 0:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-30 22:20 Wireless netlink events delivered out-of-order Adar Dembo
2010-08-31 0:15 ` Marcel Holtmann [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=1283213723.6841.109.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--cc=adar@vmware.com \
--cc=gasmith@vmware.com \
--cc=linux-wireless@vger.kernel.org \
/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