Expand description

bpf-rs

bpf-rs is a safe, lean library for inspecting and querying eBPF objects. A lot of the design & inspiration stems from bpftool internals and libbpf-rs.

It is based upon the work of libbpf-sys to safely create wrappers around libbpf.

Non goals

This crate is NOT meant to help with writing and loading of eBPF programs and maps. For that, we recommend libbpf-rs and libbpf-cargo.

Re-exports

pub use libbpf_sys;

Modules

Structs

Enums

eBPF map type variants. Based off of kernel header’s enum bpf_map_type

eBPF program type variants. Based off of kernel header’s enum bpf_prog_type