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
1,095 downloads per month
180KB
4K
SLoC
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
- - Network interface enumeration and capability querying
- - Basic Umem support
- - Shared Umem support
- - Fill, RX, TX, Completion rings
- - TX checksum offload/completion timestamp
- - RX metadata
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.