diff options
author | Eric Leblond <eric@regit.org> | 2018-01-30 21:55:01 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-02-02 17:53:48 -0800 |
commit | 949abbe88436c000cc63fce2bdfeb48b7d06a7df (patch) | |
tree | 0c92cc22fd100260e510f79695e64dbb554eeb8d /samples | |
parent | tools: add netlink.h and if_link.h in tools uapi (diff) | |
download | linux-dev-949abbe88436c000cc63fce2bdfeb48b7d06a7df.tar.xz linux-dev-949abbe88436c000cc63fce2bdfeb48b7d06a7df.zip |
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')
0 files changed, 0 insertions, 0 deletions