diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-11-29 14:35:41 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-01-29 14:15:10 +0100 |
commit | ffee150ec42cce9ba6dd66d451965849ede0bd79 (patch) | |
tree | 24e71ff9c965e8aaeb752a371586555d56e13c0b /bgpd/bgp_pbr.h | |
parent | bgpd: conversion from fs to pbr: support for ip rule from/to (diff) | |
download | frr-ffee150ec42cce9ba6dd66d451965849ede0bd79.tar.xz frr-ffee150ec42cce9ba6dd66d451965849ede0bd79.zip |
bgpd: notify callback when ip rule from/to rule has been configured
because ip rule creation is used to not only handle traffic marked by
fwmark; but also for conveying traffic with from/to rules, a check of
the creation must be done in the linked list of ip rules.
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 7deb547ee..c3db10cbe 100644 --- a/bgpd/bgp_pbr.h +++ b/bgpd/bgp_pbr.h @@ -253,6 +253,9 @@ struct bgp_pbr_action { struct bgp *bgp; }; +extern struct bgp_pbr_rule *bgp_pbr_rule_lookup(vrf_id_t vrf_id, + uint32_t unique); + extern struct bgp_pbr_action *bgp_pbr_action_rule_lookup(vrf_id_t vrf_id, uint32_t unique); |