Skip to main content

Crate kbpf_basic

Crate kbpf_basic 

Source
Expand description

Basic eBPF library providing essential functionalities for eBPF programs. ! This library includes support for BPF maps, helper functions, and program loading mechanisms, making it easier to develop and run eBPF programs in a kernel-like environment.

Modules§

helper
Basic eBPF helper functions module.
linux_bpf
map
BPF map implementations.
perf
BPF performance event handling module.
preprocessor
eBPF preprocessor for relocating map file descriptors in eBPF instructions.
prog
Metadata and verifier info for BPF programs.
raw_tracepoint
Arguments for attaching BPF raw tracepoint programs.

Traits§

KernelAuxiliaryOps
The KernelAuxiliaryOps trait provides auxiliary operations which should be implemented by the kernel or a kernel-like environment.
PollWaker
PollWaiter trait for maps that support polling.

Type Aliases§

BpfError
Type alias for BPF errors.
BpfResult
Type alias for BPF results and errors.