]> git.proxmox.com Git - mirror_frr.git/blame - pimd/pim_mlag.h
Merge pull request #5498 from mjstapp/sharp_with_labels
[mirror_frr.git] / pimd / pim_mlag.h
CommitLineData
36b5b98f
SK
1/*
2 * This is an implementation of PIM MLAG Functionality
3 *
4 * Module name: PIM MLAG
5 *
6 * Author: sathesh Kumar karra <sathk@cumulusnetworks.com>
7 *
8 * Copyright (C) 2019 Cumulus Networks http://www.cumulusnetworks.com
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the Free
12 * Software Foundation; either version 2 of the License, or (at your option)
13 * any later version.
14 *
15 * This program is distributed in the hope that it will be useful, but WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18 * more details.
19 *
20 * You should have received a copy of the GNU General Public License along
21 * with this program; see the file COPYING; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 */
24#ifndef __PIM_MLAG_H__
25#define __PIM_MLAG_H__
26
27#include "mlag.h"
28#include "pim_iface.h"
29
30extern void pim_mlag_init(void);
31extern void pim_instance_mlag_init(struct pim_instance *pim);
32extern void pim_instance_mlag_terminate(struct pim_instance *pim);
33extern void pim_if_configure_mlag_dualactive(struct pim_interface *pim_ifp);
34extern void pim_if_unconfigure_mlag_dualactive(struct pim_interface *pim_ifp);
35extern void pim_mlag_register(void);
36extern void pim_mlag_deregister(void);
46c2687c
SK
37extern int pim_zebra_mlag_process_up(void);
38extern int pim_zebra_mlag_process_down(void);
39extern int pim_zebra_mlag_handle_msg(struct stream *msg, int len);
36b5b98f 40#endif