diff options
| author | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-11-18 07:13:30 -0800 |
|---|---|---|
| committer | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-11-19 08:54:11 -0800 |
| commit | 1e76492b10844df77b64e7954b35f9a8ffc02e74 (patch) | |
| tree | f8339cf93f5b9de6a035b5b9752d0f04bbbf2585 /lib/mlag.c | |
| parent | 67fa73f29a2a059fb01d8fc7009161f21e1b05da (diff) | |
zebra,pim : Fixing Review comments in PIM_MLAG
Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'lib/mlag.c')
| -rw-r--r-- | lib/mlag.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lib/mlag.c b/lib/mlag.c index 7aac571da6..1daf290725 100644 --- a/lib/mlag.c +++ b/lib/mlag.c @@ -40,8 +40,7 @@ char *mlag_role2str(enum mlag_role role, char *buf, size_t size) return buf; } -char *zebra_mlag_lib_msgid_to_str(enum mlag_msg_type msg_type, char *buf, - size_t size) +char *mlag_lib_msgid_to_str(enum mlag_msg_type msg_type, char *buf, size_t size) { switch (msg_type) { case MLAG_REGISTER: @@ -82,7 +81,7 @@ char *zebra_mlag_lib_msgid_to_str(enum mlag_msg_type msg_type, char *buf, } -int zebra_mlag_lib_decode_mlag_hdr(struct stream *s, struct mlag_msg *msg) +int mlag_lib_decode_mlag_hdr(struct stream *s, struct mlag_msg *msg) { if (s == NULL || msg == NULL) return -1; @@ -95,8 +94,7 @@ stream_failure: return -1; } -int zebra_mlag_lib_decode_mroute_add(struct stream *s, - struct mlag_mroute_add *msg) +int mlag_lib_decode_mroute_add(struct stream *s, struct mlag_mroute_add *msg) { if (s == NULL || msg == NULL) return -1; @@ -115,8 +113,7 @@ stream_failure: return -1; } -int zebra_mlag_lib_decode_mroute_del(struct stream *s, - struct mlag_mroute_del *msg) +int mlag_lib_decode_mroute_del(struct stream *s, struct mlag_mroute_del *msg) { if (s == NULL || msg == NULL) return -1; @@ -132,7 +129,7 @@ stream_failure: return -1; } -int zebra_mlag_lib_decode_mlag_status(struct stream *s, struct mlag_status *msg) +int mlag_lib_decode_mlag_status(struct stream *s, struct mlag_status *msg) { if (s == NULL || msg == NULL) return -1; @@ -145,7 +142,7 @@ stream_failure: return -1; } -int zebra_mlag_lib_decode_vxlan_update(struct stream *s, struct mlag_vxlan *msg) +int mlag_lib_decode_vxlan_update(struct stream *s, struct mlag_vxlan *msg) { if (s == NULL || msg == NULL) return -1; @@ -158,8 +155,7 @@ stream_failure: return -1; } -int zebra_mlag_lib_decode_frr_status(struct stream *s, - struct mlag_frr_status *msg) +int mlag_lib_decode_frr_status(struct stream *s, struct mlag_frr_status *msg) { if (s == NULL || msg == NULL) return -1; |
