From 969ce17b66f8084626610202f11d607911e049e6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 26 Aug 2024 00:41:37 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- include/cache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3