LwIP
api_msg::
::w
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
api_msg::
::w
api_msg::
::w field
used for lwip_netconn_do_write
Syntax
from
api_msg.h:106
struct
{
const
struct
netvector
*
vector
;
u16_t
vector_cnt
;
size_t
vector_off
;
size_t
len
;
size_t
offset
;
u8_t
apiflags
;
#if
LWIP_SO_SNDTIMEO
u32_t
time_started
;
#endif
}
w
;
References
Location
Referrer
Text
api_msg.h:121
}
w
;
api_lib.c:1045
netconn_write_vectors_partly()
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
vector
=
vectors
;
api_lib.c:1046
netconn_write_vectors_partly()
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
vector_cnt
=
vectorcnt
;
api_lib.c:1047
netconn_write_vectors_partly()
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
vector_off
=
0
;
api_lib.c:1048
netconn_write_vectors_partly()
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
apiflags
=
apiflags
;
api_lib.c:1049
netconn_write_vectors_partly()
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
len
=
size
;
api_lib.c:1050
netconn_write_vectors_partly()
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
offset
=
0
;
api_lib.c:1067
netconn_write_vectors_partly()
*
bytes_written
=
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
offset
;
api_lib.c:1072
netconn_write_vectors_partly()
LWIP_ASSERT
(
"do_write failed to write all bytes"
,
API_MSG_VAR_REF
(
msg
)
.
msg
.
w
.
offset
==
size
)
;
api_msg.c:1656
lwip_netconn_do_writemore()
conn
->
current_msg
->
msg
.
w
.
offset
<
conn
->
current_msg
->
msg
.
w
.
len
)
;
api_msg.c:1657
lwip_netconn_do_writemore()
LWIP_ASSERT
(
"conn->current_msg->msg.w.vector_cnt > 0"
,
conn
->
current_msg
->
msg
.
w
.
vector_cnt
>
0
)
;
api_msg.c:1659
lwip_netconn_do_writemore()
apiflags
=
conn
->
current_msg
->
msg
.
w
.
apiflags
;
api_msg.c:1677
lwip_netconn_do_writemore()
dataptr
=
(
const
u8_t
*
)
conn
->
current_msg
->
msg
.
w
.
vector
->
ptr
+
conn
->
current_msg
->
msg
.
w
.
vector_off
;
api_msg.c:1678
lwip_netconn_do_writemore()
diff
=
conn
->
current_msg
->
msg
.
w
.
vector
->
len
-
conn
->
current_msg
->
msg
.
w
.
vector_off
;
api_msg.c:1692
lwip_netconn_do_writemore()
err
=
(
conn
->
current_msg
->
msg
.
w
.
offset
==
0
)
?
ERR_WOULDBLOCK
:
ERR_OK
;
api_msg.c:1700
lwip_netconn_do_writemore()
(
(
conn
->
current_msg
->
msg
.
w
.
vector_off
+
len
)
<=
conn
->
current_msg
->
msg
.
w
.
vector
->
len
)
)
;
api_msg.c:1706
lwip_netconn_do_writemore()
(
len
==
(
u16_t
)
diff
&&
conn
->
current_msg
->
msg
.
w
.
vector_cnt
>
1
)
)
{
api_msg.c:1714
lwip_netconn_do_writemore()
conn
->
current_msg
->
msg
.
w
.
offset
+=
len
;
api_msg.c:1715
lwip_netconn_do_writemore()
conn
->
current_msg
->
msg
.
w
.
vector_off
+=
len
;
api_msg.c:1717
lwip_netconn_do_writemore()
if
(
conn
->
current_msg
->
msg
.
w
.
vector_off
==
conn
->
current_msg
->
msg
.
w
.
vector
->
len
)
{
api_msg.c:1718
lwip_netconn_do_writemore()
conn
->
current_msg
->
msg
.
w
.
vector_cnt
--
;
api_msg.c:1720
lwip_netconn_do_writemore()
if
(
conn
->
current_msg
->
msg
.
w
.
vector_cnt
>
0
)
{
api_msg.c:1721
lwip_netconn_do_writemore()
conn
->
current_msg
->
msg
.
w
.
vector
++
;
api_msg.c:1722
lwip_netconn_do_writemore()
conn
->
current_msg
->
msg
.
w
.
vector_off
=
0
;
api_msg.c:1730
lwip_netconn_do_writemore()
if
(
dontblock
&&
(
conn
->
current_msg
->
msg
.
w
.
offset
<
conn
->
current_msg
->
msg
.
w
.
len
)
)
{
api_msg.c:1745
lwip_netconn_do_writemore()
if
(
(
conn
->
current_msg
->
msg
.
w
.
offset
==
conn
->
current_msg
->
msg
.
w
.
len
)
||
dontblock
)
{
api_msg.c:1774
lwip_netconn_do_writemore()
err
=
(
conn
->
current_msg
->
msg
.
w
.
offset
==
0
)
?
ERR_WOULDBLOCK
:
ERR_OK
;
api_msg.c:1828
lwip_netconn_do_write()
LWIP_ASSERT
(
"msg->msg.w.len != 0"
,
msg
->
msg
.
w
.
len
!=
0
)
;
Data Use
Functions reading
api_msg::
::w
api_msg::
::w
netconn_write_vectors_partly()
lwip_netconn_do_writemore()
lwip_netconn_do_write()
all items filtered out
Type of
api_msg::
::w
api_msg::
::w
api_msg::
::
all items filtered out