aya-playground/README.md~

29 lines
436 B
Markdown

# aya-playground
## Prerequisites
1. Install bpf-linker: `cargo install bpf-linker`
## Build eBPF
```bash
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
```bash
cargo build
```
## Run
```bash
RUST_LOG=info cargo xtask run
```
cargo xtask build-ebpf
RUST_LOG=info cargo xtask run -- --iface wlp2s0