summaryrefslogtreecommitdiff
path: root/zebra/zebra_pbr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-27 15:28:52 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-10-24 06:54:30 -0400
commit1c6fca1f624bed5f7ecf559fa48fbc4640a6a14b (patch)
treef6039a7305c42288c45cc38745007ff8ee1dba8e /zebra/zebra_pbr.h
parent62f20a52ab08c89697c094d4f44df5cf0272499a (diff)
zebra: Remove _wrap_script from hook names
The _wrap_script inclusion implies a certain end functionality of which we don't care. We just care that the hooks are called. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_pbr.h')
-rw-r--r--zebra/zebra_pbr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/zebra/zebra_pbr.h b/zebra/zebra_pbr.h
index b0791f9749..5b6c23896c 100644
--- a/zebra/zebra_pbr.h
+++ b/zebra/zebra_pbr.h
@@ -236,20 +236,20 @@ extern void zebra_pbr_iptable_update_interfacelist(struct stream *s,
size_t zebra_pbr_tcpflags_snprintf(char *buffer, size_t len,
uint16_t tcp_val);
-DECLARE_HOOK(zebra_pbr_ipset_entry_wrap_script_get_stat,
+DECLARE_HOOK(zebra_pbr_ipset_entry_get_stat,
(struct zebra_pbr_ipset_entry *ipset, uint64_t *pkts,
uint64_t *bytes),
(ipset, pkts, bytes))
-DECLARE_HOOK(zebra_pbr_iptable_wrap_script_get_stat,
+DECLARE_HOOK(zebra_pbr_iptable_get_stat,
(struct zebra_pbr_iptable *iptable, uint64_t *pkts,
uint64_t *bytes),
(iptable, pkts, bytes))
-DECLARE_HOOK(zebra_pbr_iptable_wrap_script_update,
+DECLARE_HOOK(zebra_pbr_iptable_update,
(int cmd, struct zebra_pbr_iptable *iptable), (cmd, iptable));
-DECLARE_HOOK(zebra_pbr_ipset_entry_wrap_script_update,
+DECLARE_HOOK(zebra_pbr_ipset_entry_update,
(int cmd, struct zebra_pbr_ipset_entry *ipset), (cmd, ipset));
-DECLARE_HOOK(zebra_pbr_ipset_wrap_script_update,
+DECLARE_HOOK(zebra_pbr_ipset_update,
(int cmd, struct zebra_pbr_ipset *ipset), (cmd, ipset));
#endif /* _ZEBRA_PBR_H */