Skip to content

withlin/traffic-billing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ca62d9a · Sep 13, 2024

History

8 Commits
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024
Sep 13, 2024

Repository files navigation

traffic-billing

Prerequisites

  1. Install a rust stable toolchain: rustup install stable
  2. Install a rust nightly toolchain: rustup install nightly
  3. 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

cargo xtask run

sudo apt-get update
sudo apt install build-essential
cargo install bpf-linker
apt install llvm
cargo xtask build-ebpf
cargo xtask run

About

base ebpf traffic billing as nodecar on k8s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages