summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-12 09:40:35 +0100
committerSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-14 05:50:37 +0100
commitee235396b9c0187f7c72a86d3adb0bb15861c6c4 (patch)
tree7aa36f7f28189a6e93e551f0fdec8c018cc2117b /zebra/zserv.h
parentpimd, lib: adding support for MLAG Message processing at PIM (diff)
downloadfrr-ee235396b9c0187f7c72a86d3adb0bb15861c6c4.tar.xz
frr-ee235396b9c0187f7c72a86d3adb0bb15861c6c4.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;