]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_instance.h
Merge pull request #3108 from dmbaturin/master
[mirror_frr.git] / pimd / pim_instance.h
index 0e91b4ca01c32bfe22e4da8b6b40595ca6263fc8..b447075e9a934c5f6c5683b18a1c04df1bb45634 100644 (file)
@@ -76,7 +76,11 @@ struct pim_instance {
        struct hash *upstream_hash;
        struct timer_wheel *upstream_sg_wheel;
 
+       /*
+        * RP information
+        */
        struct list *rp_list;
+       struct route_table *rp_table;
 
        int iface_vif_index[MAXVIFS];
 
@@ -90,6 +94,21 @@ struct pim_instance {
 
        unsigned int keep_alive_time;
        unsigned int rp_keep_alive_time;
+
+       bool ecmp_enable;
+       bool ecmp_rebalance_enable;
+
+       /* 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);