LwIP
pbuf::ref
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
pbuf::ref
pbuf::ref field
the reference count always equals the number of pointers that refer to this pbuf. This can be pointers from an application, the stack itself, or pbuf->next pointers from a chain.
Syntax
from
pbuf.h:218
LWIP_PBUF_REF_T
ref
;
References
Location
Referrer
Text
pbuf.h:218
LWIP_PBUF_REF_T
ref
;
ip4.c:852
ip4_output_if_src()
LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX
(
p
)
;
ip4.c:1033
ip4_output()
LWIP_IP_CHECK_PBUF_REF_COUNT_FOR_TX
(
p
)
;
pbuf.c:187
pbuf_init_alloced_pbuf()
p
->
ref
=
1
;
pbuf.c:753
pbuf_free()
LWIP_ASSERT
(
"pbuf_free: p->ref > 0"
,
p
->
ref
>
0
)
;
pbuf.c:755
pbuf_free()
ref
=
--
(
p
->
ref
)
;
pbuf.c:833
pbuf_ref()
SYS_ARCH_SET
(
p
->
ref
,
(
LWIP_PBUF_REF_T
)
(
p
->
ref
+
1
)
)
;
pbuf.c:834
pbuf_ref()
LWIP_ASSERT
(
"pbuf ref overflow"
,
p
->
ref
>
0
)
;
tcp_out.c:1439
tcp_output_segment_busy()
if
(
seg
->
p
->
ref
!=
1
)
{
Data Use
Functions writing
pbuf::ref
Functions reading
pbuf::ref
pbuf_init_alloced_pbuf()
pbuf_ref()
all items filtered out
pbuf::ref
pbuf_free()
pbuf_ref()
tcp_output_segment_busy()
ip4_output_if_src()
ip4_output()
all items filtered out
Type of
pbuf::ref
pbuf::ref
u8_t
all items filtered out