ebpf-for-windows/tests/libs/common
Dave Thaler 12bb2e7195
Update netsh commands to use more standard libbpf apis (#527)
* Update netsh commands to use more standard libbpf apis

* Add support for libbpf bpf_obj_pin() API
* Add support for libbpf bpf_object__next() API
* Rename BPF_{PROG,ATTACH}_TYPE_UNKNOWN to ...UNSPEC for libbpf compat
* Remove now-unused handle APIs ebpf_api_load_program and
  ebpf_api_pin_object, which is part of issue #383
  * netsh set/delete program now uses the ID to identify the program,
    like bpftool does, so that it can work even if the program wasn't
    loaded from an ELF file

Fixes #191

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2021-09-14 10:59:57 -07:00
..
common_tests.cpp Update netsh commands to use more standard libbpf apis (#527) 2021-09-14 10:59:57 -07:00
common_tests.h Test utility helper functions. (#480) 2021-09-02 17:23:16 -07:00
common_tests.vcxproj Update netsh commands to use more standard libbpf apis (#527) 2021-09-14 10:59:57 -07:00