Expand description
Memory buffer management for DPDK packets
The mbuf (memory buffer) is the fundamental data structure for packet handling in DPDK. This module provides safe Rust wrappers around DPDK’s mbuf operations.
Structs§
- Mbuf
- A memory buffer for packet data
- Mbuf
Builder - Builder for creating mbufs with specific content
- Mempool
- Memory pool for packet buffers
- Mempool
Config - Configuration for creating a mempool
Constants§
- DEFAULT_
CACHE_ SIZE - Default per-core cache size
- DEFAULT_
DATA_ ROOM_ SIZE - Default data room size (2KB + headroom)
- DEFAULT_
POOL_ SIZE - Default number of mbufs in a pool
- MAX_
MEMPOOL_ NAME_ LEN - Maximum length for mempool names