Go to file
TuDatTr b6f7d7cdda Removed temp fiels
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2024-02-20 11:14:01 +01:00
.cargo Initial commit 2024-02-20 11:13:23 +01:00
.vim Initial commit 2024-02-20 11:13:23 +01:00
.vscode Initial commit 2024-02-20 11:13:23 +01:00
aya-playground Initial commit 2024-02-20 11:13:23 +01:00
aya-playground-common Initial commit 2024-02-20 11:13:23 +01:00
aya-playground-ebpf Removed temp fiels 2024-02-20 11:14:01 +01:00
xtask Initial commit 2024-02-20 11:13:23 +01:00
.gitignore Initial commit 2024-02-20 11:13:23 +01:00
Cargo.toml Initial commit 2024-02-20 11:13:23 +01:00
README.md Initial commit 2024-02-20 11:13:23 +01:00

README.md

aya-playground

Prerequisites

  1. 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