path: root/iptables/nft-cache.h
diff options
authorPhil Sutter <>2019-09-25 13:49:19 +0200
committerPhil Sutter <>2019-10-17 19:02:42 +0200
commite2883c5531e6ee269845a8a11e09dd07efa2088f (patch)
treecb661086ad2e94127de35ff9f79fab716262a98a /iptables/nft-cache.h
parentc6d3ae9437e96c0076e43907f1867d7e306ca9fe (diff)
nft-cache: Support partial cache per table
Accept a builtin_table pointer in __nft_build_cache() and pass it along when fetching chains and rules to operate on that table only (unless the pointer is NULL). Make use of it in nft_chain_list_get() since that accepts a table name and performs a builtin table lookup internally already. Signed-off-by: Phil Sutter <> Acked-by: Pablo Neira Ayuso <>
Diffstat (limited to 'iptables/nft-cache.h')
0 files changed, 0 insertions, 0 deletions