Šabić: eBPF and XDP for Processing Packets at Bare-metal Speed
Nedim AabiA has written atutorial article on using the eXpress Data Path for fast packetfiltering. "Now comes the most relevant part of our XDP program thatdeals with packet's processing logic. XDP ships with a predefined set ofverdicts that determine how the kernel diverts the packet flow. Forinstance, we can pass the packet to the regular network stack, drop it,redirect the packet to another NIC and such. In our case, XDP_DROP yieldsan ultra-fast packet drop."