diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2013-09-03 11:10:23 +0200 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-23 17:03:21 +0200 |
commit | d0015fdd3d2c9cc5927637c74a66d85e8bcacf1c (patch) | |
tree | 541340ef841baf985b4f14268ebd9a7536df2a07 /net/batman-adv/translation-table.h | |
parent | batman-adv: adapt the neighbor purging routine to use the new API functions (diff) | |
download | linux-d0015fdd3d2c9cc5927637c74a66d85e8bcacf1c.tar.xz linux-d0015fdd3d2c9cc5927637c74a66d85e8bcacf1c.zip |
batman-adv: provide orig_node routing API
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)
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/translation-table.h')
0 files changed, 0 insertions, 0 deletions