LwIP
LWIP_ARRAYSIZE
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
LWIP_ARRAYSIZE
LWIP_ARRAYSIZE macro
Syntax
from
def.h:69
#define
LWIP_ARRAYSIZE
(
x
)
(
sizeof
(
x
)
/
sizeof
(
(
x
)
[
0
]
)
)
Arguments
x
References
Location
Text
def.h:69
#define
LWIP_ARRAYSIZE
(
x
)
(
sizeof
(
x
)
/
sizeof
(
(
x
)
[
0
]
)
)
dhcp.c:396
options_out_len
=
dhcp_option
(
options_out_len
,
msg_out
->
options
,
DHCP_OPTION_PARAMETER_REQUEST_LIST
,
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
)
;
dhcp.c:397
for
(
i
=
0
;
i
<
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
;
i
++
)
{
dhcp.c:1003
options_out_len
=
dhcp_option
(
options_out_len
,
msg_out
->
options
,
DHCP_OPTION_PARAMETER_REQUEST_LIST
,
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
)
;
dhcp.c:1004
for
(
i
=
0
;
i
<
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
;
i
++
)
{
dhcp.c:1170
options_out_len
=
dhcp_option
(
options_out_len
,
msg_out
->
options
,
DHCP_OPTION_PARAMETER_REQUEST_LIST
,
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
)
;
dhcp.c:1171
for
(
i
=
0
;
i
<
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
;
i
++
)
{
dhcp.c:1225
options_out_len
=
dhcp_option
(
options_out_len
,
msg_out
->
options
,
DHCP_OPTION_PARAMETER_REQUEST_LIST
,
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
)
;
dhcp.c:1226
for
(
i
=
0
;
i
<
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
;
i
++
)
{
dhcp.c:1282
options_out_len
=
dhcp_option
(
options_out_len
,
msg_out
->
options
,
DHCP_OPTION_PARAMETER_REQUEST_LIST
,
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
)
;
dhcp.c:1283
for
(
i
=
0
;
i
<
LWIP_ARRAYSIZE
(
dhcp_discover_request_options
)
;
i
++
)
{
err.c:71
if
(
(
err
>
0
)
||
(
-
err
>=
(
err_t
)
LWIP_ARRAYSIZE
(
err_to_errno_table
)
)
)
{
httpd.c:162
#define
NUM_DEFAULT_FILENAMES
LWIP_ARRAYSIZE
(
httpd_default_filenames
)
httpd.c:1265
for
(
tag_type
=
0
;
tag_type
<
LWIP_ARRAYSIZE
(
http_ssi_tag_desc
)
;
tag_type
++
)
{
httpd_structs.h:120
#define
NUM_SHTML_EXTENSIONS
LWIP_ARRAYSIZE
(
g_pcSSIExtensions
)
memp.c:229
for
(
i
=
0
;
i
<
LWIP_ARRAYSIZE
(
memp_pools
)
;
i
++
)
{
tcp.c:275
for
(
i
=
1
;
i
<
LWIP_ARRAYSIZE
(
tcp_pcb_lists
)
;
i
++
)
{
timeouts.c:117
const
int
lwip_num_cyclic_timers
=
LWIP_ARRAYSIZE
(
lwip_cyclic_timers
)
;
timeouts.c:268
for
(
i
=
(
LWIP_TCP
?
1
:
0
)
;
i
<
LWIP_ARRAYSIZE
(
lwip_cyclic_timers
)
;
i
++
)
{