TxRingEntry

Type Alias TxRingEntry 

Source
pub type TxRingEntry = RingEntry<TxDescriptor>;
Expand description

A TX DMA Ring Descriptor entry

Aliased Type§

#[repr(C, align(8))]
pub struct TxRingEntry { /* private fields */ }

Implementations§

Source§

impl TxRingEntry

Source

pub fn buffer(&self) -> &[u8]

Only call this if [TxRingEntry::is_available]

Source

pub fn buffer_mut(&mut self) -> &mut [u8]

Only call this if [TxRingEntry::is_available]

Source§

impl TxRingEntry

Source

pub fn has_packet_id(&self, packet_id: &PacketId) -> bool

Source

pub fn timestamp(&self) -> Option<Timestamp>