On Tue, Sep 03, 2013 at 05:00:00PM +0800, Marek Lindner wrote:
On Monday, September 02, 2013 18:15:08 Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
Some operations executed on an orig_node depends on the current routing algorithm being used. To easily make this mechanism routing algorithm agnostic add a orig_node specific API that each algorithm can populate with its own routines.
Such routines are then invoked by the code when needed, without knowing which routing algorithm is currently in use
With this patch 3 API functions are added:
- orig_free (to free routing depending internal structs)
- orig_add_if (to change the inner state of an orig_node when a new hard interface is added)
- orig_del_if (to change the inner state of an orig_node when an hard interface is removed)
Please look into this warning: CC [M] /home/marek/batman-adv/originator.o /home/marek/batman-adv/originator.c:578:12: warning: ‘batadv_orig_node_del_if’ defined but not used [-Wunused-function]
Ops, sorry. During the last rebase I re-introduced batadv_orig_node_del_if() in originator.c. It should not be there at all.
I'll re-send these two patches.
Thanks,