summaryrefslogtreecommitdiff
path: root/bgpd/bgp_labelpool.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-11 11:20:40 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:17 -0400
commit2453d15dbf7fff2d897c2182886486732be8ac35 (patch)
tree7a054859acf25689f67d5df7aa9d50b20bca4b62 /bgpd/bgp_labelpool.h
parent5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9 (diff)
*: Convert struct thread_master to struct event_master and it's ilk
Convert the `struct thread_master` to `struct event_master` across the code base. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_labelpool.h')
-rw-r--r--bgpd/bgp_labelpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_labelpool.h b/bgpd/bgp_labelpool.h
index 955ab2d697..73a16f03bf 100644
--- a/bgpd/bgp_labelpool.h
+++ b/bgpd/bgp_labelpool.h
@@ -31,7 +31,7 @@ struct labelpool {
uint32_t next_chunksize; /* request this many labels */
};
-extern void bgp_lp_init(struct thread_master *master, struct labelpool *pool);
+extern void bgp_lp_init(struct event_master *master, struct labelpool *pool);
extern void bgp_lp_finish(void);
extern void bgp_lp_get(int type, void *labelid,
int (*cbfunc)(mpls_label_t label, void *labelid, bool allocated));