aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2024-05-09 17:50:21 +0000
committerAlexei Starovoitov <[email protected]>2024-05-09 18:13:12 +0000
commitb1d87ae9b0d3d91767d85183e40c96f4229a6c21 (patch)
tree4bc3ec298d3b0752201e926d57e4e430fab50e09 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
parentselftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests (diff)
downloadkernel-b1d87ae9b0d3d91767d85183e40c96f4229a6c21.tar.gz
kernel-b1d87ae9b0d3d91767d85183e40c96f4229a6c21.zip
selftests/bpf: Rename tcp-cc private struct in bpf_cubic and bpf_dctcp
The "struct bictcp" and "struct dctcp" are private to the bpf prog and they are stored in the private buffer in inet_csk(sk)->icsk_ca_priv. Hence, there is no bpf CO-RE required. The same struct name exists in the vmlinux.h. To reuse vmlinux.h, they need to be renamed such that the bpf prog logic will be immuned from the kernel tcp-cc changes. This patch adds a "bpf_" prefix to them. Signed-off-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions