[Olsr-users] Plugin for reporting node add/delete

Hannes Gredler (spam-protected)
Wed Apr 15 09:59:11 CEST 2009

Bhat, Ishwara wrote:
> I need to create a plugin for reporting node add/delete events.
> I can do it in 2 ways(?):
>    1. Create a timer at application and regularly loop through the link
>       and other tables to get the snapshot of nodes.

uhhh bad ... does not scale for thousands of nodes ...

>    2. **Hopefully** OLSRd gives me some callback hookes on which my
>       plugin can rely on in order to report the node add/loss by exception.

feel free to call your plugin in olsr_delete_tc_entry()
if it registers a function.

> Please tell if the second approach is possible. If so, anything I should 
> take care while writing this plugin?

More information about the Olsr-users mailing list