int somemopt(SOMemOptRequest request, void *buffer, uint32_t size, SOMemOptFlags flags)
Perform a somemopt request.
@ SOMEMOPT_FLAGS_BIG_BUFFERS
Changes the distribution between small and big buffers to 50-50 instead of 80-20.
@ SOMEMOPT_REQUEST_CANCEL_WAIT
Cancel pending wait for init.
@ SOMEMOPT_REQUEST_WAIT_FOR_INIT
Wait for buffer management initialization to be done.
@ SOMEMOPT_REQUEST_INIT
Initialize buffer managment from user-provided buffer.
@ SOMEMOPT_REQUEST_GET_BYTES_USED
Return the amount of bytes used for buffer management.