selftests/bpf: Add a test case for udp sockmap

Add a test case to ensure redirection between two UDP sockets work.

Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210331023237.41094-16-xiyou.wangcong@gmail.com
This commit is contained in:
Cong Wang 2021-03-30 19:32:36 -07:00 • committed by Alexei Starovoitov
commit d6378af615
2 changed files with 158 additions and 0 deletions