summaryrefslogtreecommitdiffstats
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-11-21 21:05:52 +0100
committerMark Stapp <mjs@voltanet.io>2019-11-21 21:05:52 +0100
commit5463ce26c35c875b56d507ac1b0e25b1f106cff5 (patch)
tree2b6f5bf8ab1e32684b36d55432e7857e1f7155f9 /zebra/rib.h
parentMerge pull request #5381 from donaldsharp/zebra_100_is_no_good (diff)
downloadfrr-5463ce26c35c875b56d507ac1b0e25b1f106cff5.tar.xz
frr-5463ce26c35c875b56d507ac1b0e25b1f106cff5.zip
zebra: clean up rib and nhg headers
Clean up the relationships between zebra's rib and nexthop-group headers as prep for adding a nexthop-group pointer to the route_entry. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 35aa011c0..6a7b65c55 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -35,6 +35,7 @@
#include "if.h"
#include "mpls.h"
#include "srcdest_table.h"
+#include "zebra/zebra_nhg.h"
#ifdef __cplusplus
extern "C" {
@@ -334,6 +335,7 @@ extern void route_entry_nexthop_add(struct route_entry *re,
struct nexthop *nexthop);
extern void route_entry_copy_nexthops(struct route_entry *re,
struct nexthop *nh);
+int route_entry_update_nhe(struct route_entry *re, struct nhg_hash_entry *new);
#define route_entry_dump(prefix, src, re) _route_entry_dump(__func__, prefix, src, re)
extern void _route_entry_dump(const char *func, union prefixconstptr pp,