OSDN Git Service

selftests/bpf: Add test cases for redirection between udp and unix
authorCong Wang <cong.wang@bytedance.com>
Sun, 4 Jul 2021 19:02:52 +0000 (12:02 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 16 Jul 2021 01:17:51 +0000 (18:17 -0700)
commita2ffda38dc01cb3963c78bd34e1ec7226af55028
tree0fce2ae719bf9c848f1f17ae533ce536d27abc21
parent5ea905dd432205bfa314efb1b5353889e1804f11
selftests/bpf: Add test cases for redirection between udp and unix

Add two test cases to ensure redirection between udp and unix
work bidirectionally.

Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210704190252.11866-12-xiyou.wangcong@gmail.com
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c