INET Framework for OMNeT++/OMNEST
|
#include "lwip/opt.h"
Macros | |
#define | LWIP_MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1) & ~(MEM_ALIGNMENT-1)) |
#define | LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNMENT-1))) |
Typedefs | |
typedef u16_t | mem_size_t |
Functions | |
void | mem_init (void) |
void * | mem_realloc (void *mem, mem_size_t size) |
void * | mem_malloc (mem_size_t size) |
void * | mem_calloc (mem_size_t count, mem_size_t size) |
void | mem_free (void *mem) |
#define LWIP_MEM_ALIGN | ( | addr | ) | ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNMENT-1))) |
Referenced by inet::tcp::memp_init(), and inet::tcp::pbuf_alloc().
#define LWIP_MEM_ALIGN_SIZE | ( | size | ) | (((size) + MEM_ALIGNMENT - 1) & ~(MEM_ALIGNMENT-1)) |
Referenced by inet::tcp::pbuf_alloc().
typedef u16_t mem_size_t |
void* mem_calloc | ( | mem_size_t | count, |
mem_size_t | size | ||
) |
void mem_free | ( | void * | mem | ) |
Referenced by inet::tcp::pbuf_free().
void mem_init | ( | void | ) |
void* mem_malloc | ( | mem_size_t | size | ) |
Referenced by inet::tcp::pbuf_alloc().
void* mem_realloc | ( | void * | mem, |
mem_size_t | size | ||
) |
Referenced by inet::tcp::pbuf_realloc().