1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

gnrc_netif: increase number of maximum IPv6 groups

This commit is contained in:
Martine Lenders 2018-06-07 10:14:52 +02:00
parent 4ddbf43226
commit 6e31ce7c74

View File

@ -74,7 +74,7 @@ extern "C" {
* @ref GNRC_NETIF_IPV6_GROUPS_NUMOF is also large enough to fit the
* addresses' solicited nodes multicast addresses.
*
* Default: 2 (link-local + corresponding global address)
* Default: 2 (1 link-local + 1 global address)
*/
#ifndef GNRC_NETIF_IPV6_ADDRS_NUMOF
#define GNRC_NETIF_IPV6_ADDRS_NUMOF (2)
@ -83,11 +83,13 @@ extern "C" {
/**
* @brief Maximum number of multicast groups per interface
*
* Default: 2 (all-nodes + solicited-nodes of link-local and global unicast
* Default: 3 (all-nodes + solicited-nodes of link-local and global unicast
* address) + @ref GNRC_NETIF_RPL_ADDR + @ref GNRC_NETIF_IPV6_RTR_ADDR
*/
#ifndef GNRC_NETIF_IPV6_GROUPS_NUMOF
#define GNRC_NETIF_IPV6_GROUPS_NUMOF (2 + GNRC_NETIF_RPL_ADDR + GNRC_NETIF_IPV6_RTR_ADDR)
#define GNRC_NETIF_IPV6_GROUPS_NUMOF (GNRC_NETIF_IPV6_ADDRS_NUMOF + \
GNRC_NETIF_RPL_ADDR + \
GNRC_NETIF_IPV6_RTR_ADDR + 1)
#endif
/**