summaryrefslogtreecommitdiff
path: root/lib/mlag.c
AgeCommit message (Collapse)Author
2023-11-21*: Let's use the native IFNAMSIZ instead of INTERFACE_NAMSIZDonald Sharp
INTERFACE_NAMSIZ is just a redefine of IFNAMSIZ and IFNAMSIZ is the standard for interface name length on all platforms that FRR currently compiles on. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-02-09*: auto-convert to SPDX License IDsDavid Lamparter
Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2023-01-31lib: Adding missing string to switch statement in mlag.cDonald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2020-03-20lib: Ensure pointer exists before using in mlagDonald Sharp
Ensure that the s pointer is valid and usable before grabbing data off of it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-03-06lib, pimd, zebra: Provide some insurance against reading bad stream dataSatheesh Kumar K
This patch does two things: 1) Ensure the decoding of stream data between pim <-> zebra is properly decoded and we don't read beyond the end of the stream. 2) In zebra when we are freeing memory alloced ensure that we actually have memory to delete before we do so. Ticket: CM-27055 Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-11-19zebra,pim : Fixing Review comments in PIM_MLAGSatheesh Kumar K
Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
2019-11-13pimd, lib: adding support for MLAG Message processing at PIMSatheesh Kumar K
This includes: 1. Defining message formats 2. Stream Decoding after receiving the message at PIM 3. Handling MLAG UP & Down Notifications Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
2019-10-14Revert "Merge pull request #4885 from satheeshkarra/pim_mlag"Quentin Young
This reverts commit d563896dada99f3474d428f928786cbfde936fee, reversing changes made to 09ea1a40386f02a13cdb0462cc55af0d03f0c277.
2019-09-24pimd, lib: adding support for MLAG Message processing at PIMSatheesh Kumar K
This includes: 1. Defining message formats 2. Stream Decoding after receiving the message at PIM 3. Handling MLAG UP & Down Notifications Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
2019-01-04lib: Add mlag_role2str functionDonald Sharp
Add a generic mlag_role2str function for lib since multiple daemons will be using this code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>