aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2022-12-19 18:00:10 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2022-12-21 17:34:00 +0100
commita8fe4154fa5a1bae590b243ed60f871e5a5e1378 (patch)
treee886dd5079a067b5eca2f3764fb1ca425b0a0bc0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentbed4a63ea4ae77cfe5aae004ef87379f0655260a (diff)
netfilter: nf_tables: add function to create set stateful expressions
Add a helper function to allocate and initialize the stateful expressions that are defined in a set. This patch allows to reuse this code from the set update path, to check that type of the update matches the existing set in the kernel. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions