Flag definitions for Network interface API. More...
Flag definitions for Network interface API.
Definition in file flags.h.
Go to the source code of this file.
Network interface flags | |
#define | GNRC_NETIF_FLAGS_HAS_L2ADDR (0x00000001U) |
Network interface has link-layer address. | |
#define | GNRC_NETIF_FLAGS_IPV6_FORWARDING (0x00000002U) |
Network interface is enabled for IPv6 forwarding. | |
#define | GNRC_NETIF_FLAGS_IPV6_RTR_ADV (0x00000004U) |
Network interface advertises itself as an IPv6 router (implies GNRC_NETIF_FLAGS_IPV6_FORWARDING to be set) | |
#define | GNRC_NETIF_FLAGS_IPV6_ADV_MTU (0x00000008U) |
This interface advertises its gnrc_netif_t::mtu to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set) | |
#define | GNRC_NETIF_FLAGS_IPV6_ADV_CUR_HL (0x00000010U) |
This interface advertises its gnrc_netif_t::cur_hl to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set) | |
#define | GNRC_NETIF_FLAGS_IPV6_ADV_REACH_TIME (0x00000020U) |
This interface advertises its reachable time to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set) | |
#define | GNRC_NETIF_FLAGS_IPV6_ADV_RETRANS_TIMER (0x00000040U) |
This interface advertises its retransmission timer to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set) | |
#define | GNRC_NETIF_FLAGS_IPV6_ADV_O_FLAG (0x00000080U) |
If gnrc_netif_t::ipv6::aac_mode & GNRC_NETIF_AAC_DHCP then this flag indicates that other configuration information is available via DHCPv6 (e.g. | |
#define | GNRC_NETIF_FLAGS_TX_FROM_PKTQUEUE (0x00000100U) |
Used when module gnrc_netif_pktq is used to indicate that gnrc_netif_t::tx_pkt is from the packet queue. | |
#define | GNRC_NETIF_FLAGS_6LO_HC (0x00000100U) |
This interface uses 6Lo header compression. | |
#define | GNRC_NETIF_FLAGS_6LO_ABR (0x00000200U) |
This interface acts as a 6Lo border router to the LLN. | |
#define | GNRC_NETIF_FLAGS_6LO_MESH (0x00000400U) |
This interface acts as a mesh-under node (route-over topology when unset) | |
#define | GNRC_NETIF_FLAGS_6LO_BACKBONE (0x00000800U) |
Interface supports 6LoWPAN general header compression. | |
#define | GNRC_NETIF_FLAGS_6LN (0x00001000U) |
This interface represents a 6Lo node (6LN) according to RFC 6775. | |
#define | GNRC_NETIF_FLAGS_6LO (0x00002000U) |
6Lo is activated for this interface | |
#define | GNRC_NETIF_FLAGS_RAWMODE (0x00010000U) |
Network interface is configured in raw mode. | |
enum | { GNRC_NETIF_AAC_NONE = 0x00 , GNRC_NETIF_AAC_AUTO = 0x01 , GNRC_NETIF_AAC_DHCP = 0x02 } |
Auto-address configuration modes . More... | |
#define GNRC_NETIF_FLAGS_6LN (0x00001000U) |
This interface represents a 6Lo node (6LN) according to RFC 6775.
#define GNRC_NETIF_FLAGS_6LO (0x00002000U) |
6Lo is activated for this interface
#define GNRC_NETIF_FLAGS_6LO_ABR (0x00000200U) |
#define GNRC_NETIF_FLAGS_6LO_BACKBONE (0x00000800U) |
Interface supports 6LoWPAN general header compression.
#define GNRC_NETIF_FLAGS_6LO_HC (0x00000100U) |
#define GNRC_NETIF_FLAGS_6LO_MESH (0x00000400U) |
#define GNRC_NETIF_FLAGS_HAS_L2ADDR (0x00000001U) |
#define GNRC_NETIF_FLAGS_IPV6_ADV_CUR_HL (0x00000010U) |
This interface advertises its gnrc_netif_t::cur_hl to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set)
#define GNRC_NETIF_FLAGS_IPV6_ADV_MTU (0x00000008U) |
This interface advertises its gnrc_netif_t::mtu to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set)
#define GNRC_NETIF_FLAGS_IPV6_ADV_O_FLAG (0x00000080U) |
If gnrc_netif_t::ipv6::aac_mode & GNRC_NETIF_AAC_DHCP then this flag indicates that other configuration information is available via DHCPv6 (e.g.
DNS-related information)
#define GNRC_NETIF_FLAGS_IPV6_ADV_REACH_TIME (0x00000020U) |
This interface advertises its reachable time to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set)
#define GNRC_NETIF_FLAGS_IPV6_ADV_RETRANS_TIMER (0x00000040U) |
This interface advertises its retransmission timer to other nodes (implies GNRC_NETIF_FLAGS_IPV6_RTR_ADV to be set)
#define GNRC_NETIF_FLAGS_IPV6_FORWARDING (0x00000002U) |
#define GNRC_NETIF_FLAGS_IPV6_RTR_ADV (0x00000004U) |
Network interface advertises itself as an IPv6 router (implies GNRC_NETIF_FLAGS_IPV6_FORWARDING to be set)
#define GNRC_NETIF_FLAGS_RAWMODE (0x00010000U) |
#define GNRC_NETIF_FLAGS_TX_FROM_PKTQUEUE (0x00000100U) |
Used when module gnrc_netif_pktq is used to indicate that gnrc_netif_t::tx_pkt is from the packet queue.