summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-07 15:46:00 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-04-16 14:40:43 +0200
commit425bdd6bf10123c2027ed602536490aeb5fb72a0 (patch)
treec4247c9a59e7a103f1b26d62763912e558a5e74d /zebra/zserv.h
parentlib: add ZEBRA IPSET defines (diff)
downloadfrr-425bdd6bf10123c2027ed602536490aeb5fb72a0.tar.xz
frr-425bdd6bf10123c2027ed602536490aeb5fb72a0.zip
zebra: handling notifications upon ipset creation/destruction done
Once ipset entries are injected in the kernel, the relevant daemon is informed with a zebra message sent back. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index 947e11e35..e66c1811c 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -188,8 +188,16 @@ extern int zsend_route_notify_owner(struct route_entry *re, struct prefix *p,
enum zapi_route_notify_owner note);
struct zebra_pbr_rule;
+struct zebra_pbr_ipset;
+struct zebra_pbr_ipset_entry;
extern void zsend_rule_notify_owner(struct zebra_pbr_rule *rule,
enum zapi_rule_notify_owner note);
+extern void zsend_ipset_notify_owner(
+ struct zebra_pbr_ipset *ipset,
+ enum zapi_ipset_notify_owner note);
+extern void zsend_ipset_entry_notify_owner(
+ struct zebra_pbr_ipset_entry *ipset,
+ enum zapi_ipset_entry_notify_owner note);
extern void zserv_nexthop_num_warn(const char *, const struct prefix *,
const unsigned int);