dogear

enter for all results · esc to close

iproute2

git.kernel.orgsite

Package containing tools for network management on Linux. In particular, it contains tc, used to manage eBPF filters and actions, and ip, used to manage XDP programs. Most of the code related to BPF is in lib/bpf.c.

from
eBPF
added
2026-10-10
likes
0

similar

  1. iproute2/examples/bpf/ git.kernel.org

    Some networking programs to attach to the TC interface.

  2. linux/net/core/filter.c git.kernel.org

    Functions and eBPF helpers related to networking (TC, XDP etc.); also contains the code to migrate cBPF bytecode to eBPF (all cBPF programs are translated to eBPF in recent kernels).

  3. iproute2-next git.kernel.org

    The development tree, synchronised with net-next.

  4. linux/net/sched/ git.kernel.org

    and in particular in files act_bpf.c (action) and cls_bpf.c (filter): code related to BPF actions and filters with TC.

  5. linux/kernel/bpf/ git.kernel.org

    This directory contains most of BPF-related code. In particular, those files are worth of interest:

  6. tc-bpf(8) man7.org

    Manual page about using BPF with tc, including example commands and samples of code.

eBPF › eBPF Workflow: Tools and Utilities > iproute2: “Package containing tools for network management on Linux. In particular, it contains tc, used to manage eBPF filters and actions, and ip, used to manage XDP programs. Most of the code related to BPF is in lib/bpf.c.”