summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index d6b8b66087..f63dcd984e 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -62,6 +62,9 @@ struct zebra_router {
#if defined(HAVE_RTADV)
struct rtadv rtadv;
#endif /* HAVE_RTADV */
+
+ /* A sequence number used for tracking routes */
+ _Atomic uint32_t sequence_num;
};
extern struct zebra_router zrouter;
@@ -81,4 +84,8 @@ extern int zebra_router_config_write(struct vty *vty);
extern unsigned long zebra_router_score_proto(uint8_t proto,
unsigned short instance);
extern void zebra_router_sweep_route(void);
+
+extern void zebra_router_show_table_summary(struct vty *vty);
+
+extern uint32_t zebra_router_get_next_sequence(void);
#endif