[Olsr-dev] Dynamic adding of interfaces

Mitar (spam-protected)
Thu Apr 12 19:31:44 CEST 2012


Hi!

On Thu, Apr 12, 2012 at 12:33 PM, Markus Kittenberger
<(spam-protected)> wrote:
>> There is no way to specify for example "tap+" like any interface which
>> starts with "tap"?
>
> nice idea,..

How hard it would be to implement this?

>> By interface name or interface ID?
>
> afair it just subscribes to all interface (=RTMGRP_LINK) events

And then just filters out itself the one it does not want? So it sould
be easy to implement a "black list" of interfaces instead of "white
list" as it is currently done?

> don't think so. (a listener can just select which multicast groups it wants
> to join, e.g. RTMGRP_LINK or ROUTE or NEIGH or IFADDR ...)
> but filtering the events in olsrd after receive is not that hard.

And there are not many events? So those events are just when
interfaces appear and disappear? Sending and receiving of packets is
done by normally binding on interfaces once olsrd is informed about
them?


Mitar




More information about the Olsr-dev mailing list