summaryrefslogtreecommitdiffstats
path: root/pimd/pim_mroute.h
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 20:46:04 +0100
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 23:16:08 +0100
commit60eb7e6b803910dae00217009ded98d7c93186cd (patch)
tree0a7d4129b42fd27c94dbc21178b16a3ef0f2cfb7 /pimd/pim_mroute.h
parentpimd: re-eval JD unconditionally when an ifchannel is removed (diff)
downloadfrr-60eb7e6b803910dae00217009ded98d7c93186cd.tar.xz
frr-60eb7e6b803910dae00217009ded98d7c93186cd.zip
pimd: enforce PIM_ENFORCE_LOOPFREE_MFC at the time of MFC programming
This is needed for two reasons - 1. The inherited OIL needs to be setup independent of the RPF interface to allow correct computation of the JoinDesired macro. 2. The RPF interface is computed at the time of MFC programming so it is not possible to permanently evict the OIF at that time oif_add Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.h')
-rw-r--r--pimd/pim_mroute.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_mroute.h b/pimd/pim_mroute.h
index eadd39eec..2d8e1b01f 100644
--- a/pimd/pim_mroute.h
+++ b/pimd/pim_mroute.h
@@ -183,4 +183,6 @@ void pim_static_mroute_iif_update(struct channel_oil *c_oil,
int pim_mroute_del(struct channel_oil *c_oil, const char *name);
void pim_mroute_update_counters(struct channel_oil *c_oil);
+bool pim_mroute_allow_iif_in_oil(struct channel_oil *c_oil,
+ int oif_index);
#endif /* PIM_MROUTE_H */