Microchip® Advanced Software Framework

dev/src/include/lwip/memp_std.h File Reference

Macros

#define LWIP_MALLOC_MEMPOOL(num, size)   LWIP_MEMPOOL(POOL_##size, num, (size + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper))), "MALLOC_"#size)
 
#define LWIP_MALLOC_MEMPOOL_END
 
#define LWIP_MALLOC_MEMPOOL_START
 
#define LWIP_PBUF_MEMPOOL(name, num, payload, desc)   LWIP_MEMPOOL(name, num, (MEMP_ALIGN_SIZE(sizeof(struct pbuf)) + MEMP_ALIGN_SIZE(payload)), desc)
 

#define LWIP_MALLOC_MEMPOOL (   num,
  size 
)    LWIP_MEMPOOL(POOL_##size, num, (size + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper))), "MALLOC_"#size)
#define LWIP_MALLOC_MEMPOOL_END
#define LWIP_MALLOC_MEMPOOL_START
#define LWIP_PBUF_MEMPOOL (   name,
  num,
  payload,
  desc 
)    LWIP_MEMPOOL(name, num, (MEMP_ALIGN_SIZE(sizeof(struct pbuf)) + MEMP_ALIGN_SIZE(payload)), desc)