diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-31 15:08:12 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-31 16:30:19 +0200 |
commit | 89b680829e938a81224d8de12ac1e7d9aaf245d3 (patch) | |
tree | 9b76b0243bbd65378443998b0b7691ae0d279e05 /pimd/pim_instance.h | |
parent | pimd: Match on longest prefix when searching for RP (diff) | |
download | frr-89b680829e938a81224d8de12ac1e7d9aaf245d3.tar.xz frr-89b680829e938a81224d8de12ac1e7d9aaf245d3.zip |
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 0e91b4ca0..5422e8fe0 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]; |