|
lwIP
2.1.1
Lightweight IP stack
|
Data Structures | |
| struct | memp_desc |
Functions | |
| void | memp_init_pool (const struct memp_desc *desc) |
| void * | memp_malloc_pool (const struct memp_desc *desc) |
| void | memp_free_pool (const struct memp_desc *desc, void *mem) |
memory pools lwIP internal implementations (do not use in application code)
| void memp_free_pool | ( | const struct memp_desc * | desc, |
| void * | mem | ||
| ) |
Put a custom pool element back into its pool.
| desc | the pool where to put mem |
| mem | the memp element to free |
| void memp_init_pool | ( | const struct memp_desc * | desc | ) |
Initialize custom memory pool. Related functions: memp_malloc_pool, memp_free_pool
| desc | pool to initialize |
| void* memp_malloc_pool | ( | const struct memp_desc * | desc | ) |
Get an element from a custom pool.
| desc | the pool to get an element from |