Expand description
SPDX-License-Identifier: MIT
Copyright (c) 2023, eunomia-bpf All rights reserved.
Modules§
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