rebpf is a Rust library built on top of libbpf (no bcc dependency) that allows to write and load bpf program, in details this library provides:
All functions and structs that represent a safe wrapper of libbpf are located in lib.rs and helpers.rs with the same names of the functions and structs in libbpf (structs names are switched from snakecase to camlcase).
All functions and structs that represent high level ebpf api are built on top of libbpf safe wrapper. In this moment the only module that contains high level ebpf api is maps.rs.
Add to your Cargo.toml:
toml
[dependencies]
rebpf = "0.1.2"
To create your first ebpf program with rebpf library you can copy and rename an empty project template and edit it changing
link.
Roadmap is composed from all issues with label "roadmap". If you want contribute to this repo to avoid future conflicts you can describe what are you implementing in a new issue with label "roadmap".
Licensed under The MIT License (MIT) https://mit-license.org/.