ConOpSys V2970  P004.07
ANVILEX control operating system
Macros
memp_std.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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_START
 
#define LWIP_MALLOC_MEMPOOL_END
 
#define LWIP_PBUF_MEMPOOL(name, num, payload, desc)   LWIP_MEMPOOL(name, num, (LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf)) + LWIP_MEM_ALIGN_SIZE(payload)), desc)
 

Detailed Description

lwIP internal memory pools (do not use in application code) This file is deliberately included multiple times: once with empty definition of LWIP_MEMPOOL() to handle all includes and multiple times to build up various lists of mem pools.

Macro Definition Documentation

◆ LWIP_MALLOC_MEMPOOL

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

◆ LWIP_MALLOC_MEMPOOL_END

#define LWIP_MALLOC_MEMPOOL_END

◆ LWIP_MALLOC_MEMPOOL_START

#define LWIP_MALLOC_MEMPOOL_START

◆ LWIP_PBUF_MEMPOOL

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