Skip to content
Commit 949abbe8 authored by Eric Leblond's avatar Eric Leblond Committed by Alexei Starovoitov
Browse files

libbpf: add function to setup XDP



Most of the code is taken from set_link_xdp_fd() in bpf_load.c and
slightly modified to be library compliant.

Signed-off-by: default avatarEric Leblond <eric@regit.org>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent dc2b9f19
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment