diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-11-29 15:14:41 +0100 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-01-29 14:15:10 +0100 | 
| commit | 6cfe5d1533b2c8a5daeeb34432153f2f17e5c2e7 (patch) | |
| tree | e29590f70398618bfec52d649c2c9c310202ff89 /bgpd/bgp_zebra.h | |
| parent | a35a794a23fd346f6078cdd5ba84fa113d5924a8 (diff) | |
bgpd: ip rule zebra layer adapted to handle both cases
now, ip rule can be created from two differnt ways; however a single
zebra API has been defined. so make it consistent by adding a parameter
to the bgp zebra layer. the function will handle the rest.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
| -rw-r--r-- | bgpd/bgp_zebra.h | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h index e7b7d683af..c6520c43e4 100644 --- a/bgpd/bgp_zebra.h +++ b/bgpd/bgp_zebra.h @@ -84,9 +84,11 @@ extern bool bgp_zebra_nexthop_set(union sockunion *, union sockunion *,  struct bgp_pbr_action;  struct bgp_pbr_match; +struct bgp_pbr_rule;  struct bgp_pbr_match_entry;  extern void bgp_send_pbr_rule_action(struct bgp_pbr_action *pbra, -				bool install); +				     struct bgp_pbr_rule *pbr, +				     bool install);  extern void bgp_send_pbr_ipset_match(struct bgp_pbr_match *pbrim,  				     bool install);  extern void bgp_send_pbr_ipset_entry_match(struct bgp_pbr_match_entry *pbrime,  | 
