openthread_sys

Function otPlatMessagePoolFree

Source
pub unsafe extern "C" fn otPlatMessagePoolFree(
    aInstance: *mut otInstance,
    aBuffer: *mut otMessageBuffer,
)
Expand description

Is used to free a buffer back to the platform managed buffer pool.

Is used when OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT is enabled.

@param[in] aInstance A pointer to the OpenThread instance. @param[in] aBuffer The buffer to free.