diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-12 15:11:33 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-04-30 11:56:23 +0200 |
commit | 70eabd1286506f4d86f591c0442fd8902cce80ba (patch) | |
tree | 7df4ae49729e44c1674d8854999d6b7b17a37827 /bgpd/bgp_pbr.h | |
parent | bgpd: hash lookup for ipset and ipset entries (diff) | |
download | frr-70eabd1286506f4d86f591c0442fd8902cce80ba.tar.xz frr-70eabd1286506f4d86f591c0442fd8902cce80ba.zip |
bgpd: hash lookup for iprule entries
once an iprule has been created, a notification is sent back, and the
context of bgp_action is searched.
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, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_pbr.h b/bgpd/bgp_pbr.h index b6d26469f..d82f125ec 100644 --- a/bgpd/bgp_pbr.h +++ b/bgpd/bgp_pbr.h @@ -218,7 +218,8 @@ struct bgp_pbr_action { }; -extern struct bgp_pbr_action *bgp_pbr_action_rule_lookup(uint32_t unique); +extern struct bgp_pbr_action *bgp_pbr_action_rule_lookup(vrf_id_t vrf_id, + uint32_t unique); extern struct bgp_pbr_match *bgp_pbr_match_ipset_lookup(vrf_id_t vrf_id, uint32_t unique); |