diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-08-26 00:41:37 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-08-26 18:38:01 +0200 |
| commit | 969ce17b66f8084626610202f11d607911e049e6 (patch) | |
| tree | 4735e3cd5693cd5de25b91a29422ccef3257a0e3 /include | |
| parent | 68c8fb5f7c988a38a694c77c65e789e0cb8dfd8a (diff) | |
cache: add filtering support for objects
Currently, full ruleset flag is set on to fetch objects.
Follow a similar approach to these patches from Phil:
de961b930660 ("cache: Filter set list on server side") and
cb4b07d0b628 ("cache: Support filtering for a specific flowtable")
in preparation to update the reset command to use the cache
infrastructure.
Tested-by: Eric Garver <eric@garver.life>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h index 44e8430c..c72bedf5 100644 --- a/include/cache.h +++ b/include/cache.h @@ -54,8 +54,10 @@ struct nft_cache_filter { uint32_t family; const char *table; const char *chain; + const char *obj; const char *set; const char *ft; + int obj_type; uint64_t rule_handle; } list; |
