summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_labelpool.h
diff options
context:
space:
mode:
authorPat Ruddy <pat@voltanet.io>2020-12-04 13:14:26 +0100
committerPat Ruddy <pat@voltanet.io>2021-01-04 15:29:35 +0100
commite3ea65039e8e17144e0cb91d9c93d4fc3f949e1d (patch)
tree632872a005a2a045dd69ccc9b182a12a7eab3266 /bgpd/bgp_labelpool.h
parentMerge pull request #7791 from mjstapp/fix_pbr_nht_goto (diff)
downloadfrr-e3ea65039e8e17144e0cb91d9c93d4fc3f949e1d.tar.xz
frr-e3ea65039e8e17144e0cb91d9c93d4fc3f949e1d.zip
bgpd: add show commands for bgp labelpool
These commands allow the bgp labelpool lists and counts to be viewed for debug purposes. Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'bgpd/bgp_labelpool.h')
-rw-r--r--bgpd/bgp_labelpool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_labelpool.h b/bgpd/bgp_labelpool.h
index eaa3fce20..d9f64acfe 100644
--- a/bgpd/bgp_labelpool.h
+++ b/bgpd/bgp_labelpool.h
@@ -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 */