summaryrefslogtreecommitdiffstats
path: root/pbrd/pbr_map.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-08-20 18:55:45 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-08-28 13:51:06 +0200
commit7cbdabffb6c11570e62e71a8b2818511c4756c60 (patch)
treeac8624679700e8d3d71f1c98dcd572b8cf5e27be /pbrd/pbr_map.h
parentlib: Allow nexthop simple display to take an alternate ifp name (diff)
downloadfrr-7cbdabffb6c11570e62e71a8b2818511c4756c60.tar.xz
frr-7cbdabffb6c11570e62e71a8b2818511c4756c60.zip
pbrd: Allow interfaces to be deleted then added back in
PBR needs the ability to allow ephermeal interfaces( bonds, vrfs, dummy, bridges, etc ) to be destroyed and then recreated and at the same time keep track of them and rebuild state as appropriate when we get a change. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_map.h')
-rw-r--r--pbrd/pbr_map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pbrd/pbr_map.h b/pbrd/pbr_map.h
index 850070911..43266f21e 100644
--- a/pbrd/pbr_map.h
+++ b/pbrd/pbr_map.h
@@ -209,4 +209,7 @@ extern void pbr_map_policy_delete(struct pbr_map *pbrm,
extern void pbr_map_check_vrf_nh_group_change(const char *nh_group,
struct pbr_vrf *pbr_vrf,
uint32_t old_vrf_id);
+extern void pbr_map_check_interface_nh_group_change(const char *nh_group,
+ struct interface *ifp,
+ ifindex_t oldifindex);
#endif