summaryrefslogtreecommitdiff
path: root/flowtop.8
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.8')
0 files changed, 0 insertions, 0 deletions
-next.git/tree/tools?h=nds-private-remove&id=e5ff7c4019c6cb6e86bc9d6d16e8a8f921133c70'>tools parent10ecc728fe12dbd206e2d4d8b6e96082632b969c (diff)
bpf: Use bpf_map_lookup_elem() from the library
Replace bpf_map_lookup() with bpf_map_lookup_elem() calls. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/bpf/bpf.c2
-rw-r--r--tools/lib/bpf/bpf.h2
-rw-r--r--tools/testing/selftests/bpf/bpf_sys.h11
-rw-r--r--tools/testing/selftests/bpf/test_lpm_map.c16
-rw-r--r--tools/testing/selftests/bpf/test_lru_map.c28
-rw-r--r--tools/testing/selftests/bpf/test_maps.c30
6 files changed, 39 insertions, 50 deletions
diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c