LwIP
err_to_errno_table
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
err_to_errno_table
err_to_errno_table variable
Table to quickly map an lwIP error (err_t) to a socket error by using -err as an index
Syntax
from
err.c:48
static
const
int
err_to_errno_table
[
]
=
{
0
,
ENOMEM
,
ENOBUFS
,
EWOULDBLOCK
,
EHOSTUNREACH
,
EINPROGRESS
,
EINVAL
,
EWOULDBLOCK
,
EADDRINUSE
,
EALREADY
,
EISCONN
,
ENOTCONN
,
-
1
,
ECONNABORTED
,
ECONNRESET
,
ENOTCONN
,
EIO
}
;
References
Location
Referrer
Text
err.c:48
static
const
int
err_to_errno_table
[
]
=
{
err.c:71
err_to_errno()
if
(
(
err
>
0
)
||
(
-
err
>=
(
err_t
)
LWIP_ARRAYSIZE
(
err_to_errno_table
)
)
)
{
err.c:74
err_to_errno()
return
err_to_errno_table
[
-
err
]
;
Data Use
Functions reading
err_to_errno_table
err_to_errno_table
err_to_errno()
all items filtered out