diff options
Diffstat (limited to 'include/rule.h')
-rw-r--r-- | include/rule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rule.h b/include/rule.h index bf3f3963..87b440b6 100644 --- a/include/rule.h +++ b/include/rule.h @@ -260,6 +260,8 @@ extern struct rule *rule_get(struct rule *rule); extern void rule_free(struct rule *rule); extern void rule_print(const struct rule *rule, struct output_ctx *octx); extern struct rule *rule_lookup(const struct chain *chain, uint64_t handle); +extern struct rule *rule_lookup_by_index(const struct chain *chain, + uint64_t index); /** * struct set - nftables set |