LwIP
PBUF_TYPE_ALLOC_SRC_MASK
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
PBUF_TYPE_ALLOC_SRC_MASK
PBUF_TYPE_ALLOC_SRC_MASK macro
4 bits are reserved for 16 allocation sources (e.g. heap, pool1, pool2, etc)
Syntax
from
pbuf.h:125
#define
PBUF_TYPE_ALLOC_SRC_MASK
0x0F
References
Location
Text
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
)
)