]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: Filter set list on server side
authorPhil Sutter <phil@nwl.cc>
Tue, 30 Nov 2021 15:57:54 +0000 (16:57 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 3 Dec 2021 11:50:18 +0000 (12:50 +0100)
commitde961b93066007ffcde12e49d8cd9bafd7201732
treecf4f152b51ab182944982c96a7fec4ada150a84e
parent17297d1acbbff0133f8614dbee6717edf55c39f8
cache: Filter set list on server side

Fetch either all tables' sets at once, a specific table's sets or even a
specific set if needed instead of iterating over the list of previously
fetched tables and fetching for each, then ignoring anything returned
that doesn't match the filter.

Signed-off-by: Phil Sutter <phil@nwl.cc>
include/mnl.h
src/cache.c
src/mnl.c