aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/net.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-12-14 01:43:27 +0000
committerAlexei Starovoitov <[email protected]>2019-12-15 23:58:04 +0000
commit612d05be250aa8804d3baba7a12445a267a580d3 (patch)
tree1db52e5cad03e579ed65ba76ca39bd58388d222f /tools/bpf/bpftool/net.c
parentlibbpf: Add generic bpf_program__attach() (diff)
downloadkernel-612d05be250aa8804d3baba7a12445a267a580d3.tar.gz
kernel-612d05be250aa8804d3baba7a12445a267a580d3.zip
libbpf: Move non-public APIs from libbpf.h to libbpf_internal.h
Few libbpf APIs are not public but currently exposed through libbpf.h to be used by bpftool. Move them to libbpf_internal.h, where intent of being non-stable and non-public is much more obvious. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/net.c')
-rw-r--r--tools/bpf/bpftool/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/net.c b/tools/bpf/bpftool/net.c
index 4f52d3151616..d93bee298e54 100644
--- a/tools/bpf/bpftool/net.c
+++ b/tools/bpf/bpftool/net.c
@@ -18,6 +18,7 @@
#include <bpf.h>
#include <nlattr.h>
+#include "libbpf_internal.h"
#include "main.h"
#include "netlink_dumper.h"