bpf-script-derive

Macros for the bpf-script crate.

Downloads
3.6K
Stars
1
Committers
2

bpf-script-derive

Provides a derive macro for AddToDatabase to make adding Rust types to a bpf_script::types::TypeDatabase easier.

Usage

For usage examples, see code located in examples/ :

Examples Description
custom-type Creates and inserts a custom type into an empty BTF database