summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-08-26 13:35:37 +0200
committerSatheesh Kumar K <sathk@cumulusnetworks.com>2019-09-24 10:42:31 +0200
commit40d9d1cc444bc77847a45629c58c65044ce48efa (patch)
treee373b310373fe19f1956e856debb26a9a7223e6b /zebra/zserv.h
parentpimd, lib: adding support for MLAG Message processing at PIM (diff)
downloadfrr-40d9d1cc444bc77847a45629c58c65044ce48efa.tar.xz
frr-40d9d1cc444bc77847a45629c58c65044ce48efa.zip
Zebra: adding support for Zebra MLAG Functionality
This includes: 1. Processing client Registrations for MLAG 2. storing client Interests for MLAG updates 3. Opening communication channel to MLAG with First client reg 4. Closing Communication channel with last client De-reg 5. Spawning a new thread for handling MLAG updates peocessing 6. adding Test code 7. advertising MLAG Updates to clients based on their interests Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index 708ff1e22..ccc8d92aa 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -99,6 +99,13 @@ struct zserv {
uint8_t proto;
uint16_t instance;
+ /*
+ * Interested for MLAG Updates, and also stores the client
+ * interested message mask
+ */
+ bool mlag_updates_interested;
+ uint32_t mlag_reg_mask1;
+
/* Statistics */
uint32_t redist_v4_add_cnt;
uint32_t redist_v4_del_cnt;