summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-11-09 10:35:05 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-11-11 10:55:29 +0100
commit88e53b5dac2b55905dbf86d7def2fee51bf2a8dd (patch)
tree8155d74c2ecad74e44fc35efd650ba83a7a7b283 /include
parent1987a7acf99458d1d0e49939b5acbb2d7711f900 (diff)
cache: move list filter under struct
Wrap the table and set fields for list filtering to prepare for the introduction element filters. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/cache.h b/include/cache.h
index 05233588..7d61701a 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -39,8 +39,10 @@ enum cache_level_flags {
};
struct nft_cache_filter {
- const char *table;
- const char *set;
+ struct {
+ const char *table;
+ const char *set;
+ } list;
};
struct nft_cache;