libbpf / libbpf-bootstrap

Scaffolding for BPF application development with libbpf and BPF CO-RE
BSD 3-Clause "New" or "Revised" License
1.1k stars 300 forks source link

[DEMO] xdp: demonstrate XDP packet to ringbuf data capture #287

Open anakryiko opened 2 months ago

anakryiko commented 2 months ago

Demonstrate how, using dynptr APIs, it's possible to capture XDP packet data into ringbuf (all variable-sized and all).