linux/net/sched/
and in particular in files act_bpf.c (action) and cls_bpf.c (filter): code related to BPF actions and filters with TC.
- from
- eBPF
- added
- 2026-10-10
- likes
- 0
similar
-
linux/kernel/bpf/ git.kernel.org
This directory contains most of BPF-related code. In particular, those files are worth of interest:
-
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).
-
-
-
linux/include/linux/filter.h git.kernel.org
with linux/include/uapi/filter.h: information used to run the BPF programs themselves.
-
eBPF › The Code: “and in particular in files act_bpf.c (action) and cls_bpf.c (filter): code related to BPF actions and filters with TC.”