netmap-rs
Safe, zero-cost abstractions for the Netmap kernel-bypass networking API.
Features
- Zero-copy packet I/O
- Thread-per-ring with core pinning
- Batch operations for high throughput
- Cross-platform support (with fallback implementations)
- Safe Rust abstractions over raw FFI
Requirements
- Linux with Netmap support (or use fallback mode)
- Rust 1.60+
Usage
Add to your Cargo.toml
:
[]
="0.1"
Basic Example
use *;
Platform Support
Platform | Status | Notes |
---|---|---|
Linux | ✅ | Requires Netmap kernel module |
macOS | ⚠️ | Limited support, may require fallback |
Windows | ⚠️ | Fallback mode only |
Note
Not yet finished