Re: rtnetlink interface state monitoring problems.

David Woodhouse (dwmw2@infradead.org)
Mon, 21 Oct 2002 19:57:50 +0100


hadi@cyberus.ca said:
> I cant see anything on netlink and irda; i am also not very familiar
> with either IrDA or Bluetooth. Regardless, you dont need to be a net
> device to use netlink.

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.

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?

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/