LwIP
+ 0/35 examples
CodeScope will show references to
pbuf::len
from the following samples and libraries:
Examples
STM32469I_EVAL
Demonstrations
STemWin
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_TCP_Echo_Client
LwIP_TCP_Echo_Server
LwIP_TFTP_Server
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
LwIP_UDP_Echo_Client
LwIP_UDP_Echo_Server
mbedTLS
SSL_Client
SSL_Server
STM324x9I_EVAL
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_HTTP_Server_Raw
LwIP_HTTP_Server_Socket_RTOS
LwIP_IAP
LwIP_TCP_Echo_Client
LwIP_TCP_Echo_Server
LwIP_TFTP_Server
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
LwIP_UDP_Echo_Client
LwIP_UDP_Echo_Server
mbedTLS
SSL_Client
SSL_Server
STM324xG_EVAL
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_HTTP_Server_Raw
LwIP_HTTP_Server_Socket_RTOS
LwIP_IAP
LwIP_TCP_Echo_Client
LwIP_TCP_Echo_Server
LwIP_TFTP_Server
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
LwIP_UDP_Echo_Client
LwIP_UDP_Echo_Server
mbedTLS
SSL_Client
SSL_Server
STM32F429ZI-Nucleo
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
pbuf::len
pbuf::len field
length of this buffer
Syntax
from
pbuf.h:203
u16_t
len
;
Examples
pbuf::len
is referenced by
35 libraries and example projects
.
References
Location
Referrer
Text
pbuf.h:203
u16_t
len
;
dhcp.c:1527
dhcp_parse_reply()
if
(
p
->
len
<
DHCP_SNAME_OFS
)
{
dhcp.c:1544
dhcp_parse_reply()
while
(
(
q
!=
NULL
)
&&
(
options_idx
>=
q
->
len
)
)
{
dhcp.c:1545
dhcp_parse_reply()
options_idx
=
(
u16_t
)
(
options_idx
-
q
->
len
)
;
dhcp.c:1546
dhcp_parse_reply()
options_idx_max
=
(
u16_t
)
(
options_idx_max
-
q
->
len
)
;
dhcp.c:1567
dhcp_parse_reply()
if
(
(
offset
+
1
)
<
q
->
len
)
{
dhcp.c:1688
dhcp_parse_reply()
if
(
offset
>=
q
->
len
)
{
dhcp.c:1689
dhcp_parse_reply()
offset
=
(
u16_t
)
(
offset
-
q
->
len
)
;
dhcp.c:1690
dhcp_parse_reply()
offset_max
=
(
u16_t
)
(
offset_max
-
q
->
len
)
;
dhcp.c:1781
dhcp_recv()
if
(
p
->
len
<
DHCP_MIN_REPLY_LEN
)
{
dhcp.c:1906
dhcp_create_msg()
(
p_out
->
len
>=
sizeof
(
struct
dhcp_msg
)
)
)
;
etharp.c:1009
etharp_query()
LWIP_ASSERT
(
"no packet queues allowed!"
,
(
p
->
len
!=
p
->
tot_len
)
||
(
p
->
next
==
0
)
)
;
etharp.c:1123
etharp_raw()
(
p
->
len
>=
SIZEOF_ETHARP_HDR
)
)
;
ethernet.c:91
ethernet_input()
if
(
p
->
len
<=
SIZEOF_ETH_HDR
)
{
httpd.c:2002
http_parse_request()
data_len
=
p
->
len
;
httpd.c:2003
http_parse_request()
if
(
p
->
len
!=
p
->
tot_len
)
{
icmp.c:100
icmp_input()
if
(
p
->
len
<
sizeof
(
u16_t
)
*
2
)
{
icmp.c:173
icmp_input()
if
(
r
->
len
<
hlen
+
sizeof
(
struct
icmp_echo_hdr
)
)
{
icmp.c:361
icmp_send_response()
(
q
->
len
>=
(
sizeof
(
struct
icmp_echo_hdr
)
+
IP_HLEN
+
ICMP_DEST_UNREACH_DATASIZE
)
)
)
;
inet_chksum.c:269
inet_cksum_pseudo_base()
acc
+=
LWIP_CHKSUM
(
q
->
payload
,
q
->
len
)
;
inet_chksum.c:274
inet_cksum_pseudo_base()
if
(
q
->
len
%
2
!=
0
)
{
inet_chksum.c:410
inet_cksum_pseudo_partial_base()
chklen
=
q
->
len
;
inet_chksum.c:420
inet_cksum_pseudo_partial_base()
if
(
q
->
len
%
2
!=
0
)
{
inet_chksum.c:576
inet_chksum_pbuf()
acc
+=
LWIP_CHKSUM
(
q
->
payload
,
q
->
len
)
;
inet_chksum.c:578
inet_chksum_pbuf()
if
(
q
->
len
%
2
!=
0
)
{
ip4.c:474
ip4_input()
if
(
(
iphdr_hlen
>
p
->
len
)
||
(
iphdr_len
>
p
->
tot_len
)
||
(
iphdr_hlen
<
IP_HLEN
)
)
{
ip4.c:479
ip4_input()
if
(
iphdr_hlen
>
p
->
len
)
{
ip4.c:905
ip4_output_if_src()
(
p
->
len
>=
sizeof
(
struct
ip_hdr
)
)
)
;
ip4.c:967
ip4_output_if_src()
if
(
p
->
len
<
IP_HLEN
)
{
ip4_frag.c:764
ip4_frag()
LWIP_ERROR
(
"ip4_frag(): pbuf too short"
,
p
->
len
>=
IP_HLEN
,
return
ERR_VAL
)
;
ip4_frag.c:805
ip4_frag()
(
rambuf
->
len
>=
(
IP_HLEN
)
)
)
;
ip4_frag.c:812
ip4_frag()
u16_t
plen
=
(
u16_t
)
(
p
->
len
-
poff
)
;
ip4_frag.c:813
ip4_frag()
LWIP_ASSERT
(
"p->len >= poff"
,
p
->
len
>=
poff
)
;
netbuf.c:115
netbuf_alloc()
(
buf
->
p
->
len
>=
size
)
)
;
netbuf.c:163
netbuf_ref()
buf
->
p
->
len
=
buf
->
p
->
tot_len
=
size
;
netbuf.c:206
netbuf_data()
*
len
=
buf
->
ptr
->
len
;
pbuf.c:184
pbuf_init_alloced_pbuf()
p
->
len
=
len
;
pbuf.c:424
pbuf_realloc()
while
(
rem_len
>
q
->
len
)
{
pbuf.c:426
pbuf_realloc()
rem_len
=
(
u16_t
)
(
rem_len
-
q
->
len
)
;
pbuf.c:438
pbuf_realloc()
if
(
pbuf_match_allocsrc
(
q
,
PBUF_TYPE_ALLOC_SRC_MASK_STD_HEAP
)
&&
(
rem_len
!=
q
->
len
)
pbuf.c:448
pbuf_realloc()
q
->
len
=
rem_len
;
pbuf.c:449
pbuf_realloc()
q
->
tot_len
=
q
->
len
;
pbuf.c:523
pbuf_add_header_impl()
p
->
len
=
(
u16_t
)
(
p
->
len
+
increment_magnitude
)
;
pbuf.c:597
pbuf_remove_header()
LWIP_ERROR
(
"increment_magnitude <= p->len"
,
(
increment_magnitude
<=
p
->
len
)
,
return
1
;
)
;
pbuf.c:606
pbuf_remove_header()
p
->
len
=
(
u16_t
)
(
p
->
len
-
increment_magnitude
)
;
pbuf.c:676
pbuf_free_header()
if
(
free_left
>=
p
->
len
)
{
pbuf.c:678
pbuf_free_header()
free_left
=
(
u16_t
)
(
free_left
-
p
->
len
)
;
pbuf.c:866
pbuf_cat()
LWIP_ASSERT
(
"p->tot_len == p->len (of last pbuf in chain)"
,
p
->
tot_len
==
p
->
len
)
;
pbuf.c:921
pbuf_dechain()
LWIP_ASSERT
(
"p->tot_len == p->len + q->tot_len"
,
q
->
tot_len
==
p
->
tot_len
-
p
->
len
)
;
pbuf.c:923
pbuf_dechain()
q
->
tot_len
=
(
u16_t
)
(
p
->
tot_len
-
p
->
len
)
;
pbuf.c:927
pbuf_dechain()
p
->
tot_len
=
p
->
len
;
pbuf.c:938
pbuf_dechain()
LWIP_ASSERT
(
"p->tot_len == p->len"
,
p
->
tot_len
==
p
->
len
)
;
pbuf.c:975
pbuf_copy()
if
(
(
p_to
->
len
-
offset_to
)
>=
(
p_from
->
len
-
offset_from
)
)
{
pbuf.c:977
pbuf_copy()
len
=
p_from
->
len
-
offset_from
;
pbuf.c:980
pbuf_copy()
len
=
p_to
->
len
-
offset_to
;
pbuf.c:985
pbuf_copy()
LWIP_ASSERT
(
"offset_to <= p_to->len"
,
offset_to
<=
p_to
->
len
)
;
pbuf.c:986
pbuf_copy()
LWIP_ASSERT
(
"offset_from <= p_from->len"
,
offset_from
<=
p_from
->
len
)
;
pbuf.c:987
pbuf_copy()
if
(
offset_from
>=
p_from
->
len
)
{
pbuf.c:992
pbuf_copy()
if
(
offset_to
==
p_to
->
len
)
{
pbuf.c:999
pbuf_copy()
if
(
(
p_from
!=
NULL
)
&&
(
p_from
->
len
==
p_from
->
tot_len
)
)
{
pbuf.c:1004
pbuf_copy()
if
(
(
p_to
!=
NULL
)
&&
(
p_to
->
len
==
p_to
->
tot_len
)
)
{
pbuf.c:1039
pbuf_copy_partial()
if
(
(
offset
!=
0
)
&&
(
offset
>=
p
->
len
)
)
{
pbuf.c:1041
pbuf_copy_partial()
offset
=
(
u16_t
)
(
offset
-
p
->
len
)
;
pbuf.c:1044
pbuf_copy_partial()
buf_copy_len
=
(
u16_t
)
(
p
->
len
-
offset
)
;
pbuf.c:1085
pbuf_get_contiguous()
if
(
q
->
len
>=
(
out_offset
+
len
)
)
{
pbuf.c:1158
pbuf_skip_const()
while
(
(
q
!=
NULL
)
&&
(
q
->
len
<=
offset_left
)
)
{
pbuf.c:1159
pbuf_skip_const()
offset_left
=
(
u16_t
)
(
offset_left
-
q
->
len
)
;
pbuf.c:1215
pbuf_take()
if
(
buf_copy_len
>
p
->
len
)
{
pbuf.c:1217
pbuf_take()
buf_copy_len
=
p
->
len
;
pbuf.c:1251
pbuf_take_at()
LWIP_ASSERT
(
"check pbuf_skip result"
,
target_offset
<
q
->
len
)
;
pbuf.c:1252
pbuf_take_at()
first_copy_len
=
(
u16_t
)
LWIP_MIN
(
q
->
len
-
target_offset
,
len
)
;
pbuf.c:1395
pbuf_try_get_at()
if
(
(
q
!=
NULL
)
&&
(
q
->
len
>
q_idx
)
)
{
pbuf.c:1417
pbuf_put_at()
if
(
(
q
!=
NULL
)
&&
(
q
->
len
>
q_idx
)
)
{
pbuf.c:1446
pbuf_memcmp()
while
(
(
q
!=
NULL
)
&&
(
q
->
len
<=
start
)
)
{
pbuf.c:1447
pbuf_memcmp()
start
=
(
u16_t
)
(
start
-
q
->
len
)
;
sockets.c:1532
lwip_sendmsg()
p
->
len
=
p
->
tot_len
=
(
u16_t
)
msg
->
msg_iov
[
i
]
.
iov_len
;
sockets.c:1538
lwip_sendmsg()
if
(
chain_buf
.
p
->
tot_len
+
p
->
len
>
0xffff
)
{
tcp_in.c:145
tcp_input()
if
(
p
->
len
<
TCP_HLEN
)
{
tcp_in.c:186
tcp_input()
if
(
p
->
len
>=
hdrlen_bytes
)
{
tcp_in.c:200
tcp_input()
tcphdr_opt1len
=
p
->
len
;
tcp_in.c:208
tcp_input()
if
(
opt2len
>
p
->
next
->
len
)
{
tcp_in.c:223
tcp_input()
LWIP_ASSERT
(
"p->len == 0"
,
p
->
len
==
0
)
;
tcp_in.c:1434
tcp_receive()
while
(
p
->
len
<
off
)
{
tcp_in.c:1435
tcp_receive()
off
-=
p
->
len
;
tcp_in.c:1438
tcp_receive()
p
->
len
=
0
;
tcp_out.c:268
tcp_pbuf_prealloc()
*
oversize
=
p
->
len
-
length
;
tcp_out.c:270
tcp_pbuf_prealloc()
p
->
len
=
p
->
tot_len
=
length
;
tcp_out.c:560
tcp_write()
(
const
u8_t
*
)
p
->
payload
+
p
->
len
==
(
const
u8_t
*
)
arg
)
{
tcp_out.c:615
tcp_write()
(
p
->
len
>=
seglen
)
)
;
tcp_out.c:717
tcp_write()
TCP_DATA_COPY
(
(
char
*
)
p
->
payload
+
p
->
len
,
arg
,
oversize_used
,
last_unsent
)
;
tcp_out.c:718
tcp_write()
p
->
len
+=
oversize_used
;
tcp_out.c:748
tcp_write()
p
->
len
+=
extendlen
;
tcp_out.c:1082
tcp_enqueue_flags()
(
p
->
len
>=
optlen
)
)
;
tcp_out.c:1554
tcp_output_segment()
seg
->
p
->
len
-=
len
;
tcp_out.c:1828
tcp_output_alloc_header_common()
(
p
->
len
>=
TCP_HLEN
+
optlen
)
)
;
udp.c:215
udp_input()
if
(
p
->
len
<
UDP_HLEN
)
{
udp.c:782
udp_sendto_if_src()
(
q
->
len
>=
sizeof
(
struct
udp_hdr
)
)
)
;
Data Use
Functions writing
pbuf::len
Functions reading
pbuf::len
netbuf_ref()
lwip_sendmsg()
pbuf_init_alloced_pbuf()
pbuf_realloc()
pbuf_add_header_impl()
pbuf_remove_header()
tcp_receive()
tcp_pbuf_prealloc()
tcp_write()
tcp_output_segment()
all items filtered out
pbuf::len
netbuf_alloc()
netbuf_data()
lwip_sendmsg()
inet_cksum_pseudo_base()
inet_cksum_pseudo_partial_base()
inet_chksum_pbuf()
pbuf_realloc()
pbuf_add_header_impl()
pbuf_remove_header()
pbuf_free_header()
pbuf_cat()
pbuf_dechain()
pbuf_copy()
pbuf_copy_partial()
pbuf_get_contiguous()
pbuf_skip_const()
pbuf_take()
pbuf_take_at()
pbuf_try_get_at()
pbuf_put_at()
pbuf_memcmp()
tcp_input()
tcp_receive()
tcp_pbuf_prealloc()
tcp_write()
tcp_enqueue_flags()
tcp_output_segment()
tcp_output_alloc_header_common()
udp_input()
udp_sendto_if_src()
ethernet_input()
dhcp_parse_reply()
dhcp_recv()
dhcp_create_msg()
etharp_query()
etharp_raw()
icmp_input()
icmp_send_response()
ip4_input()
ip4_output_if_src()
ip4_frag()
http_parse_request()
all items filtered out
Type of
pbuf::len
pbuf::len
u16_t
all items filtered out