Crate ring_buffer

Source

Structs§

Reader
Provides exclusive read access to the ring buffer.
RingBuffer
RingBuffer wraps a IOBuffer shared region and mapping that uses the ring buffer discipline.

Enums§

Error

Constants§

MAX_MESSAGE_SIZE
Maximum message size. This includes the ring buffer header. This is also the minimum capacity for the ring buffer.
RING_BUFFER_MESSAGE_HEADER_SIZE
Size of the kernel header in the ring buffer. This is different to the FXT header.

Functions§

ring_buffer_record_len
Returns the ring buffer record length given the message length. This accounts for the ring buffer message header and any padding required to maintain alignment.