diff options
| author | Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com> | 2024-11-20 08:43:22 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2024-12-02 08:41:17 -0800 |
| commit | bcc00987bc56faa3d0e20762ececefc831506846 (patch) | |
| tree | f8ee16934c2f629074082b15bd305ef80936b9da /tools/perf/scripts/python | |
| parent | selftests/bpf: use the same udp and tcp headers in tests under test_progs (diff) | |
| download | linux-bcc00987bc56faa3d0e20762ececefc831506846.tar.gz linux-bcc00987bc56faa3d0e20762ececefc831506846.zip | |
selftests/bpf: add network helpers to generate udp checksums
network_helpers.c provides some helpers to generate ip checksums or ip
pseudo-header checksums, but not for upper layers (eg: udp checksums)
Add helpers for udp checksum to allow manually building udp packets.
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://lore.kernel.org/r/20241120-flow_dissector-v3-12-45b46494f937@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
