summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-08 15:39:19 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-04-30 11:56:23 +0200
commit30d50e6dd519418bbb5ad8e1b4d031cafffd923c (patch)
tree1a6dd8dfcf6db1ce5856069f97c9b7564c25c76f /bgpd/bgp_zebra.h
parentbgpd: support for policy-routing context used with flowspec (diff)
downloadfrr-30d50e6dd519418bbb5ad8e1b4d031cafffd923c.tar.xz
frr-30d50e6dd519418bbb5ad8e1b4d031cafffd923c.zip
bgpd: communication with zebra for ipset & iprule handling
The APIs that handle ipset and iprule contexts from zebra are being handled in this commit. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index 7263317b6..94a20a3fd 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -70,4 +70,14 @@ extern int bgp_zebra_advertise_all_vni(struct bgp *, int);
extern int bgp_zebra_num_connects(void);
+struct bgp_pbr_action;
+struct bgp_pbr_match;
+struct bgp_pbr_match_entry;
+extern void bgp_send_pbr_rule_action(struct bgp_pbr_action *pbra,
+ 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,
+ bool install);
+
#endif /* _QUAGGA_BGP_ZEBRA_H */