SIZEOF_STRUCT_PBUF is only used within LwIP.
 
Symbols
loading...
Files
loading...

SIZEOF_STRUCT_PBUF macro

Syntax

#define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf))

References

LocationText
pbuf.c:89
#define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf))
pbuf.c:254
pbuf_init_alloced_pbuf(q, LWIP_MEM_ALIGN((void *)((u8_t *)q + SIZEOF_STRUCT_PBUF + offset)),
pbuf.c:275
mem_size_t alloc_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF) + payload_len);
pbuf.c:288
pbuf_init_alloced_pbuf(p, LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)),
pbuf.c:500
if ((u8_t *)payload < (u8_t *)p + SIZEOF_STRUCT_PBUF) {