diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-09 10:35:05 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-11 10:55:29 +0100 |
commit | 88e53b5dac2b55905dbf86d7def2fee51bf2a8dd (patch) | |
tree | 8155d74c2ecad74e44fc35efd650ba83a7a7b283 /include/cache.h | |
parent | 1987a7acf99458d1d0e49939b5acbb2d7711f900 (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/cache.h')
-rw-r--r-- | include/cache.h | 6 |
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; |