HALFRED  0.4.0
Data Fields
IOBufDesc Struct Reference

Detailed Description

IOBuf descriptor

#include <hal_iobuf.h>

Data Fields

iobuf_size_t elem_count
 Number of elements stored in a a buffer.
iobuf_size_t elem_size
 Size of the single element (in bytes)
iobuf_size_t max_elem_count
 Maximum number of elements that the buffer can store (logical size of the buffer)
void * mem_ptr
 Pointer to the actual buffer pool memory area.
void * read_ptr
 Pointer to the next element to read.
void * write_ptr
 Pointer to the are where next element will be written.

The documentation for this struct was generated from the following file: