NETIF_FLAG_UP is only used within LwIP.
 
Symbols
loading...
Files
loading...

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

#define NETIF_FLAG_UP 0x01U

References

LocationText
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)