summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-save.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-09-25 13:49:19 +0200
committerPhil Sutter <phil@nwl.cc>2019-10-17 19:02:42 +0200
commite2883c5531e6ee269845a8a11e09dd07efa2088f (patch)
treecb661086ad2e94127de35ff9f79fab716262a98a /iptables/xtables-save.c
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 <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables-save.c')
0 files changed, 0 insertions, 0 deletions