NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
os_mbuf_pool Struct Reference

#include <os_mbuf.h>

Public Attributes

uint16_t omp_databuf_len
 
struct os_mempoolomp_pool
 

Detailed Description

A mbuf pool from which to allocate mbufs. This contains a pointer to the os mempool to allocate mbufs out of, the total number of elements in the pool, and the amount of "user" data in a non-packet header mbuf. The total pool size, in bytes, should be: os_mbuf_count * (omp_databuf_len + sizeof(struct os_mbuf))

Member Data Documentation

◆ omp_databuf_len

uint16_t os_mbuf_pool::omp_databuf_len

Total length of the databuf in each mbuf. This is the size of the mempool block, minus the mbuf header

◆ omp_pool

struct os_mempool* os_mbuf_pool::omp_pool

The memory pool which to allocate mbufs out of