-
- Downloads
selftests/bpf: Rewrite recvmsg{4,6} asm progs to c in test_sock_addr
I'll extend them in the next patch. It's easier to work with C than with asm. Signed-off-by:Stanislav Fomichev <sdf@google.com> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210127232853.3753823-4-sdf@google.com
Showing
- tools/testing/selftests/bpf/progs/recvmsg4_prog.c 37 additions, 0 deletionstools/testing/selftests/bpf/progs/recvmsg4_prog.c
- tools/testing/selftests/bpf/progs/recvmsg6_prog.c 43 additions, 0 deletionstools/testing/selftests/bpf/progs/recvmsg6_prog.c
- tools/testing/selftests/bpf/test_sock_addr.c 12 additions, 74 deletionstools/testing/selftests/bpf/test_sock_addr.c
Please register or sign in to comment