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

PBUF_TYPE_ALLOC_SRC_MASK macro

4 bits are reserved for 16 allocation sources (e.g. heap, pool1, pool2, etc)

Syntax

#define PBUF_TYPE_ALLOC_SRC_MASK 0x0F

References

LocationText
pbuf.h:125
#define PBUF_TYPE_ALLOC_SRC_MASK 0x0F
pbuf.h:280
#define pbuf_get_allocsrc(p) ((p)->type_internal & PBUF_TYPE_ALLOC_SRC_MASK)
pbuf.h:281
#define pbuf_match_allocsrc(p, type) (pbuf_get_allocsrc(p) == ((type) & PBUF_TYPE_ALLOC_SRC_MASK))