summaryrefslogtreecommitdiff
path: root/ripngd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-07 14:14:41 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:17 -0400
commitcd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1 (patch)
treef97009b8971d71b4c05cbc0d00b98608efd40e44 /ripngd
parentce50d11c4d89304825b614d63fe6d7bd8ad2d517 (diff)
*: Convert `struct event_master` to `struct event_loop`
Let's find a better name for it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripng_main.c2
-rw-r--r--ripngd/ripng_zebra.c2
-rw-r--r--ripngd/ripngd.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c
index 18a18b214b..bedd393759 100644
--- a/ripngd/ripng_main.c
+++ b/ripngd/ripng_main.c
@@ -48,7 +48,7 @@ struct zebra_privs_t ripngd_privs = {
/* Master of threads. */
-struct event_master *master;
+struct event_loop *master;
static struct frr_daemon_info ripngd_di;
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c
index 9bb3826d7e..d974d65df5 100644
--- a/ripngd/ripng_zebra.c
+++ b/ripngd/ripng_zebra.c
@@ -228,7 +228,7 @@ static zclient_handler *const ripng_handlers[] = {
};
/* Initialize zebra structure and it's commands. */
-void zebra_init(struct event_master *master)
+void zebra_init(struct event_loop *master)
{
/* Allocate zebra structure. */
zclient = zclient_new(master, &zclient_options_default, ripng_handlers,
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index a94711013b..eefcb0ee69 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -316,7 +316,7 @@ struct ripng_offset_list {
/* Extern variables. */
extern struct zebra_privs_t ripngd_privs;
-extern struct event_master *master;
+extern struct event_loop *master;
extern struct ripng_instance_head ripng_instances;
/* Prototypes. */
@@ -338,7 +338,7 @@ extern void ripng_zebra_vrf_register(struct vrf *vrf);
extern void ripng_zebra_vrf_deregister(struct vrf *vrf);
extern void ripng_terminate(void);
/* zclient_init() is done by ripng_zebra.c:zebra_init() */
-extern void zebra_init(struct event_master *master);
+extern void zebra_init(struct event_loop *master);
extern void ripng_zebra_stop(void);
extern void ripng_redistribute_conf_update(struct ripng *ripng, int type);
extern void ripng_redistribute_conf_delete(struct ripng *ripng, int type);