ebpf-for-windows/tests
Dave Thaler 568e8f0bdf
Add ability to enumerate maps associated with a program (#1395)
* Add map ids test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Enumerate maps associated with a program

Fixes #1339

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Initialize info before calling

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Update bpftool

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Make "netsh show prog l=v" show map ids for program

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Return EFAULT if map_ids is not a valid pointer

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix warning

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* More test fixes

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Add more checks in the socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix netsh

Also fix GettingStarted.md and a missing space in the logs
that were found while testing this fix.

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Set map_ids on output

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-09-30 12:12:12 -07:00
..
api_test Add support for new libbpf APIs (#1288) 2022-07-29 14:57:30 -04:00
bpf2c_tests Add tests to verify BPF code generation for interpret and jit (#1430) 2022-09-29 17:50:17 -06:00
bpftool_tests Add ability to enumerate maps associated with a program (#1395) 2022-09-30 12:12:12 -07:00
cilium Add support for new libbpf APIs (#1288) 2022-07-29 14:57:30 -04:00
end_to_end Add ability to enumerate maps associated with a program (#1395) 2022-09-30 12:12:12 -07:00
fuzz Update ubpf and fix build (#1293) 2022-07-25 10:32:35 -07:00
libfuzzer Registry changes for program and section data. (#1192) 2022-06-30 16:53:03 -07:00
libs Add support for new libbpf APIs (#1288) 2022-07-29 14:57:30 -04:00
performance Update ubpf and fix build (#1293) 2022-07-25 10:32:35 -07:00
sample Fix handling of long map names (#1328) 2022-08-15 09:30:11 -07:00
socket Add ability to enumerate maps associated with a program (#1395) 2022-09-30 12:12:12 -07:00
unit Add ability to enumerate maps associated with a program (#1395) 2022-09-30 12:12:12 -07:00
xdp cmakefile (#1075) 2022-05-13 18:23:18 -06:00
CMakeLists.txt cmakefile (#1075) 2022-05-13 18:23:18 -06:00