/scripts/basic/

a> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2017-02-10 00:21:42 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 15:56:07 -0500
commit5f155c2563592b1908a7df2dcbd44893fde3e419 (patch)
tree2d5180d924a46e900d302326c023c9f9415cf965 /tools
parente58383b803499bd623b737070038af94d0b8a3c7 (diff)
bpf: Use bpf_map_get_next_key() from the library
Replace bpf_map_next_key() with bpf_map_get_next_key() 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_lru_map.c2
-rw-r--r--tools/testing/selftests/bpf/test_maps.c34
5 files changed, 20 insertions, 31 deletions
diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c