Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/higebu/xdp-example
https://github.com/higebu/xdp-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/higebu/xdp-example
- Owner: higebu
- Created: 2021-10-12T04:56:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-24T14:16:13.000Z (6 months ago)
- Last Synced: 2024-10-04T19:44:24.263Z (4 months ago)
- Language: Go
- Size: 24.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 .
```