summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-02-13 00:29:37 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-25 08:52:36 +0100
commit4f8ea50c0d97e8f339b40d95ce428f4ffd66ba76 (patch)
treed2b9bf793d33f1c14d17f8cf1db7750f0b645e8a /zebra/rib.h
parent5986b66b82d2c8a15c9467032d912be07481f07d (diff)
zebra: fpm: convert into module
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index c0cde50baf..5381d76b98 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -24,6 +24,7 @@
#define _ZEBRA_RIB_H
#include "zebra.h"
+#include "hook.h"
#include "linklist.h"
#include "prefix.h"
#include "table.h"
@@ -490,4 +491,6 @@ rib_tables_iter_cleanup (rib_tables_iter_t *iter)
iter->state = RIB_TABLES_ITER_S_DONE;
}
+DECLARE_HOOK(rib_update, (struct route_node *rn, const char *reason), (rn, reason))
+
#endif /*_ZEBRA_RIB_H */