diff options
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index dec5b2b8d6..166500fa5c 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -158,6 +158,13 @@ struct route_entry { * differs from the rib/normal set of nexthops. */ #define ROUTE_ENTRY_USE_FIB_NHG 0x40 +/* + * Route entries that are going to the dplane for a Route Replace + * let's note the fact that this is happening. This will + * be useful when zebra is determing if a route can be + * used for nexthops + */ +#define ROUTE_ENTRY_ROUTE_REPLACING 0x80 /* Sequence value incremented for each dataplane operation */ uint32_t dplane_sequence; @@ -585,6 +592,7 @@ static inline void rib_tables_iter_cleanup(rib_tables_iter_t *iter) DECLARE_HOOK(rib_update, (struct route_node * rn, const char *reason), (rn, reason)); +DECLARE_HOOK(rib_shutdown, (struct route_node * rn), (rn)); /* * Access installed/fib nexthops, which may be a subset of the |
