netfilter: nf_tables: Introduce nft_set_dump_ctx_init()
authorPhil Sutter <phil@nwl.cc>
Thu, 9 Nov 2023 15:01:15 +0000 (16:01 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 22 Dec 2023 11:08:37 +0000 (12:08 +0100)
commitf649be6d9c84960e358f350914a0673411467b11
tree50dc4196569b1ca1cc32f8ada442c15adb0b1bb1
parent5896e861a714b9b0acabbb17e61753cdb3b32b68
netfilter: nf_tables: Introduce nft_set_dump_ctx_init()

This is a wrapper around nft_ctx_init() for use in
nf_tables_getsetelem() and a resetting equivalent introduced later.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c