summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/generate_udp_fragments.py
diff options
context:
space:
mode:
authorDaniel Xu <dxu@dxuuu.xyz>2023-07-21 23:22:48 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-07-29 02:52:08 +0300
commite15a22095608ae5e1da5892da739d83b49b3bba5 (patch)
tree56fd207e73ef478408e23f9b187fc120d4ef9272 /tools/testing/selftests/bpf/generate_udp_fragments.py
parent3495e89cdc3ab71719bd88c03dbd624c49ee70d2 (diff)
downloadlinux-e15a22095608ae5e1da5892da739d83b49b3bba5.tar.xz
bpf: selftests: Support custom type and proto for client sockets
Extend connect_to_fd_opts() to take optional type and protocol parameters for the client socket. These parameters are useful when opening a raw socket to send IP fragments. Signed-off-by: Daniel Xu <dxu@dxuuu.xyz> Link: https://lore.kernel.org/r/9067db539efdfd608aa86a2b143c521337c111fc.1689970773.git.dxu@dxuuu.xyz Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/generate_udp_fragments.py')
0 files changed, 0 insertions, 0 deletions