dogear

enter for all results · esc to close

linux/net/core/dev.c

git.kernel.orgsite

contains the function dev_change_xdp_fd() that is called through a Netlink command to hook a XDP program to a device, after is has been loaded into the kernel from user space. This function in turns uses a callback from the relevant driver.

from
eBPF
added
2026-10-10
likes
0

similar

  1. XDP − eXpress Data Path, Intro and future use-cases people.netfilter.org

    Linux Kernel's fight against DPDK. Future plans (as of this writing) for XDP and comparison with DPDK.

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

    site link ↗
  3. The netdev mailing list lists.openwall.net

    Mailing list for Linux kernel networking stack development. All patches are sent there for review and inclusion.

    site link ↗
  4. AF_XDP kernel.org

    Kernel documentation on the AF_XDP address family.

    site link ↗
  5. The eXpress Data Path: Fast Programmable Packet Processing in the Operating System Kernel github.com

    , by Toke Høiland-Jørgensen, Jesper Dangaard Brouer, Daniel Borkmann, John Fastabend, Tom Herbert, David Ahern and David Miller, all being essential eBPF and XDP contributors.

    tool link ↗
  6. XDP – eXpress Data Path, Used for DDoS protection people.netfilter.org

    Details and use cases about XDP, with benchmark results, and code snippets for benchmarking as well as for basic DDoS protection with eBPF/XDP (based on an IP blacklisting scheme).

    site link ↗

eBPF › The Code: “contains the function dev_change_xdp_fd() that is called through a Netlink command to hook a XDP program to a device, after is has been loaded into the kernel from user space. This function in turns uses a callback from the relevant driver.”