This folder contains the source code for building and running eSeMeshA. It is composed by eBPF programs and userspace applications.
- Install the prerequisites for building eBPF programs:
cargo install bpf-linker cargo install bindgen-cli
-
eBPF
cargo run --bin xtask build-ebpf
-
Userspace
cargo build
To perform a release build you can use the
--releaseflag. e.g.:cargo run --bin xtask build-ebpf --release cargo build --release
RUST_LOG=info cargo run --bin xtask runRelease builds can be performed by adding the --release flag to the build command.
cargo run --bin xtask build-ebpf --release
cargo build --releaseThe release binary will be available in target/release/mesh-fastpath-userspace.