5 releases (breaking)

new 0.4.0 Feb 17, 2025
0.3.0 Feb 14, 2025
0.2.0 Jan 30, 2025
0.1.0 Jan 22, 2025
0.0.1 Oct 23, 2024

#995 in Unix APIs

Download history 3/week @ 2024-10-29 11/week @ 2024-11-05 2/week @ 2024-11-19 285/week @ 2025-01-21 310/week @ 2025-01-28 211/week @ 2025-02-04 285/week @ 2025-02-11

1,095 downloads per month

Apache-2.0 OR MIT

180KB
4K SLoC

📨 xdp

AF_XDP socket support in Rust

Crates.io API Docs dependency status Build Status

This crate allows for the creation and usage of AF_XDP sockets on Linux, along with the attendant memory mappings and rings.

The primary difference between this crate and the other XSK/XDP crates available on crates.io is that this crate does not depend on any C code.

Why not use this crate?

This crate is still early days, and focused on the needs of Quilkin, so feature requests or bug fixes that don't pertain to it would most likely need outside contribution. There are already several other Rust crates available that (probably) have more full featured support.

Features

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps