[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: rtnetlink interface state monitoring problems.

    On Mon, 21 Oct 2002, David Woodhouse wrote:

    > 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.

    Ah, ok. I see what you mean - for a moment i thought IrDA was doing
    something clever with netlink.

    > 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?

    I think the only time you should go netdev is when it makes sense to run
    IP. Is there IP over bluttooth? Then you could take advantage of all the
    nice features provided by netdevices (other than being IP devices;->).
    If not, it probably time for someone to write a generic notification
    scheme via netlink.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:30    [W:0.019 / U:1.924 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site