diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-17 21:34:55 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-17 21:34:55 -0400 |
| commit | bfc920192804b2ce65f8ea11331c2e1cd3568b8b (patch) | |
| tree | e514babe675a220c2a900f943c6bcc60e568db3f /pimd/pim_instance.h | |
| parent | 5d59e4084180d87f18fded71d25d96ad4774488d (diff) | |
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_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index e672c39fdc..75f011513f 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -97,6 +97,15 @@ struct pim_instance { /* If we need to rescan all our upstreams */ struct thread *rpf_cache_refresher; + int64_t rpf_cache_refresh_requests; + int64_t rpf_cache_refresh_events; + int64_t rpf_cache_refresh_last; + int64_t scan_oil_events; + int64_t scan_oil_last; + + int64_t nexthop_lookups; + int64_t nexthop_lookups_avoided; + int64_t last_route_change_time; }; void pim_vrf_init(void); |
