mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
How to transfer info from XDP-prog to AF_XDP
This BPF-example show how use BTF to create a communication channel between XDP-prog (running kernel-side) and AF_XDP user-space process.
AF_XDP documentation
In kernel documentation for AF_XDP.
XDP-tools also contain documentation in libxdp for AF_XDP, explaining how to use the API, and the difference between the control-path and data-path APIs.