diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-20 14:17:48 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:36 -0400 | 
| commit | f88df3a6425f49fe12cb0808e248f9a4047e6176 (patch) | |
| tree | aaa6ab0213a7e6781fc1e43d669668daae6f7fd7 /pimd/pim_instance.h | |
| parent | 5ec5d976ebb264b984b10a7a9d44d66c76d936c0 (diff) | |
pimd: Move pim_ifchannel_list and vif array into 'struct pim_instance *'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index 5df76952ac..a00b303041 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -21,6 +21,17 @@  #ifndef __PIM_INSTANCE_H__  #define __PIM_INSTANCE_H__ +#if defined(HAVE_LINUX_MROUTE_H) +#include <linux/mroute.h> +#else +/* +  Below: from <linux/mroute.h> +*/ + +#ifndef MAXVIFS +#define MAXVIFS (256) +#endif +#endif  extern struct pim_instance *pimg; // Pim Global Instance  enum pim_spt_switchover { @@ -63,6 +74,9 @@ struct pim_instance {  	struct timer_wheel *upstream_sg_wheel;  	struct list *rp_list; + +	struct list *ifchannel_list; +	int iface_vif_index[MAXVIFS];  };  void pim_vrf_init(void);  | 
