From: David Miller <davem@davemloft.net>
To: drepper@redhat.com
Cc: netdev@vger.kernel.org
Subject: Re: network interface state
Date: Wed, 14 Nov 2007 16:22:01 -0800 (PST) [thread overview]
Message-ID: <20071114.162201.174150647.davem@davemloft.net> (raw)
In-Reply-To: <473B8EEC.1010906@redhat.com>
From: Ulrich Drepper <drepper@redhat.com>
Date: Wed, 14 Nov 2007 16:12:28 -0800
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David Miller wrote:
> > Most daemons handle this by listening for events on the netlink
> > socket, but I understand how that might not be practical for
> > glibc.
>
> Right, this cannot work. I have no inner loop which I can control. I
> cannot install a listener.
>
> At some point, when we have non-sequential, hidden file descriptors,
> I'll be able to leave a socket file descriptor open. But that's about
> it. Even then the generation counter interface is likely to be the best
> choice.
Ok, I'll think about how to implement this.
> BTW, is it possible to send both these requests out before starting to
> read the results? This would reduce the amount of code quite a bit.
Unfortunately, that won't work. Like datagram protocols,
netlink assumes one message per sendmsg() call.
next prev parent reply other threads:[~2007-11-15 0:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 20:59 network interface state Ulrich Drepper
2007-11-14 23:31 ` David Miller
2007-11-15 0:12 ` Ulrich Drepper
2007-11-15 0:22 ` David Miller [this message]
2007-11-15 2:11 ` Herbert Xu
2007-11-15 3:39 ` David Miller
2007-11-15 13:58 ` jamal
2008-01-04 20:58 ` Milan Kocian
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=20071114.162201.174150647.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=drepper@redhat.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).