aboutsummaryrefslogtreecommitdiff
path: root/samples/bpf/test_map_in_map_user.c
AgeCommit message (Collapse)AuthorFilesLines
2018-05-14samples: bpf: include bpf/bpf.h instead of local libbpf.hJakub Kicinski1-1/+1
There are two files in the tree called libbpf.h which is becoming problematic. Most samples don't actually need the local libbpf.h they simply include it to get to bpf/bpf.h. Include bpf/bpf.h directly instead. Signed-off-by: Jakub Kicinski <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
2017-06-29bpf: Add test for syscall on fd array/htab lookupMartin KaFai Lau1-0/+17
Checks are added to the existing sockex3 and test_map_in_map test. Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2017-03-22bpf: Add tests for map-in-mapMartin KaFai Lau1-0/+116
Test cases for array of maps and hash of maps. Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>