Mistake on this page?
Report an issue in GitHub or email us
Macros

Macros

#define NETIF_FLAG_UP   0x01U
 Whether the network interface is 'up'. More...
 
#define NETIF_FLAG_BROADCAST   0x02U
 If set, the netif has broadcast capability. More...
 
#define NETIF_FLAG_LINK_UP   0x04U
 If set, the interface has an active link (set by the network interface driver). More...
 
#define NETIF_FLAG_ETHARP   0x08U
 If set, the netif is an ethernet device using ARP. More...
 
#define NETIF_FLAG_ETHERNET   0x10U
 If set, the netif is an ethernet device. More...
 
#define NETIF_FLAG_IGMP   0x20U
 If set, the netif has IGMP capability. More...
 
#define NETIF_FLAG_MLD6   0x40U
 If set, the netif has MLD6 capability. More...
 

Detailed Description

Macro Definition Documentation

#define NETIF_FLAG_BROADCAST   0x02U

If set, the netif has broadcast capability.

Set by the netif driver in its init function.

Definition at line 88 of file netif.h.

#define NETIF_FLAG_ETHARP   0x08U

If set, the netif is an ethernet device using ARP.

Set by the netif driver in its init function. Used to check input packet types and use of DHCP.

Definition at line 98 of file netif.h.

#define NETIF_FLAG_ETHERNET   0x10U

If set, the netif is an ethernet device.

It might not use ARP or TCP/IP if it is used for PPPoE only.

Definition at line 102 of file netif.h.

#define NETIF_FLAG_IGMP   0x20U

If set, the netif has IGMP capability.

Set by the netif driver in its init function.

Definition at line 105 of file netif.h.

#define NETIF_FLAG_LINK_UP   0x04U

If set, the interface has an active link (set by the network interface driver).

Either set by the netif driver in its init function (if the link is up at that time) or at a later point once the link comes up (if link detection is supported by the hardware).

Definition at line 94 of file netif.h.

#define NETIF_FLAG_MLD6   0x40U

If set, the netif has MLD6 capability.

Set by the netif driver in its init function.

Definition at line 108 of file netif.h.

#define NETIF_FLAG_UP   0x01U

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

Definition at line 85 of file netif.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.