summaryrefslogtreecommitdiffstats
path: root/lib/mlag.h
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-18 16:13:30 +0100
committerSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-19 17:54:11 +0100
commit1e76492b10844df77b64e7954b35f9a8ffc02e74 (patch)
treef8339cf93f5b9de6a035b5b9752d0f04bbbf2585 /lib/mlag.h
parentZebra: ADD Protobuf Encoding & Decoding for MLAG Messages (diff)
downloadfrr-1e76492b10844df77b64e7954b35f9a8ffc02e74.tar.xz
frr-1e76492b10844df77b64e7954b35f9a8ffc02e74.zip
zebra,pim : Fixing Review comments in PIM_MLAG
Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'lib/mlag.h')
-rw-r--r--lib/mlag.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/lib/mlag.h b/lib/mlag.h
index c8a345698..c531fb5b6 100644
--- a/lib/mlag.h
+++ b/lib/mlag.h
@@ -119,24 +119,23 @@ struct mlag_msg {
uint16_t data_len;
uint16_t msg_cnt;
uint8_t data[0];
-}__attribute__((packed));
+} __attribute__((packed));
extern char *mlag_role2str(enum mlag_role role, char *buf, size_t size);
-extern char *zebra_mlag_lib_msgid_to_str(enum mlag_msg_type msg_type, char *buf,
- size_t size);
-extern int zebra_mlag_lib_decode_mlag_hdr(struct stream *s,
- struct mlag_msg *msg);
-extern int zebra_mlag_lib_decode_mroute_add(struct stream *s,
- struct mlag_mroute_add *msg);
-extern int zebra_mlag_lib_decode_mroute_del(struct stream *s,
- struct mlag_mroute_del *msg);
-extern int zebra_mlag_lib_decode_mlag_status(struct stream *s,
- struct mlag_status *msg);
-extern int zebra_mlag_lib_decode_vxlan_update(struct stream *s,
- struct mlag_vxlan *msg);
-extern int zebra_mlag_lib_decode_frr_status(struct stream *s,
- struct mlag_frr_status *msg);
+extern char *mlag_lib_msgid_to_str(enum mlag_msg_type msg_type, char *buf,
+ size_t size);
+extern int mlag_lib_decode_mlag_hdr(struct stream *s, struct mlag_msg *msg);
+extern int mlag_lib_decode_mroute_add(struct stream *s,
+ struct mlag_mroute_add *msg);
+extern int mlag_lib_decode_mroute_del(struct stream *s,
+ struct mlag_mroute_del *msg);
+extern int mlag_lib_decode_mlag_status(struct stream *s,
+ struct mlag_status *msg);
+extern int mlag_lib_decode_vxlan_update(struct stream *s,
+ struct mlag_vxlan *msg);
+extern int mlag_lib_decode_frr_status(struct stream *s,
+ struct mlag_frr_status *msg);
#ifdef __cplusplus
}
#endif