Crate wasm_bpf_rs

Source
Expand description

SPDX-License-Identifier: MIT

Copyright (c) 2023, eunomia-bpf All rights reserved.

Modules§

handle
pipe
SPDX-License-Identifier: MIT
runner

Macros§

add_bind_function
add_bind_function_with_module
add_bind_function_with_module_and_name
ensure_c_str
ensure_enough_memory
ensure_program_by_caller
ensure_program_by_state
ensure_program_mut_by_caller
ensure_program_mut_by_state

Structs§

Config
The configuration for the Wasm module.

Functions§

run_wasm_bpf_module
Run a Wasm eBPF module with args
run_wasm_bpf_module_async
Run a wasm module async It returns two handles. WasmProgramHandle provides ability to terminate, pause and resume the running wasmprogram. JoinHandle provides ability to wait for the finish of the running wasm program