flags.h¶
Flag definitions for Network interface API.
-
enum
@190¶ - GNRC_NETIF_AAC_NONE
= 0 - no configuration
- GNRC_NETIF_AAC_AUTO
Use some automatic bootstrapping (e.g.
SLAAC with IPv6)
- GNRC_NETIF_AAC_DHCP
- Use DHCP(v6)
- GNRC_NETIF_AAC_NONE
-
GNRC_NETIF_FLAGS_HAS_L2ADDR¶ Network interface has link-layer address.
1
(0x00000001U)
There are link-layers (e.g. SLIP) that do not have (nor require) link-layer addresses. This flag signifies this fact to upper layers by leaving it unset.
-
GNRC_NETIF_FLAGS_IPV6_FORWARDING¶ Network interface is enabled for IPv6 forwarding.
1
(0x00000002U)
-
GNRC_NETIF_FLAGS_IPV6_RTR_ADV¶ Network interface advertises itself as an IPv6 router (implies
flags.h::GNRC_NETIF_FLAGS_IPV6_FORWARDINGto be set)1
(0x00000004U)
-
GNRC_NETIF_FLAGS_IPV6_ADV_MTU¶ This interface advertises its gnrc_netif_t::mtu to other nodes (implies
flags.h::GNRC_NETIF_FLAGS_IPV6_RTR_ADVto be set)1
(0x00000008U)
-
GNRC_NETIF_FLAGS_IPV6_ADV_CUR_HL¶ This interface advertises its
gnrc/netif.h::gnrc_netif_t::cur_hlto other nodes (impliesflags.h::GNRC_NETIF_FLAGS_IPV6_RTR_ADVto be set)1
(0x00000010U)
-
GNRC_NETIF_FLAGS_IPV6_ADV_REACH_TIME¶ This interface advertises its reachable time to other nodes (implies
flags.h::GNRC_NETIF_FLAGS_IPV6_RTR_ADVto be set)1
(0x00000020U)
-
GNRC_NETIF_FLAGS_IPV6_ADV_RETRANS_TIMER¶ This interface advertises its retransmission timer to other nodes (implies
flags.h::GNRC_NETIF_FLAGS_IPV6_RTR_ADVto be set)1
(0x00000040U)
-
GNRC_NETIF_FLAGS_IPV6_ADV_O_FLAG¶ 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.
1
(0x00000080U)
DNS-related information)
See also
-
GNRC_NETIF_FLAGS_6LO_HC¶ This interface uses 6Lo header compression.
1
(0x00000100U)
See also
-
GNRC_NETIF_FLAGS_6LO_ABR¶ This interface acts as a 6Lo border router to the LLN.
1
(0x00000200U)
-
GNRC_NETIF_FLAGS_6LO_MESH¶ This interface acts as a mesh-under node (route-over topology when unset)
1
(0x00000400U)
-
GNRC_NETIF_FLAGS_6LO_BACKBONE¶ Interface supports 6LoWPAN general header compression.
1
(0x00000800U)
See also
-
GNRC_NETIF_FLAGS_MAC_TX_FEEDBACK_MASK¶ Mask for
sys/include/net/gnrc/mac/types.h::gnrc_mac_tx_feedback_t.1
(0x00006000U)
-
GNRC_NETIF_FLAGS_MAC_RX_STARTED¶ Flag to track if a transmission might have corrupted a received packet.
1
(0x00008000U)
-
GNRC_NETIF_FLAGS_RAWMODE¶ Network interface is configured in raw mode.
1
(0x00010000U)