diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-31 09:08:12 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-31 10:30:19 -0400 | 
| commit | 89b680829e938a81224d8de12ac1e7d9aaf245d3 (patch) | |
| tree | 9b76b0243bbd65378443998b0b7691ae0d279e05 /pimd/pim_instance.h | |
| parent | b77b155068fccde782700e342d745f2090886223 (diff) | |
pimd: Add ability to lookup RP group by table.
This feature does this:
Add the ability to store the non-prefix static RP
entries into a table.  Then to lookup the G to
find the RP in that table, finding the longest
prefix match across both prefix-lists and
static RP's.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index 0e91b4ca01..5422e8fe0d 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -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];  | 
