ebpf-for-windows/include
Dave Thaler 7c12adb067
Prevent mismatched program types in PROG_ARRAY maps (#374)
* Prevent mismatched program types in PROG_ARRAY maps

* Each prog array map has a natural progtype, determined when
  asociating it from a program, or when adding the first program
  to it, if not associated with any program.
* Trying to add a program with mismatching type will fail
* Added libbpf bpf_create_map() API
* Fixed error returns from several libbpf APIs to be negative
* For efficiency, ebpf_program_get_properties now returns a
  pointer rather than copying the data inside the execution
  context, and is renamed to ebpf_program_get_parameters()
  to match what its return type always was.
* Fixed a bug in map size calculation that resulted in a huge
  amount of memory being allocated
* Updated return type of bpf_tail_call to the value meant
  to signal stack unwind needed

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2021-08-11 12:17:10 -07:00
..
linux Prevent mismatched program types in PROG_ARRAY maps (#374) 2021-08-11 12:17:10 -07:00
bpf.h Add prog array map type and bpf_tail_call() helper (#359) 2021-08-06 14:18:47 -06:00
ebpf_api.h Add eBPF UM APIs (#368) 2021-08-10 17:04:07 -07:00
ebpf_core_structs.h Replace "information" with "info" for consistency (#331) 2021-07-07 11:16:35 -07:00
ebpf_execution_type.h Add doxygen documentation on enum values (#322) 2021-06-30 10:22:40 -06:00
ebpf_helpers.h Fix return values from bpf_map_delete_elem etc helpers (#362) 2021-08-09 09:41:15 -06:00
ebpf_nethooks.h Add main API reference page (#329) 2021-07-07 10:39:59 -07:00
ebpf_program_types.h Revert "Add code to propagate flags for helper functions. (#365)" (#366) 2021-08-09 14:37:40 -07:00
ebpf_result.h Add eBPF UM APIs (#368) 2021-08-10 17:04:07 -07:00
ebpf_structs.h Add prog array map type and bpf_tail_call() helper (#359) 2021-08-06 14:18:47 -06:00
ebpf_windows.h Add doxygen documentation on enum values (#322) 2021-06-30 10:22:40 -06:00
libbpf.h Remove duplicate public APIs where standard libbpf APIs exist (#356) 2021-08-03 17:25:50 -07:00
tlv.h Add doxygen documentation on enum values (#322) 2021-06-30 10:22:40 -06:00