xdpilone 1.0.1

Interaction with Linux XDP sockets and rings. No libbpf/libxpd-sys. Lightweight, high-performance.
Documentation

Rust idiomatic bindings for the AF_XDP socket interface.

This library helps with creating suitable socket(s) from a memory allocation of chunks, sockets for access to all four rings, binding to a specific (ifname, queue_id), and for creating the memory mapping to interact with all these queues directly.

It does not interact with the packet filter / forwarding directly, nor any other aspect of bpf. You can send packets but you can not receive them. Please use another library for bpf and netlink interaction to configure the network device to route received frames to the RX ring.

The entrypoint to the library is an instance of [crate::Umem].