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