samples: bpf: convert xdpsock_user.c to libbpf
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 26 Jul 2018 21:32:21 +0000 (14:32 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 27 Jul 2018 05:18:44 +0000 (07:18 +0200)
commit6748182c2d1850811a577fe060387f83d5fa0fe4
treee3d7389a2f79db94f5b29fc36eb5a28b4c761e4e
parente1a40ef418ca2d0ffb6d22f84a13cb0df66cf83c
samples: bpf: convert xdpsock_user.c to libbpf

Convert xdpsock_user.c to use libbpf instead of bpf_load.o.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/Makefile
samples/bpf/xdpsock_user.c