LwIP
+ 0/7 examples
CodeScope will show references to
netbuf
from the following samples and libraries:
Examples
STM32469I_EVAL
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
STM324x9I_EVAL
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
STM324xG_EVAL
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
LwIP_UDPTCP_Echo_Server_Netconn_RTOS
STM32F429ZI-Nucleo
Applications
LwIP
LwIP_HTTP_Server_Netconn_RTOS
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
netbuf
netbuf struct
"Network buffer" - contains data and addressing info
Syntax
from
netbuf.h:60
struct
netbuf
{
struct
pbuf
*
p
,
*
ptr
;
ip_addr_t
addr
;
u16_t
port
;
#if
LWIP_NETBUF_RECVINFO
||
LWIP_CHECKSUM_ON_COPY
u8_t
flags
;
u16_t
toport_chksum
;
#if
LWIP_NETBUF_RECVINFO
ip_addr_t
toaddr
;
#endif
#endif
}
;
Fields
p
No summary provided.
Read more...
ptr
No summary provided.
Read more...
addr
No summary provided.
Read more...
port
No summary provided.
Read more...
Examples
netbuf
is referenced by
7 libraries and example projects
.
References
Location
Referrer
Scope
Text
netbuf.h:60
struct
netbuf
{
sockets_priv.h:62
struct
netbuf
*
netbuf
;
api.h:334
netconn_recv()::new_buf
netconn_recv()
err_t
netconn_recv
(
struct
netconn
*
conn
,
struct
netbuf
*
*
new_buf
)
;
api.h:335
netconn_recv_udp_raw_netbuf()::new_buf
netconn_recv_udp_raw_netbuf()
err_t
netconn_recv_udp_raw_netbuf
(
struct
netconn
*
conn
,
struct
netbuf
*
*
new_buf
)
;
api.h:336
netconn_recv_udp_raw_netbuf_flags()::new_buf
netconn_recv_udp_raw_netbuf_flags()
err_t
netconn_recv_udp_raw_netbuf_flags
(
struct
netconn
*
conn
,
struct
netbuf
*
*
new_buf
,
u8_t
apiflags
)
;
api.h:340
netconn_sendto()::buf
netconn_sendto()
err_t
netconn_sendto
(
struct
netconn
*
conn
,
struct
netbuf
*
buf
,
api.h:342
netconn_send()::buf
netconn_send()
err_t
netconn_send
(
struct
netconn
*
conn
,
struct
netbuf
*
buf
)
;
api_lib.c:658
netconn_recv_data()
len
=
netbuf_len
(
(
struct
netbuf
*
)
buf
)
;
api_lib.c:822
netconn_recv_udp_raw_netbuf()
netconn_recv_udp_raw_netbuf
(
struct
netconn
*
conn
,
struct
netbuf
*
*
new_buf
)
api_lib.c:842
netconn_recv_udp_raw_netbuf_flags()
netconn_recv_udp_raw_netbuf_flags
(
struct
netconn
*
conn
,
struct
netbuf
*
*
new_buf
,
u8_t
apiflags
)
api_lib.c:860
netconn_recv()
netconn_recv
(
struct
netconn
*
conn
,
struct
netbuf
*
*
new_buf
)
api_lib.c:863
netconn_recv()
struct
netbuf
*
buf
=
NULL
;
api_lib.c:879
netconn_recv()
buf
=
(
struct
netbuf
*
)
memp_malloc
(
MEMP_NETBUF
)
;
api_lib.c:922
netconn_sendto()
netconn_sendto
(
struct
netconn
*
conn
,
struct
netbuf
*
buf
,
const
ip_addr_t
*
addr
,
u16_t
port
)
api_lib.c:941
netconn_send()
netconn_send
(
struct
netconn
*
conn
,
struct
netbuf
*
buf
)
api_msg.c:221
recv_udp()
struct
netbuf
*
buf
;
api_msg.c:251
recv_udp()
buf
=
(
struct
netbuf
*
)
memp_malloc
(
MEMP_NETBUF
)
;
api_msg.c:853
netconn_drain()
netbuf_delete
(
(
struct
netbuf
*
)
mem
)
;
api_msg.h:88
api_msg::
::b
api_msg::
struct
netbuf
*
b
;
memp_std.h:67
LWIP_MEMPOOL
(
NETBUF
,
MEMP_NUM_NETBUF
,
sizeof
(
struct
netbuf
)
,
"NETBUF"
)
netbuf.c:63
netbuf_new()
netbuf
*
netbuf_new
(
void
)
netbuf.c:65
netbuf_new()
struct
netbuf
*
buf
;
netbuf.c:67
netbuf_new()
buf
=
(
struct
netbuf
*
)
memp_malloc
(
MEMP_NETBUF
)
;
netbuf.c:69
netbuf_new()
memset
(
buf
,
0
,
sizeof
(
struct
netbuf
)
)
;
netbuf.c:81
netbuf_delete()
netbuf_delete
(
struct
netbuf
*
buf
)
netbuf.c:102
netbuf_alloc()
netbuf_alloc
(
struct
netbuf
*
buf
,
u16_t
size
)
netbuf.c:127
netbuf_free()
netbuf_free
(
struct
netbuf
*
buf
)
netbuf.c:151
netbuf_ref()
netbuf_ref
(
struct
netbuf
*
buf
,
const
void
*
dataptr
,
u16_t
size
)
netbuf.c:176
netbuf_chain()
netbuf_chain
(
struct
netbuf
*
head
,
struct
netbuf
*
tail
)
netbuf.c:196
netbuf_data()
netbuf_data
(
struct
netbuf
*
buf
,
void
*
*
dataptr
,
u16_t
*
len
)
netbuf.c:222
netbuf_next()
netbuf_next
(
struct
netbuf
*
buf
)
netbuf.c:244
netbuf_first()
netbuf_first
(
struct
netbuf
*
buf
)
netbuf.h:74
netbuf_new()
struct
netbuf
*
netbuf_new
(
void
)
;
netbuf.h:75
netbuf_delete()::buf
netbuf_delete()
void
netbuf_delete
(
struct
netbuf
*
buf
)
;
netbuf.h:76
netbuf_alloc()::buf
netbuf_alloc()
void
*
netbuf_alloc
(
struct
netbuf
*
buf
,
u16_t
size
)
;
netbuf.h:77
netbuf_free()::buf
netbuf_free()
void
netbuf_free
(
struct
netbuf
*
buf
)
;
netbuf.h:78
netbuf_ref()::buf
netbuf_ref()
err_t
netbuf_ref
(
struct
netbuf
*
buf
,
netbuf.h:80
netbuf_chain()::head
netbuf_chain()
void
netbuf_chain
(
struct
netbuf
*
head
,
struct
netbuf
*
tail
)
;
netbuf.h:82
netbuf_data()::buf
netbuf_data()
err_t
netbuf_data
(
struct
netbuf
*
buf
,
netbuf.h:84
netbuf_next()::buf
netbuf_next()
s8_t
netbuf_next
(
struct
netbuf
*
buf
)
;
netbuf.h:85
netbuf_first()::buf
netbuf_first()
void
netbuf_first
(
struct
netbuf
*
buf
)
;
sockets.c:1090
lwip_recvfrom_udp_raw()
struct
netbuf
*
buf
;
sockets.c:1470
lwip_sendmsg()
struct
netbuf
chain_buf
;
sockets.c:1480
lwip_sendmsg()
memset
(
&
chain_buf
,
0
,
sizeof
(
struct
netbuf
)
)
;
sockets.c:1592
lwip_sendto()
struct
netbuf
buf
;
sockets_priv.h:62
lwip_sock_lastdata::netbuf
lwip_sock_lastdata
struct
netbuf
*
netbuf
;
Type Use
Variables of
netbuf
type
netbuf_new()
netbuf_delete()::buf
netbuf_alloc()::buf
netbuf_free()::buf
netbuf_ref()::buf
netbuf_chain()::head
netbuf_chain()::tail
netbuf_data()::buf
netbuf_next()::buf
netbuf_first()::buf
lwip_sock_lastdata::netbuf
netconn_recv()::new_buf
netconn_recv_udp_raw_netbuf()::new_buf
netconn_recv_udp_raw_netbuf_flags()::new_buf
netconn_sendto()::buf
netconn_send()::buf
netconn_recv()
netconn_recv()::buf
api_msg::
::b
recv_udp()
recv_udp()::buf
netbuf_new()::buf
lwip_recvfrom_udp_raw()
lwip_recvfrom_udp_raw()::buf
lwip_sendmsg()
lwip_sendmsg()::chain_buf
lwip_sendto()
lwip_sendto()::buf
all items filtered out
netbuf
Allocators of
netbuf
Deletors of
netbuf
lwip_sendmsg()::chain_buf
lwip_sendto()::buf
all items filtered out
netbuf
lwip_sendmsg()::chain_buf
lwip_sendto()::buf
all items filtered out