LwIP
netbuf::p
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
netbuf::p
netbuf::p field
Syntax
from
netbuf.h:61
struct
pbuf
*
p
;
References
Location
Referrer
Text
netbuf.h:61
struct
pbuf
*
p
,
*
ptr
;
api_lib.c:658
netconn_recv_data()
len
=
netbuf_len
(
(
struct
netbuf
*
)
buf
)
;
api_lib.c:891
netconn_recv()
buf
->
p
=
p
;
api_msg.c:256
recv_udp()
buf
->
p
=
p
;
api_msg.c:1562
lwip_netconn_do_send()
err
=
udp_send
(
msg
->
conn
->
pcb
.
udp
,
msg
->
msg
.
b
->
p
)
;
api_msg.c:1564
lwip_netconn_do_send()
err
=
udp_sendto
(
msg
->
conn
->
pcb
.
udp
,
msg
->
msg
.
b
->
p
,
&
msg
->
msg
.
b
->
addr
,
msg
->
msg
.
b
->
port
)
;
netbuf.c:84
netbuf_delete()
if
(
buf
->
p
!=
NULL
)
{
netbuf.c:85
netbuf_delete()
pbuf_free
(
buf
->
p
)
;
netbuf.c:86
netbuf_delete()
buf
->
p
=
buf
->
ptr
=
NULL
;
netbuf.c:107
netbuf_alloc()
if
(
buf
->
p
!=
NULL
)
{
netbuf.c:108
netbuf_alloc()
pbuf_free
(
buf
->
p
)
;
netbuf.c:110
netbuf_alloc()
buf
->
p
=
pbuf_alloc
(
PBUF_TRANSPORT
,
size
,
PBUF_RAM
)
;
netbuf.c:111
netbuf_alloc()
if
(
buf
->
p
==
NULL
)
{
netbuf.c:115
netbuf_alloc()
(
buf
->
p
->
len
>=
size
)
)
;
netbuf.c:116
netbuf_alloc()
buf
->
ptr
=
buf
->
p
;
netbuf.c:117
netbuf_alloc()
return
buf
->
p
->
payload
;
netbuf.c:130
netbuf_free()
if
(
buf
->
p
!=
NULL
)
{
netbuf.c:131
netbuf_free()
pbuf_free
(
buf
->
p
)
;
netbuf.c:133
netbuf_free()
buf
->
p
=
buf
->
ptr
=
NULL
;
netbuf.c:154
netbuf_ref()
if
(
buf
->
p
!=
NULL
)
{
netbuf.c:155
netbuf_ref()
pbuf_free
(
buf
->
p
)
;
netbuf.c:157
netbuf_ref()
buf
->
p
=
pbuf_alloc
(
PBUF_TRANSPORT
,
0
,
PBUF_REF
)
;
netbuf.c:158
netbuf_ref()
if
(
buf
->
p
==
NULL
)
{
netbuf.c:162
netbuf_ref()
(
(
struct
pbuf_rom
*
)
buf
->
p
)
->
payload
=
dataptr
;
netbuf.c:163
netbuf_ref()
buf
->
p
->
len
=
buf
->
p
->
tot_len
=
size
;
netbuf.c:164
netbuf_ref()
buf
->
ptr
=
buf
->
p
;
netbuf.c:180
netbuf_chain()
pbuf_cat
(
head
->
p
,
tail
->
p
)
;
netbuf.c:181
netbuf_chain()
head
->
ptr
=
head
->
p
;
netbuf.c:247
netbuf_first()
buf
->
ptr
=
buf
->
p
;
sockets.c:1121
lwip_recvfrom_udp_raw()
buflen
=
buf
->
p
->
tot_len
;
sockets.c:1136
lwip_recvfrom_udp_raw()
pbuf_copy_partial
(
buf
->
p
,
(
u8_t
*
)
msg
->
msg_iov
[
i
]
.
iov_base
,
copylen
,
copied
)
;
sockets.c:1534
lwip_sendmsg()
if
(
chain_buf
.
p
==
NULL
)
{
sockets.c:1535
lwip_sendmsg()
chain_buf
.
p
=
chain_buf
.
ptr
=
p
;
sockets.c:1538
lwip_sendmsg()
if
(
chain_buf
.
p
->
tot_len
+
p
->
len
>
0xffff
)
{
sockets.c:1543
lwip_sendmsg()
pbuf_cat
(
chain_buf
.
p
,
p
)
;
sockets.c:1548
lwip_sendmsg()
size
=
netbuf_len
(
&
chain_buf
)
;
sockets.c:1625
lwip_sendto()
buf
.
p
=
buf
.
ptr
=
NULL
;
Data Use
Functions writing
netbuf::p
Functions reading
netbuf::p
netconn_recv()
recv_udp()
netbuf_delete()
netbuf_alloc()
netbuf_free()
netbuf_ref()
lwip_sendmsg()
lwip_sendto()
all items filtered out
netbuf::p
netconn_recv_data()
lwip_netconn_do_send()
netbuf_delete()
netbuf_alloc()
netbuf_free()
netbuf_ref()
netbuf_chain()
netbuf_first()
lwip_recvfrom_udp_raw()
lwip_sendmsg()
all items filtered out
Type of
netbuf::p
netbuf::p
pbuf
all items filtered out