selftest/bpf: Add tests for sockmap with unix stream type.
authorJiang Wang <jiang.wang@bytedance.com>
Mon, 16 Aug 2021 19:03:22 +0000 (19:03 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 17 Aug 2021 01:43:46 +0000 (18:43 -0700)
commit9b03152bd4691ba80f181413799b7fd36e83e564
treee59ecd6485b9cd36d026965a38f15d0c4beb19cf
parent94531cfcbe79c3598acf96806627b2137ca32eb9
selftest/bpf: Add tests for sockmap with unix stream type.

Add two tests for unix stream to unix stream redirection
in sockmap tests.

Signed-off-by: Jiang Wang <jiang.wang@bytedance.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Cong Wang <cong.wang@bytedance.com>
Acked-by: Jakub Sitnicki <jakub@cloudflare.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20210816190327.2739291-4-jiang.wang@bytedance.com
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c