diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-24 00:35:35 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-05-29 21:06:16 +0200 |
commit | 21ccc0cf24f80b7b75815dba3da308f6bae70492 (patch) | |
tree | 6bf49b5128524f5d7e1d5a39be34d44d70a5a211 /zebra/zebra_ptm_redistribute.c | |
parent | zebra: reorganize zserv.c by pthread affinity (diff) | |
download | frr-21ccc0cf24f80b7b75815dba3da308f6bae70492.tar.xz frr-21ccc0cf24f80b7b75815dba3da308f6bae70492.zip |
zebra: refactor zserv names, consolidate events
* Add centralized thread scheduling dispatchers for client threads and
the main thread
* Rename everything in zserv.c to stop using a combination of:
- zebra_server_*
- zebra_*
- zserv_*
Everything in zserv.c now begins with zserv_*.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm_redistribute.c')
-rw-r--r-- | zebra/zebra_ptm_redistribute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_ptm_redistribute.c b/zebra/zebra_ptm_redistribute.c index 747714769..815f61d15 100644 --- a/zebra/zebra_ptm_redistribute.c +++ b/zebra/zebra_ptm_redistribute.c @@ -66,7 +66,7 @@ static int zsend_interface_bfd_update(int cmd, struct zserv *client, stream_putw_at(s, 0, stream_get_endp(s)); client->if_bfd_cnt++; - return zebra_server_send_message(client, s); + return zserv_send_message(client, s); } void zebra_interface_bfd_update(struct interface *ifp, struct prefix *dp, @@ -101,7 +101,7 @@ static int zsend_bfd_peer_replay(int cmd, struct zserv *client) stream_putw_at(s, 0, stream_get_endp(s)); client->bfd_peer_replay_cnt++; - return zebra_server_send_message(client, s); + return zserv_send_message(client, s); } void zebra_bfd_peer_replay_req(void) |