[−][src]Crate rebpf
rebpf
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:
- A raw binding of libbpf provide by
libbpf-sys
. - A safe wrapper of libbpf.
- High level ebpf api built on top of libbpf wrapper to load and write bpf programs.
- Parse packets in bpf programs using
pdu
, for more details seepacket_parser
.
Re-exports
pub use rebpf_macro; |
Modules
bpf | This module contains high-level bpf api built on top of libbpf safe wrapper api. |
error | |
helpers | This module contains a tiny wrapper of bpf_helper_defs. |
interface | |
libbpf | This module contains a tiny safe wrapper of libbpf structs and functions. |
map_layout | This module contains a MapLayout definition. MapLayout allows to write and read values from bpf maps in a safe way. |
userspace | This module contains high-level userspace api built on top of libbpf safe wrapper api. |
Constants
LICENSE | |
VERSION |