summaryrefslogtreecommitdiffstats
path: root/samples/bpf
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2018-01-30 21:55:01 +0100
committerAlexei Starovoitov <ast@kernel.org>2018-02-02 17:53:48 -0800
commit949abbe88436c000cc63fce2bdfeb48b7d06a7df (patch)
tree0c92cc22fd100260e510f79695e64dbb554eeb8d /samples/bpf
parentdc2b9f19e3bdaa87a7c3d123b8bba8a42d96d942 (diff)
downloadop-kernel-dev-949abbe88436c000cc63fce2bdfeb48b7d06a7df.zip
op-kernel-dev-949abbe88436c000cc63fce2bdfeb48b7d06a7df.tar.gz
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: Eric Leblond <eric@regit.org> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud