| 1 |
Source: golang-github-cloudflare-cbpfc |
| 2 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 |
Uploaders: Loren M. Lang <[email protected]> |
| 4 |
Section: golang |
| 5 |
Testsuite: autopkgtest-pkg-go |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
clang, |
| 9 |
dh-golang, |
| 10 |
golang-any, |
| 11 |
golang-github-cilium-ebpf-dev, |
| 12 |
golang-github-pkg-errors-dev, |
| 13 |
golang-golang-x-net-dev, |
| 14 |
golang-golang-x-sys-dev |
| 15 |
Standards-Version: 4.6.0 |
| 16 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-cloudflare-cbpfc |
| 17 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-cloudflare-cbpfc.git |
| 18 |
Homepage: https://github.com/cloudflare/cbpfc |
| 19 |
Rules-Requires-Root: no |
| 20 |
XS-Go-Import-Path: github.com/cloudflare/cbpfc |
| 21 |
|
| 22 |
Package: golang-github-cloudflare-cbpfc-dev |
| 23 |
Architecture: all |
| 24 |
Multi-Arch: foreign |
| 25 |
Depends: golang-github-cilium-ebpf-dev, |
| 26 |
golang-github-pkg-errors-dev, |
| 27 |
golang-golang-x-net-dev, |
| 28 |
golang-golang-x-sys-dev, |
| 29 |
${misc:Depends} |
| 30 |
Description: cBPF to C or eBPF compiler (library) |
| 31 |
cbpfc |
| 32 |
. |
| 33 |
GoDoc (https://godoc.org/github.com/cloudflare/cbpfc) |
| 34 |
. |
| 35 |
cbpfc is a classic BPF (cBPF) to extended BPF (eBPF) compiler. It can |
| 36 |
compile cBPF to eBPF, or to C, and the generated code should be accepted |
| 37 |
by the kernel verifier. |
| 38 |
. |
| 39 |
cbpfc/clang (https://godoc.org/github.com/cloudflare/cbpfc/clang) is a |
| 40 |
simple clang wrapper for compiling C to eBPF. |
| 41 |
. |
| 42 |
Tests |
| 43 |
. |
| 44 |
Dependencies |
| 45 |
. |
| 46 |
* clang |
| 47 |
* Path can be set via environment variable $CLANG |
| 48 |
. |
| 49 |
Unprivileged |
| 50 |
. |
| 51 |
* go test -short |
| 52 |
. |
| 53 |
Full |
| 54 |
. |
| 55 |
* Requires: |
| 56 |
* root or CAP_SYS_ADMIN to load XDP programs |
| 57 |
* Recent (4.14+) Linux kernel |
| 58 |
* sudo go test |
| 59 |
|