#bpf #ebpf #xdp

sys libbpf-sys

Rust bindings to libbpf from the Linux kernel

5 releases

✓ Uses Rust 2018 edition

0.0.6-7 Jan 15, 2020
0.0.6-6 Jan 14, 2020
0.0.6-4 Dec 20, 2019
0.0.6-1 Oct 21, 2019
0.0.0 Nov 7, 2017

#9 in #bpf

Download history 15/week @ 2019-10-17 16/week @ 2019-10-24 6/week @ 2019-10-31 1/week @ 2019-11-07 6/week @ 2019-11-14 4/week @ 2019-11-21 10/week @ 2019-11-28 6/week @ 2019-12-05 31/week @ 2019-12-12 14/week @ 2019-12-19 6/week @ 2019-12-26 9/week @ 2020-01-02 150/week @ 2020-01-09 48/week @ 2020-01-16

89 downloads per month
Used in afxdp

BSD-2-Clause

455KB
13K SLoC

C 11K SLoC // 0.1% comments Rust 2.5K SLoC // 0.0% comments Shell 503 SLoC // 0.1% comments BASH 45 SLoC // 0.1% comments

libbpf-sys

Rust bindings to libbpf from the Linux kernel

Author: Alex Forster <alex@alexforster.com>
License: BSD-2-Clause

Build Status docs.rs

Attributions

libbpf

Website: github.com/libbpf/libbpf
License: LGPL-2.1-only OR BSD-2-Clause

libelf

Website: sourceware.org/elfutils
License: LGPL-2.1-or-later OR LGPL-3.0-or-later

linux

Website: kernel.org
License: GPL-2.0 WITH Linux-syscall-note

No runtime deps