From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Linux kernel mailing list <linux-kernel@vger.kernel.org>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: rtnetlink interface state monitoring problems.
Date: Tue, 22 Oct 2002 10:16:17 -0700 [thread overview]
Message-ID: <20021022171617.GA22276@bougret.hpl.hp.com> (raw)
David Woodhouse wrote :
>
> IrDA devices are network devices. The core network code sends a RTM_NETLINK
> message when they go up or down. All is well, and once the permission fix
> gets into the kernel I'm using, my irda monitor applet no longer needs to
> poll the state of the interface.
Actually, I'm not 100% happy with the IrDA situation. I would
not mind someone exporting more events to RtNetlink, very similar to
the functionality/events I already provide in the IrNET control
channel (discovery/expiry/link blocked/...).
Note that if you are only interested in IrNET, then the IrNET
control channel gives you everything you need, and you don't really
need to use RtNetlink. Personally, I think the future of IrDA is
IrNET, so that's why I don't bother with the rest.
In any case, send me a link to you applet, I'll add that on my
web page.
> But Bluetooth devices are not network devices, it seems. There exists no
> current mechanism for notifying anyone of state changes. Should we invent a
> new method of notification using netlink, or should Bluetooth interfaces in
> fact be normal network devices just like IrDA devices are?
Check this thread :
http://sourceforge.net/mailarchive/forum.php?thread_id=1165868&forum_id=1881
Basically, you need to check the code in hcid.c (in utils) to
know how to collect this events. I've coded this and it works
perfect. Yeah, it's another socket to manage.
> --
> dwmw2
Have fun...
Jean
next reply other threads:[~2002-10-22 17:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-22 17:16 Jean Tourrilhes [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-21 11:18 David Woodhouse
2002-10-21 13:02 ` jamal
2002-10-21 18:57 ` David Woodhouse
2002-10-23 0:59 ` jamal
2002-10-23 1:44 ` Tim Hockin
2002-10-23 3:17 ` jamal
2002-10-23 19:42 ` Maksim (Max) Krasnyanskiy
2002-10-28 12:35 ` jamal
2002-10-23 19:41 ` Maksim (Max) Krasnyanskiy
2002-10-21 13:46 ` James Morris
2002-10-21 13:48 ` James Morris
2002-10-21 17:01 ` David S. Miller
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=20021022171617.GA22276@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=dwmw2@infradead.org \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@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
Powered by JetHome