summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-06-19 11:46:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-19 11:49:24 +0200
commit33669157102ce46d3727450f40204029b7d63c6b (patch)
tree02cbe7b234862950c572588550d0408b0cd83f97 /src/internal.h
parent1d1b818f3d6713b0a79bb1c0bda71446f08428af (diff)
set: add missing set/unset support for NFT_SET_ATTR_DATA_[TYPE|LEN]
While at it, use fixed length uint32_t instead of size_t. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal.h b/src/internal.h
index 7c0f8e9..fffca3d 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -42,9 +42,9 @@ struct nft_set {
char *table;
char *name;
uint32_t key_type;
- size_t key_len;
+ uint32_t key_len;
uint32_t data_type;
- size_t data_len;
+ uint32_t data_len;
struct list_head element_list;
uint32_t flags;