LwIP
NETIF_FLAG_UP
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LwIP
NETIF_FLAG_UP
NETIF_FLAG_UP macro
Whether the network interface is 'up'. This is a software flag used to control whether this network interface is enabled and processes traffic. It must be set by the startup code before this netif can be used (also for dhcp/autoip).
Syntax
from
netif.h:84
#define
NETIF_FLAG_UP
0x01U
References
Location
Text
netif.h:84
#define
NETIF_FLAG_UP
0x01U
netif.c:850
if
(
!
(
netif
->
flags
&
NETIF_FLAG_UP
)
)
{
netif.c:851
netif_set_flags
(
netif
,
NETIF_FLAG_UP
)
;
netif.c:881
!
(
netif
->
flags
&
NETIF_FLAG_UP
)
)
{
netif.c:925
if
(
netif
->
flags
&
NETIF_FLAG_UP
)
{
netif.c:934
netif_clear_flags
(
netif
,
NETIF_FLAG_UP
)
;
netif.h:461
#define
netif_is_up
(
netif
)
(
(
(
netif
)
->
flags
&
NETIF_FLAG_UP
)
?
(
u8_t
)
1
:
(
u8_t
)
0
)