From 33669157102ce46d3727450f40204029b7d63c6b Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 19 Jun 2013 11:46:37 +0200 Subject: 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 --- src/internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/internal.h') 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; -- cgit v1.2.3