Crate aya_ebpf

Source
Expand description

A library to write eBPF programs.

Aya-bpf is an eBPF library built with a focus on operability and developer experience. It is the kernel-space counterpart of Aya

Re-exports§

pub use aya_ebpf_cty as cty;
pub use aya_ebpf_macros as macros;

Modules§

bindings
helpers
This module contains kernel helper functions that may be exposed to specific BPF program types.
maps
programs

Macros§

bpf_printk
Prints a debug message to the BPF debugging pipe.

Structs§

PtRegs

Constants§

TASK_COMM_LEN

Traits§

EbpfContext

Functions§

check_bounds_signed
Check if a value is within a range, using conditional forms compatible with the verifier.
memcpy
memmove
memset