summaryrefslogtreecommitdiffstats
path: root/pimd/pim_rpf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-03-18 02:34:55 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-03-18 02:34:55 +0100
commitbfc920192804b2ce65f8ea11331c2e1cd3568b8b (patch)
treee514babe675a220c2a900f943c6bcc60e568db3f /pimd/pim_rpf.h
parentpimd: make igmp_source_forward_reevaluate_all vrf aware (diff)
downloadfrr-bfc920192804b2ce65f8ea11331c2e1cd3568b8b.tar.xz
frr-bfc920192804b2ce65f8ea11331c2e1cd3568b8b.zip
pimd: Move some data tracking variables per VRF
There were a few more global variables that needed to be per vrf. So move them over. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rpf.h')
-rw-r--r--pimd/pim_rpf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/pimd/pim_rpf.h b/pimd/pim_rpf.h
index 86032f1c2..78bbfc7ed 100644
--- a/pimd/pim_rpf.h
+++ b/pimd/pim_rpf.h
@@ -56,8 +56,6 @@ enum pim_rpf_result { PIM_RPF_OK = 0, PIM_RPF_CHANGED, PIM_RPF_FAILURE };
struct pim_upstream;
-extern long long nexthop_lookups_avoided;
-
unsigned int pim_rpf_hash_key(void *arg);
int pim_rpf_equal(const void *arg1, const void *arg2);
@@ -71,5 +69,5 @@ int pim_rpf_addr_is_inaddr_none(struct pim_rpf *rpf);
int pim_rpf_addr_is_inaddr_any(struct pim_rpf *rpf);
int pim_rpf_is_same(struct pim_rpf *rpf1, struct pim_rpf *rpf2);
-void pim_rpf_set_refresh_time(void);
+void pim_rpf_set_refresh_time(struct pim_instance *pim);
#endif /* PIM_RPF_H */