diff options
author | Andrii Nakryiko <[email protected]> | 2020-08-18 18:36:05 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-08-18 18:38:25 -0700 |
commit | 7084566a236fbc98beb11430d8d67dd08b2ac151 (patch) | |
tree | aadfd16122367ca5ea11b4084d12007d8c47ad58 /tools/lib/bpf/bpf_prog_linfo.c | |
parent | 029258d7b22894fabcecb1626e1b87d18a6823f4 (diff) |
tools/bpftool: Remove libbpf_internal.h usage in bpftool
Most netlink-related functions were unique to bpftool usage, so I moved them
into net.c. Few functions are still used by both bpftool and libbpf itself
internally, so I've copy-pasted them (libbpf_nl_get_link,
libbpf_netlink_open). It's a bit of duplication of code, but better separation
of libbpf as a library with public API and bpftool, relying on unexposed
functions in libbpf.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions