LwIP
tcp_seg::p
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
tcp_seg::p
tcp_seg::p field
Syntax
from
tcp_priv.h:255
struct
pbuf
*
p
;
References
Location
Referrer
Text
tcp_priv.h:255
struct
pbuf
*
p
;
/* buffer containing data + TCP header */
tcp.c:1626
tcp_seg_free()
if
(
seg
->
p
!=
NULL
)
{
tcp.c:1627
tcp_seg_free()
pbuf_free
(
seg
->
p
)
;
tcp_in.c:410
tcp_input()
inseg
.
p
=
p
;
tcp_in.c:568
tcp_input()
if
(
inseg
.
p
!=
NULL
)
{
tcp_in.c:569
tcp_input()
pbuf_free
(
inseg
.
p
)
;
tcp_in.c:570
tcp_input()
inseg
.
p
=
NULL
;
tcp_in.c:1108
tcp_free_acked_segments()
clen
=
pbuf_clen
(
next
->
p
)
;
tcp_in.c:1425
tcp_receive()
struct
pbuf
*
p
=
inseg
.
p
;
tcp_in.c:1428
tcp_receive()
LWIP_ASSERT
(
"inseg.p != NULL"
,
inseg
.
p
)
;
tcp_in.c:1431
tcp_receive()
LWIP_ASSERT
(
"pbuf too short!"
,
(
(
(
s32_t
)
inseg
.
p
->
tot_len
)
>=
off
)
)
;
tcp_in.c:1433
tcp_receive()
new_tot_len
=
(
u16_t
)
(
inseg
.
p
->
tot_len
-
off
)
;
tcp_in.c:1481
tcp_receive()
pbuf_realloc
(
inseg
.
p
,
inseg
.
len
)
;
tcp_in.c:1557
tcp_receive()
if
(
inseg
.
p
->
tot_len
>
0
)
{
tcp_in.c:1558
tcp_receive()
recv_data
=
inseg
.
p
;
tcp_in.c:1562
tcp_receive()
inseg
.
p
=
NULL
;
tcp_out.c:175
tcp_create_segment()
seg
->
p
=
p
;
tcp_out.c:196
tcp_create_segment()
seg
->
tcphdr
=
(
struct
tcp_hdr
*
)
seg
->
p
->
payload
;
tcp_out.c:558
tcp_write()
for
(
p
=
last_unsent
->
p
;
p
->
next
!=
NULL
;
p
=
p
->
next
)
;
tcp_out.c:714
tcp_write()
for
(
p
=
last_unsent
->
p
;
p
;
p
=
p
->
next
)
{
tcp_out.c:738
tcp_write()
pbuf_cat
(
last_unsent
->
p
,
concat_p
)
;
tcp_out.c:743
tcp_write()
last_unsent
!=
NULL
&&
last_unsent
->
p
!=
NULL
)
;
tcp_out.c:744
tcp_write()
for
(
p
=
last_unsent
->
p
;
p
->
next
!=
NULL
;
p
=
p
->
next
)
{
tcp_out.c:885
tcp_split_unsent_seg()
offset
=
useg
->
p
->
tot_len
-
useg
->
len
+
split
;
tcp_out.c:887
tcp_split_unsent_seg()
if
(
pbuf_copy_partial
(
useg
->
p
,
(
u8_t
*
)
p
->
payload
+
optlen
,
remainder
,
offset
)
!=
remainder
)
{
tcp_out.c:928
tcp_split_unsent_seg()
pcb
->
snd_queuelen
-=
pbuf_clen
(
useg
->
p
)
;
tcp_out.c:932
tcp_split_unsent_seg()
pbuf_realloc
(
useg
->
p
,
useg
->
p
->
tot_len
-
remainder
)
;
tcp_out.c:941
tcp_split_unsent_seg()
pcb
->
snd_queuelen
+=
pbuf_clen
(
useg
->
p
)
;
tcp_out.c:966
tcp_split_unsent_seg()
pcb
->
snd_queuelen
+=
pbuf_clen
(
seg
->
p
)
;
tcp_out.c:1122
tcp_enqueue_flags()
pcb
->
snd_queuelen
+=
pbuf_clen
(
seg
->
p
)
;
tcp_out.c:1439
tcp_output_segment_busy()
if
(
seg
->
p
->
ref
!=
1
)
{
tcp_out.c:1548
tcp_output_segment()
len
=
(
u16_t
)
(
(
u8_t
*
)
seg
->
tcphdr
-
(
u8_t
*
)
seg
->
p
->
payload
)
;
tcp_out.c:1554
tcp_output_segment()
seg
->
p
->
len
-=
len
;
tcp_out.c:1555
tcp_output_segment()
seg
->
p
->
tot_len
-=
len
;
tcp_out.c:1557
tcp_output_segment()
seg
->
p
->
payload
=
seg
->
tcphdr
;
tcp_out.c:1607
tcp_output_segment()
err
=
ip_output_if
(
seg
->
p
,
&
pcb
->
local_ip
,
&
pcb
->
remote_ip
,
pcb
->
ttl
,
tcp_out.c:2173
tcp_zero_window_probe()
pbuf_copy_partial
(
seg
->
p
,
d
,
1
,
seg
->
p
->
tot_len
-
seg
->
len
)
;
Data Use
Functions writing
tcp_seg::p
Functions reading
tcp_seg::p
tcp_input()
tcp_receive()
tcp_create_segment()
all items filtered out
tcp_seg::p
tcp_seg_free()
tcp_input()
tcp_free_acked_segments()
tcp_receive()
tcp_create_segment()
tcp_write()
tcp_split_unsent_seg()
tcp_enqueue_flags()
tcp_output_segment_busy()
tcp_output_segment()
tcp_zero_window_probe()
all items filtered out
Type of
tcp_seg::p
tcp_seg::p
pbuf
all items filtered out