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_MACRO_H
|
|
|
|
#define PIM_MACRO_H
|
|
|
|
|
|
|
|
#include <zebra.h>
|
|
|
|
|
|
|
|
#include "if.h"
|
|
|
|
|
|
|
|
#include "pim_upstream.h"
|
|
|
|
#include "pim_ifchannel.h"
|
|
|
|
|
|
|
|
int pim_macro_ch_lost_assert(const struct pim_ifchannel *ch);
|
|
|
|
int pim_macro_chisin_joins(const struct pim_ifchannel *ch);
|
|
|
|
int pim_macro_chisin_pim_include(const struct pim_ifchannel *ch);
|
|
|
|
int pim_macro_chisin_joins_or_include(const struct pim_ifchannel *ch);
|
|
|
|
int pim_macro_ch_could_assert_eval(const struct pim_ifchannel *ch);
|
|
|
|
struct pim_assert_metric pim_macro_spt_assert_metric(const struct pim_rpf *rpf,
|
2021-12-14 07:31:39 +01:00
|
|
|
pim_addr ifaddr);
|
2015-02-04 07:01:14 +01:00
|
|
|
struct pim_assert_metric
|
|
|
|
pim_macro_ch_my_assert_metric_eval(const struct pim_ifchannel *ch);
|
|
|
|
int pim_macro_chisin_oiflist(const struct pim_ifchannel *ch);
|
|
|
|
int pim_macro_assert_tracking_desired_eval(const struct pim_ifchannel *ch);
|
|
|
|
|
|
|
|
#endif /* PIM_MACRO_H */
|