summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 076608bb0f..b7416322f9 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -108,8 +108,11 @@ struct route_entry {
struct nexthop_group fib_ng;
struct nexthop_group fib_backup_ng;
- /* Nexthop group hash entry ID */
+ /* Nexthop group hash entry IDs. The "installed" id is the id
+ * used in linux/netlink, if available.
+ */
uint32_t nhe_id;
+ uint32_t nhe_installed_id;
/* Tag */
route_tag_t tag;
@@ -487,7 +490,8 @@ extern struct route_table *rib_tables_iter_next(rib_tables_iter_t *iter);
extern uint8_t route_distance(int type);
-extern void zebra_rib_evaluate_rn_nexthops(struct route_node *rn, uint32_t seq);
+extern void zebra_rib_evaluate_rn_nexthops(struct route_node *rn, uint32_t seq,
+ bool rt_delete);
/*
* Inline functions.