2023-02-08 13:17:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2015-02-04 07:01:14 +01:00
|
|
|
/*
|
2017-05-13 10:25:29 +02:00
|
|
|
* PIM for Quagga
|
|
|
|
* Copyright (C) 2008 Everton da Silva Marques
|
|
|
|
*/
|
2015-02-04 07:01:14 +01:00
|
|
|
|
|
|
|
#ifndef PIM_ZEBRA_H
|
|
|
|
#define PIM_ZEBRA_H
|
|
|
|
|
2017-02-22 16:28:36 +01:00
|
|
|
#include <zebra.h>
|
|
|
|
#include "zclient.h"
|
|
|
|
|
2015-02-04 07:01:14 +01:00
|
|
|
#include "pim_ifchannel.h"
|
|
|
|
|
2016-11-13 09:48:56 +01:00
|
|
|
void pim_zebra_init(void);
|
2016-12-09 17:05:08 +01:00
|
|
|
void pim_zebra_zclient_update(struct vty *vty);
|
2015-02-04 07:01:14 +01:00
|
|
|
|
2017-05-23 14:57:11 +02:00
|
|
|
void pim_scan_oil(struct pim_instance *pim_matcher);
|
2015-02-04 07:01:14 +01:00
|
|
|
|
|
|
|
void pim_forward_start(struct pim_ifchannel *ch);
|
2021-10-24 13:45:18 +02:00
|
|
|
void pim_forward_stop(struct pim_ifchannel *ch);
|
2015-02-04 07:01:14 +01:00
|
|
|
|
2018-03-18 02:13:09 +01:00
|
|
|
void sched_rpf_cache_refresh(struct pim_instance *pim);
|
2017-02-22 16:28:36 +01:00
|
|
|
struct zclient *pim_zebra_zclient_get(void);
|
2018-07-31 23:40:37 +02:00
|
|
|
|
|
|
|
void pim_zebra_update_all_interfaces(struct pim_instance *pim);
|
2018-08-01 00:27:54 +02:00
|
|
|
void pim_zebra_upstream_rpf_changed(struct pim_instance *pim,
|
|
|
|
struct pim_upstream *up,
|
|
|
|
struct pim_rpf *old);
|
2019-09-19 05:07:44 +02:00
|
|
|
|
|
|
|
void pim_zebra_interface_set_master(struct interface *vrf,
|
|
|
|
struct interface *ifp);
|
2015-02-04 07:01:14 +01:00
|
|
|
#endif /* PIM_ZEBRA_H */
|