samples: bpf: refactor header include path
authorDaniel T. Lee <danieltimlee@gmail.com>
Sat, 15 Jun 2019 15:14:47 +0000 (00:14 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 17 Jun 2019 22:28:36 +0000 (00:28 +0200)
commit4d18f6de6ac1d85dc0bc85481fb7cabde09e59ae
tree5d10b51c6622828cb26e5daad4d5148b8017fbc0
parentfa206dccd85d7682d36de4ccca1549e93c501d9d
samples: bpf: refactor header include path

Currently, header inclusion in each file is inconsistent.
For example, "libbpf.h" header is included as multiple ways.

    #include "bpf/libbpf.h"
    #include "libbpf.h"

Due to commit b552d33c80a9 ("samples/bpf: fix include path
in Makefile"), $(srctree)/tools/lib/bpf/ path had been included
during build, path "bpf/" in header isn't necessary anymore.

This commit removes path "bpf/" in header inclusion.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
15 files changed:
samples/bpf/fds_example.c
samples/bpf/hbm.c
samples/bpf/ibumad_user.c
samples/bpf/sockex1_user.c
samples/bpf/sockex2_user.c
samples/bpf/xdp1_user.c
samples/bpf/xdp_adjust_tail_user.c
samples/bpf/xdp_fwd_user.c
samples/bpf/xdp_redirect_cpu_user.c
samples/bpf/xdp_redirect_map_user.c
samples/bpf/xdp_redirect_user.c
samples/bpf/xdp_router_ipv4_user.c
samples/bpf/xdp_rxq_info_user.c
samples/bpf/xdp_tx_iptunnel_user.c
samples/bpf/xdpsock_user.c