summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-12 01:41:04 -0800
committerSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-13 22:47:32 -0800
commit67fa73f29a2a059fb01d8fc7009161f21e1b05da (patch)
treec2fb737745e0b7e487160e2e3a510866a5e33a28 /zebra/zebra_router.h
parente05ab0b0c8ecdd76afe972572cff2c0f9cc14574 (diff)
Zebra: ADD Protobuf Encoding & Decoding for MLAG Messages
1. add the Mlag ProtoBuf Lib to Zebra Compilation 2. Encode the messages with protobuf before writing to MLAG 3. Decode the MLAG Messages using protobuf and write to clients based on their subscrption. Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index 437cab5bbd..6fe3e4840f 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -100,6 +100,7 @@ struct zebra_mlag_info {
/* Threads for read/write. */
struct thread *t_read;
struct thread *t_write;
+ pthread_mutex_t mlag_th_mtx;
};
struct zebra_router {