Skip to content
Snippets Groups Projects
Commit 3ea86c7c authored by Oleg Hahm's avatar Oleg Hahm
Browse files

gnrc: ipv6: netif: obey naming conventions

parent 44d4c46f
No related branches found
No related tags found
No related merge requests found
...@@ -43,18 +43,18 @@ extern "C" { ...@@ -43,18 +43,18 @@ extern "C" {
*/ */
#ifdef MODULE_GNRC_RPL #ifdef MODULE_GNRC_RPL
/* RPL needs all-RPL-nodes multicast address */ /* RPL needs all-RPL-nodes multicast address */
# define RPL_ADDR (1) # define GNRC_IPV6_NETIF_RPL_ADDR (1)
#else #else
# define RPL_ADDR (0) # define GNRC_IPV6_NETIF_RPL_ADDR (0)
#endif #endif
#ifdef MODULE_GNRC_IPV6_ROUTER #ifdef MODULE_GNRC_IPV6_ROUTER
/* routers need all-routers multicast address */ /* routers need all-routers multicast address */
# define RTR_ADDR (1) # define GNRC_IPV6_NETIF_RTR_ADDR (1)
#else #else
# define RTR_ADDR (0) # define GNRC_IPV6_NETIF_RTR_ADDR (0)
#endif #endif
#ifndef GNRC_IPV6_NETIF_ADDR_NUMOF #ifndef GNRC_IPV6_NETIF_ADDR_NUMOF
#define GNRC_IPV6_NETIF_ADDR_NUMOF (6 + RPL_ADDR + RTR_ADDR) #define GNRC_IPV6_NETIF_ADDR_NUMOF (6 + GNRC_IPV6_NETIF_RPL_ADDR + GNRC_IPV6_NETIF_RTR_ADDR)
#endif #endif
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment