diff options
author | Amery Hung <ameryhung@gmail.com> | 2025-09-22 16:33:55 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-09-23 13:35:12 -0700 |
commit | 323302f54db92dc1c80ff5b114c20f19ec0adf81 (patch) | |
tree | 76e286a7162afb7cbd4ce5345fdfc4cecb4e5349 /rust/helpers | |
parent | fe9544ed1a2e9217b2c5285c3a4ac0dc5a38bd7b (diff) |
selftests/bpf: Test bpf_xdp_pull_data
Test bpf_xdp_pull_data() with xdp packets with different layouts. The
xdp bpf program first checks if the layout is as expected. Then, it
calls bpf_xdp_pull_data(). Finally, it checks the 0xbb marker at offset
1024 using directly packet access.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250922233356.3356453-8-ameryhung@gmail.com
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions