summaryrefslogtreecommitdiff
path: root/samples/bpf/xdpsock_user.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-01-20 09:14:21 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-01-21 08:22:02 +0300
commit544356524dd6ff5b0bb9099861ab8493a4387def (patch)
tree2f8db0ee9bd828e3a93f10b21befea83b52ace63 /samples/bpf/xdpsock_user.c
parentc86575eccab24d583db0169ded342eb215b781c9 (diff)
downloadlinux-544356524dd6ff5b0bb9099861ab8493a4387def.tar.xz
selftests/bpf: switch to new libbpf XDP APIs
Switch to using new bpf_xdp_*() APIs across all selftests. Take advantage of a more straightforward and user-friendly semantics of old_prog_fd (0 means "don't care") in few places. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20220120061422.2710637-4-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/xdpsock_user.c')
0 files changed, 0 insertions, 0 deletions