diff options
Diffstat (limited to 'include/libnftables/rule.h')
-rw-r--r-- | include/libnftables/rule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h index a944c00..2cd1bf3 100644 --- a/include/libnftables/rule.h +++ b/include/libnftables/rule.h @@ -26,6 +26,7 @@ void nft_rule_attr_set_str(struct nft_rule *r, uint16_t attr, char *str); void *nft_rule_attr_get(struct nft_rule *r, uint16_t attr); const char *nft_rule_attr_get_str(struct nft_rule *r, uint16_t attr); +uint8_t nft_rule_attr_get_u8(struct nft_rule *r, uint16_t attr); uint64_t nft_rule_attr_get_u64(struct nft_rule *r, uint16_t attr); void nft_rule_add_expr(struct nft_rule *r, struct nft_rule_expr *expr); |