Crate nic_buffers
source ·Expand description
Defines buffers that are used to send and receive packets.
Structs
- A buffer that stores a packet (a piece of an Ethernet frame) that has been received from the NIC and is guaranteed to be contiguous in physical memory. Auto-dereferences into a byte slice that represents its underlying memory. When dropped, its underlying memory is automatically returned to the NIC driver for future reuse.
- A network (e.g., Ethernet) frame that has been received by the NIC.
- A buffer that stores a packet to be transmitted through the NIC and is guaranteed to be contiguous in physical memory. Auto-dereferences into a byte slice that represents its underlying memory.