netif/conf.h

Configuration macros for Network interface API.

GNRC_NETIF_NUMOF

Maximum number of network interfaces.

1
(1)

Note

Intentionally not calling it GNRC_NETIF_NUMOF to not require rewrites throughout the stack.

GNRC_NETIF_PRIO

Default priority for network interface threads.

1
(THREAD_PRIORITY_MAIN - 5)
GNRC_NETIF_RPL_ADDR

Number of multicast addresses needed for RPL.

1
(0)

Note

Used for calculation of netif/conf.h::GNRC_NETIF_IPV6_GROUPS_NUMOF

GNRC_NETIF_IPV6_RTR_ADDR

Number of multicast addresses needed for a IPv6 router.

1
(0)

Note

Used for calculation of netif/conf.h::GNRC_NETIF_IPV6_GROUPS_NUMOF

GNRC_NETIF_IPV6_ADDRS_NUMOF

Maximum number of unicast and anycast addresses per interface.

1
(2)

Note

If you change this, please make sure that netif/conf.h::GNRC_NETIF_IPV6_GROUPS_NUMOF is also large enough to fit the addresses’ solicited nodes multicast addresses.

Default: 2 (1 link-local + 1 global address)

GNRC_NETIF_IPV6_GROUPS_NUMOF

Maximum number of multicast groups per interface.

1
2
3
(GNRC_NETIF_IPV6_ADDRS_NUMOF + \
                                        GNRC_NETIF_RPL_ADDR + \
                                        GNRC_NETIF_IPV6_RTR_ADDR + 1)

Default: 3 (all-nodes + solicited-nodes of link-local and global unicast address) + netif/conf.h::GNRC_NETIF_RPL_ADDR + netif/conf.h::GNRC_NETIF_IPV6_RTR_ADDR

GNRC_NETIF_L2ADDR_MAXLEN

Maximum length of the link-layer address.

1
(GNRC_IPV6_NIB_L2ADDR_MAX_LEN)

The value for the maximum length of a link-layer address is dependent on the netdev adapters compiled in:

Note

Implementers note: From longest to shortest extend, if new link-layer address types are included

GNRC_NETIF_DEFAULT_HL

default hop limit

1
(64U)