aquasecurity / libbpfgo

eBPF library for Go. Powered by libbpf.
Apache License 2.0
731 stars 94 forks source link

Implement libbpf bpf_map API #16

Open grantseltzer opened 3 years ago

grantseltzer commented 3 years ago

We should expose all of the bpf_map api, just being careful about what is deprecated and/or discouraged when 1.0 is released.

Low-level API:

geyslan commented 1 year ago

BPFMap bpf_map__btf_key_type_id, bpf_map__btf_value_type_id, bpf_map__inner_map and bpf_map__set_inner_map_fd are being added by https://github.com/aquasecurity/libbpfgo/pull/366.