path: root/include
diff options
authorPablo Neira Ayuso <>2012-10-28 20:42:23 +0100
committerPablo Neira Ayuso <>2012-11-03 12:19:13 +0100
commitdd9eba1ee70ffad0db15d3be5d314221c098494b (patch)
tree120f0e93d4e7b777b95c75c9b3a4a05bea8b14f4 /include
parentcf810e904888099bfb1a6d9f010e290c7825b199 (diff)
rule: use 64-bits handle instead of 16-bits
5c4d30c nf_tables: use 64-bits rule handle instead of 16-bits Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h
index a75d08e..a944c00 100644
--- a/include/libnftables/rule.h
+++ b/include/libnftables/rule.h
@@ -21,12 +21,12 @@ enum {
void nft_rule_attr_set(struct nft_rule *r, uint16_t attr, void *data);
-void nft_rule_attr_set_u16(struct nft_rule *r, uint16_t attr, uint16_t val);
+void nft_rule_attr_set_u64(struct nft_rule *r, uint16_t attr, uint64_t val);
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);
-uint16_t nft_rule_attr_get_u16(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);