diff options
Diffstat (limited to 'zebra/zebra_pbr.h')
| -rw-r--r-- | zebra/zebra_pbr.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/zebra/zebra_pbr.h b/zebra/zebra_pbr.h index 6a97ef55ed..f5f139cbda 100644 --- a/zebra/zebra_pbr.h +++ b/zebra/zebra_pbr.h @@ -90,8 +90,10 @@ struct zebra_pbr_rule { struct zebra_pbr_action action; }; -void zebra_pbr_add_rule(struct zebra_pbr_rule *rule, struct interface *ifp); -void zebra_pbr_del_rule(struct zebra_pbr_rule *rule, struct interface *ifp); +void zebra_pbr_add_rule(struct zebra_ns *zns, struct zebra_pbr_rule *rule, + struct interface *ifp); +void zebra_pbr_del_rule(struct zebra_ns *zns, struct zebra_pbr_rule *rule, + struct interface *ifp); /* * Install specified rule for a specific interface. @@ -126,4 +128,7 @@ extern void kernel_pbr_rule_add_del_status(struct zebra_pbr_rule *rule, extern int kernel_pbr_rule_del(struct zebra_pbr_rule *rule, struct interface *ifp); +extern void zebra_pbr_rules_free(void *arg); +extern uint32_t zebra_pbr_rules_hash_key(void *arg); +extern int zebra_pbr_rules_hash_equal(const void *arg1, const void *arg2); #endif /* _ZEBRA_PBR_H */ |
