Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/higebu/xdp-example


https://github.com/higebu/xdp-example

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# xdp-example

XDP example with [cilium/ebpf](https://github.com/cilium/ebpf)

# Install dependencies

```
sudo apt install clang llvm libelf-dev build-essential linux-headers-amd64 linux-libc-dev libbpf-dev
```

# Compile and embed eBPF programs with bpf2go

```
go generate
```

# Testing

```
sudo go test .
```