summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorAmery Hung <ameryhung@gmail.com>2025-09-23 02:33:55 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2025-09-23 23:35:12 +0300
commit323302f54db92dc1c80ff5b114c20f19ec0adf81 (patch)
tree76e286a7162afb7cbd4ce5345fdfc4cecb4e5349 /rust/helpers
parentfe9544ed1a2e9217b2c5285c3a4ac0dc5a38bd7b (diff)
downloadlinux-323302f54db92dc1c80ff5b114c20f19ec0adf81.tar.xz
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