summaryrefslogtreecommitdiff
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-08-26 04:35:37 -0700
committerSatheesh Kumar K <sathk@cumulusnetworks.com>2019-09-24 01:42:31 -0700
commit40d9d1cc444bc77847a45629c58c65044ce48efa (patch)
treee373b310373fe19f1956e856debb26a9a7223e6b /zebra/zserv.h
parent5fdca4ded5794dcf97235fa3f2d1f0e7e0969c29 (diff)
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 708ff1e226..ccc8d92aa2 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;