b6f7d7cdda
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev> |
||
---|---|---|
.cargo | ||
.vim | ||
.vscode | ||
aya-playground | ||
aya-playground-common | ||
aya-playground-ebpf | ||
xtask | ||
.gitignore | ||
Cargo.toml | ||
README.md |
README.md
aya-playground
Prerequisites
- Install bpf-linker:
cargo install bpf-linker
Build eBPF
cargo xtask build-ebpf
To perform a release build you can use the --release
flag.
You may also change the target architecture with the --target
flag.
Build Userspace
cargo build
Run
RUST_LOG=info cargo xtask run
Full Execution
cargo xtask build-ebpf
RUST_LOG=info cargo xtask run -- --iface wlp2s0