Home
last modified time | relevance | path

Searched refs:SIZEOF_STRUCT_PBUF (Results 1 – 1 of 1) sorted by relevance

/lib/liblwip/src/core/
Dpbuf.c82 #define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf)) macro
249 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + (SIZEOF_STRUCT_PBUF + offset))); in pbuf_alloc()
258 (u8_t*)p + SIZEOF_STRUCT_PBUF + PBUF_POOL_BUFSIZE_ALIGNED)); in pbuf_alloc()
290 q->payload = (void *)((u8_t *)q + SIZEOF_STRUCT_PBUF); in pbuf_alloc()
295 (u8_t*)p + SIZEOF_STRUCT_PBUF + PBUF_POOL_BUFSIZE_ALIGNED)); in pbuf_alloc()
308 …p = (struct pbuf*)mem_malloc(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF + offset) + LWIP_MEM_ALIGN_SIZ… in pbuf_alloc()
313 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)); in pbuf_alloc()
536 (u8_t *)p->payload - increment_magnitude >= (u8_t *)p + SIZEOF_STRUCT_PBUF); in pbuf_header()
549 if ((u8_t *)p->payload < (u8_t *)p + SIZEOF_STRUCT_PBUF) { in pbuf_header()