ring_
buffer
0.0.1
All Items
Crate Items
Structs
Enums
Constants
Functions
Crate
ring_buffer
Copy item path
Source
Structs
§
Reader
Provides exclusive read access to the ring buffer.
Ring
Buffer
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.