path: root/include
diff options
authorPablo Neira Ayuso <>2012-11-08 17:31:04 +0100
committerPablo Neira Ayuso <>2012-11-11 23:25:47 +0100
commita7490c7b24f39a88798fed66a6f15fd8e0e7f9ae (patch)
treefb0de4e9cbdca1c111b041d687d06020a2313b82 /include
parentd83fb7b10de7d88194a7a40652db7d8ad38eefcf (diff)
table: add nft_table_attr_set_u32 and nft_table_attr_get_u32
Useful to obtain recently added table flags. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include')
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libnftables/table.h b/include/libnftables/table.h
index fd187b4..1977d91 100644
--- a/include/libnftables/table.h
+++ b/include/libnftables/table.h
@@ -21,6 +21,9 @@ enum {
void nft_table_attr_set(struct nft_table *t, uint16_t attr, void *data);
const void *nft_table_attr_get(struct nft_table *t, uint16_t attr);
+void nft_table_attr_set_u32(struct nft_table *t, uint16_t attr, uint32_t data);
+uint32_t nft_table_attr_get_u32(struct nft_table *t, uint16_t attr);
void nft_table_nlmsg_build_payload(struct nlmsghdr *nlh, const struct nft_table *t);
enum {