diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-09-21 18:48:27 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-09-21 19:25:26 -0700 |
commit | b06b45e82b59b69f5ac6b3916ac5dbd0294efc95 (patch) | |
tree | 398875d4e0a357355669b1a14851612ff4c8fb8e /tools/testing/selftests/bpf/config | |
parent | 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 (diff) | |
download | linux-b06b45e82b59b69f5ac6b3916ac5dbd0294efc95.tar.gz |
selftests/bpf: add tests for bpf_ct_set_nat_info kfunc
Introduce self-tests for bpf_ct_set_nat_info kfunc used to set the
source or destination nat addresses/ports.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/803e33294e247744d466943105879414344d3235.1663778601.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/config')
-rw-r--r-- | tools/testing/selftests/bpf/config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index 905a9be8d0a2..9213565c0311 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -63,6 +63,7 @@ CONFIG_NF_CONNTRACK=y CONFIG_NF_CONNTRACK_MARK=y CONFIG_NF_DEFRAG_IPV4=y CONFIG_NF_DEFRAG_IPV6=y +CONFIG_NF_NAT=y CONFIG_RC_CORE=y CONFIG_SECURITY=y CONFIG_SECURITYFS=y |