Go to file
Michal Rostecki 97e817d110
chore: Rename aya-bpf to aya-ebpf ()
aya-bpf crate got renamed to aya-ebpf. Reflect this change
in the template.
.cargo Remove branch specifications
.github Bump actions/checkout from 3 to 4
.vim lsp: use project-name instead of crate_name to generate Cargo.toml path
.vscode lsp: use project-name instead of crate_name to generate Cargo.toml path
xtask socket_filter: fix build
{{project-name}} Fix sk_msg.
{{project-name}}-common Fix sk_msg tests
{{project-name}}-ebpf Fix unchanged Bpf reference. Would check sock_map latter.
.gitignore Initial Commit
Cargo.toml Remove branch specifications
README.md Remove redundant instructions
cargo-generate.toml Remove branch specifications
pre-script.rhai include and use clap only if needed
test.sh socket_filter: fix build

README.md

{{project-name}}

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