uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
memp_std.h File Reference

Go to the source code of this file.

Macros

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

Macro Definition Documentation

#define LWIP_MALLOC_MEMPOOL (   num,
  size 
)    LWIP_MEMPOOL(POOL_##size, num, (size + sizeof(struct memp_malloc_helper)), "MALLOC_"#size)

Definition at line 15 of file memp_std.h.

#define LWIP_MALLOC_MEMPOOL_END

Definition at line 17 of file memp_std.h.

#define LWIP_MALLOC_MEMPOOL_START

Definition at line 16 of file memp_std.h.

#define LWIP_PBUF_MEMPOOL (   name,
  num,
  payload,
  desc 
)    LWIP_MEMPOOL(name, num, (MEMP_ALIGN_SIZE(sizeof(struct pbuf)) + MEMP_ALIGN_SIZE(payload)), desc)

Definition at line 23 of file memp_std.h.