summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-04-08 12:32:14 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-05-19 12:13:50 +0200
commit26298a9ffc2e216fb6d349b398bf903dd08a1b08 (patch)
tree7ca1eae092dcef9ffa51a37844caf863df89a7ad /src/internal.h
parent2a288a38da25f5b2f0a4083a5158ba80d6bb8360 (diff)
set: add set ID support
Add the set ID (u32) which allows us to uniquely identify the set in the batch that is sent to kernel-space. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index b06f166..b8ed616 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -167,6 +167,7 @@ struct nft_set {
uint32_t key_len;
uint32_t data_type;
uint32_t data_len;
+ uint32_t id;
struct list_head element_list;
uint32_t flags;