mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
bpf, selftests: Add redirect_neigh selftest
Add a small test that exercises the new redirect_neigh() helper for the IPv4 and IPv6 case. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/0fc7d9c5f9a6cc1c65b0d3be83b44b1ec9889f43.1601477936.git.daniel@iogearbox.net
This commit is contained in:
parent
faef26fa44
commit
eef4a011f3
2 changed files with 312 additions and 0 deletions
168
tools/testing/selftests/bpf/test_tc_neigh.sh
Executable file
168
tools/testing/selftests/bpf/test_tc_neigh.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue