diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-30 16:57:54 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-12-03 12:50:18 +0100 |
commit | de961b93066007ffcde12e49d8cd9bafd7201732 (patch) | |
tree | cf4f152b51ab182944982c96a7fec4ada150a84e /include | |
parent | 17297d1acbbff0133f8614dbee6717edf55c39f8 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/mnl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mnl.h b/include/mnl.h index 9d54aac8..8659879c 100644 --- a/include/mnl.h +++ b/include/mnl.h @@ -58,7 +58,7 @@ int mnl_nft_set_add(struct netlink_ctx *ctx, struct cmd *cmd, int mnl_nft_set_del(struct netlink_ctx *ctx, struct cmd *cmd); struct nftnl_set_list *mnl_nft_set_dump(struct netlink_ctx *ctx, int family, - const char *table); + const char *table, const char *set); int mnl_nft_setelem_add(struct netlink_ctx *ctx, const struct set *set, const struct expr *expr, unsigned int flags); |