]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_labelpool.h
bgpd: add show commands for bgp labelpool
[mirror_frr.git] / bgpd / bgp_labelpool.h
index eaa3fce20b107dc793d9f8980058f12cddc83b78..d9f64acfe40002f25d4e87492c151cf83f8c8ce0 100644 (file)
@@ -40,6 +40,7 @@ struct labelpool {
        struct lp_fifo_head     requests;       /* blocked on zebra */
        struct work_queue       *callback_q;
        uint32_t                pending_count;  /* requested from zebra */
+       uint32_t reconnect_count;               /* zebra reconnections */
 };
 
 extern void bgp_lp_init(struct thread_master *master, struct labelpool *pool);
@@ -50,5 +51,6 @@ extern void bgp_lp_release(int type, void *labelid, mpls_label_t label);
 extern void bgp_lp_event_chunk(uint8_t keep, uint32_t first, uint32_t last);
 extern void bgp_lp_event_zebra_down(void);
 extern void bgp_lp_event_zebra_up(void);
+extern void bgp_lp_vty_init(void);
 
 #endif /* _FRR_BGP_LABELPOOL_H */