summaryrefslogtreecommitdiff
path: root/staticd
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 /staticd
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 'staticd')
-rw-r--r--staticd/static_bfd.c2
-rw-r--r--staticd/static_main.c2
-rw-r--r--staticd/static_routes.h2
-rw-r--r--staticd/static_zebra.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/staticd/static_bfd.c b/staticd/static_bfd.c
index ccf7d206f2..eceb357115 100644
--- a/staticd/static_bfd.c
+++ b/staticd/static_bfd.c
@@ -201,7 +201,7 @@ void static_next_hop_bfd_profile(struct static_nexthop *sn, const char *name)
bfd_sess_install(sn->bsp);
}
-void static_bfd_initialize(struct zclient *zc, struct thread_master *tm)
+void static_bfd_initialize(struct zclient *zc, struct event_master *tm)
{
/* Initialize BFD integration library. */
bfd_protocol_integration_init(zc, tm);
diff --git a/staticd/static_main.c b/staticd/static_main.c
index 1d9b0d16cb..646340bac8 100644
--- a/staticd/static_main.c
+++ b/staticd/static_main.c
@@ -51,7 +51,7 @@ struct zebra_privs_t static_privs = {
struct option longopts[] = { { 0 } };
/* Master of threads. */
-struct thread_master *master;
+struct event_master *master;
uintptr_t mgmt_lib_hndl;
diff --git a/staticd/static_routes.h b/staticd/static_routes.h
index 4fd7a1342f..b5c8353e1b 100644
--- a/staticd/static_routes.h
+++ b/staticd/static_routes.h
@@ -252,7 +252,7 @@ extern void static_next_hop_bfd_profile(struct static_nexthop *sn,
extern void static_next_hop_bfd_multi_hop(struct static_nexthop *sn, bool mhop);
/** Call this function after zebra client initialization. */
-extern void static_bfd_initialize(struct zclient *zc, struct thread_master *tm);
+extern void static_bfd_initialize(struct zclient *zc, struct event_master *tm);
extern void static_bfd_show(struct vty *vty, bool isjson);
diff --git a/staticd/static_zebra.h b/staticd/static_zebra.h
index 5f21d6c386..0e7048f81c 100644
--- a/staticd/static_zebra.h
+++ b/staticd/static_zebra.h
@@ -11,7 +11,7 @@
extern "C" {
#endif
-extern struct thread_master *master;
+extern struct event_master *master;
extern void static_zebra_nht_register(struct static_nexthop *nh, bool reg);