diff options
author | Phil Sutter <phil@nwl.cc> | 2019-09-25 13:49:19 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-10-17 19:02:42 +0200 |
commit | e2883c5531e6ee269845a8a11e09dd07efa2088f (patch) | |
tree | cb661086ad2e94127de35ff9f79fab716262a98a /utils/nfnl_osf.c | |
parent | c6d3ae9437e96c0076e43907f1867d7e306ca9fe (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 'utils/nfnl_osf.c')
0 files changed, 0 insertions, 0 deletions