dogear

enter for all results · esc to close

linux/net/core/filter.c

git.kernel.orgsite

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).

from
eBPF
added
2026-10-10
likes
0

similar

  1. 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.

  2. linux/kernel/bpf/ git.kernel.org

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

  3. linux/include/linux/filter.h git.kernel.org

    with linux/include/uapi/filter.h: information used to run the BPF programs themselves.

  4. core.c git.kernel.org

    BPF interpreter.

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

    In the kernel tree: some sample eBPF programs.

  6. linux/Documentation/networking/filter.rst git.kernel.org

    eBPF specification (somewhat outdated; information should still be valid, but not exhaustive).

eBPF › The Code: “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).”