diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-12-04 09:33:21 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-12-28 18:10:26 +0100 |
commit | 0378bcaad6736940867fc0a0b46e196f3e95d7ce (patch) | |
tree | 714685a9f194caac1ee5db5bbe6859beaf26b306 /bgpd/bgp_pbr.h | |
parent | Merge pull request #3449 from opensourcerouting/network-wide-transactions (diff) | |
download | frr-0378bcaad6736940867fc0a0b46e196f3e95d7ce.tar.xz frr-0378bcaad6736940867fc0a0b46e196f3e95d7ce.zip |
bgpd: flowspec redirect IP info is retrieved into nh tracking
redirect IP nh of flowspec entry is retrieved so that the nexthop
IP information is injected into the nexthop tracking, and is associated
to the bgp_path structure. This permits validating or unvalidating the
bgp_path for injection in zebra or not.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_pbr.h')
-rw-r--r-- | bgpd/bgp_pbr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_pbr.h b/bgpd/bgp_pbr.h index 84095f9ab..45c3c9ea1 100644 --- a/bgpd/bgp_pbr.h +++ b/bgpd/bgp_pbr.h @@ -290,4 +290,7 @@ extern void bgp_pbr_reset(struct bgp *bgp, afi_t afi); extern struct bgp_pbr_interface *bgp_pbr_interface_lookup(const char *name, struct bgp_pbr_interface_head *head); +extern int bgp_pbr_build_and_validate_entry(struct prefix *p, + struct bgp_path_info *path, + struct bgp_pbr_entry_main *api); #endif /* __BGP_PBR_H__ */ |