0.01.00
messagepool.h File Reference

This file includes the platform abstraction for the message pool. More...

#include <stdint.h>
#include <openthread/message.h>
#include <openthread/types.h>

Go to the source code of this file.

Functions

void otPlatMessagePoolInit (otInstance *aInstance, uint16_t aMinNumFreeBuffers, size_t aBufferSize)
 Initialize the platform implemented message pool. More...
 
otMessageotPlatMessagePoolNew (otInstance *aInstance)
 Allocate a buffer from the platform managed buffer pool. More...
 
void otPlatMessagePoolFree (otInstance *aInstance, otMessage *aBuffer)
 This function is used to free a Buffer back to the platform managed buffer pool. More...
 
uint16_t otPlatMessagePoolNumFreeBuffers (otInstance *aInstance)
 Get the number of free buffers. More...
 

Detailed Description

This file includes the platform abstraction for the message pool.