diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-30 20:06:09 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-12-03 12:50:18 +0100 |
commit | cb4b07d0b62836ab860e11e1f50c98656eeb4f9f (patch) | |
tree | dd8a67b372a79d230991a137a03ec8a3fe3573d3 /include/cache.h | |
parent | de961b93066007ffcde12e49d8cd9bafd7201732 (diff) |
cache: Support filtering for a specific flowtable
Extend nft_cache_filter to hold a flowtable name so 'list flowtable'
command causes fetching the requested flowtable only.
Dump flowtables just once instead of for each table, merely assign
fetched data to tables inside the loop.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/cache.h')
-rw-r--r-- | include/cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h index 3a9a5e81..d185f3cf 100644 --- a/include/cache.h +++ b/include/cache.h @@ -54,6 +54,7 @@ struct nft_cache_filter { const char *table; const char *chain; const char *set; + const char *ft; } list; struct { |