Configuration macros for New network interface API. More...

Detailed Description

Configuration macros for New network interface API.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

Definition in file netif/conf.h.

#include "net/ieee802154.h"
#include "net/ethernet/hdr.h"
#include "net/gnrc/ipv6/nib/conf.h"
#include "thread.h"
+ Include dependency graph for netif/conf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GNRC_NETIF_NUMOF   (1)
 Maximum number of network interfaces. More...
 
#define GNRC_NETIF_PRIO   (THREAD_PRIORITY_MAIN - 5)
 Default priority for network interface threads.
 
#define GNRC_NETIF_RPL_ADDR   (0)
 Number of multicast addresses needed for RPL. More...
 
#define GNRC_NETIF_IPV6_RTR_ADDR   (0)
 Number of multicast addresses needed for a IPv6 router. More...
 
#define GNRC_NETIF_IPV6_ADDRS_NUMOF   (2)
 Maximum number of unicast and anycast addresses per interface. More...
 
#define GNRC_NETIF_IPV6_GROUPS_NUMOF   (2 + GNRC_NETIF_RPL_ADDR + GNRC_NETIF_IPV6_RTR_ADDR)
 Maximum number of multicast groups per interface. More...
 
#define GNRC_NETIF_L2ADDR_MAXLEN   (GNRC_IPV6_NIB_L2ADDR_MAX_LEN)
 Maximum length of the link-layer address. More...
 
#define GNRC_NETIF_DEFAULT_HL   (64U)
 default hop limit
 

Macro Definition Documentation

◆ GNRC_NETIF_IPV6_ADDRS_NUMOF

#define GNRC_NETIF_IPV6_ADDRS_NUMOF   (2)

Maximum number of unicast and anycast addresses per interface.

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

Definition at line 76 of file netif/conf.h.

◆ GNRC_NETIF_IPV6_GROUPS_NUMOF

#define GNRC_NETIF_IPV6_GROUPS_NUMOF   (2 + GNRC_NETIF_RPL_ADDR + GNRC_NETIF_IPV6_RTR_ADDR)

Maximum number of multicast groups per interface.

Default: 2 (all-nodes + solicited-nodes of link-local and global unicast address) + GNRC_NETIF_RPL_ADDR + GNRC_NETIF_IPV6_RTR_ADDR

Definition at line 86 of file netif/conf.h.

◆ GNRC_NETIF_IPV6_RTR_ADDR

#define GNRC_NETIF_IPV6_RTR_ADDR   (0)

Number of multicast addresses needed for a IPv6 router.

Note
Used for calculation of GNRC_NETIF_IPV6_GROUPS_NUMOF

Definition at line 67 of file netif/conf.h.

◆ GNRC_NETIF_L2ADDR_MAXLEN

#define GNRC_NETIF_L2ADDR_MAXLEN   (GNRC_IPV6_NIB_L2ADDR_MAX_LEN)

Maximum length of the link-layer address.

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

Definition at line 113 of file netif/conf.h.

◆ GNRC_NETIF_NUMOF

#define GNRC_NETIF_NUMOF   (1)

Maximum number of network interfaces.

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

Definition at line 37 of file netif/conf.h.

◆ GNRC_NETIF_RPL_ADDR

#define GNRC_NETIF_RPL_ADDR   (0)

Number of multicast addresses needed for RPL.

Note
Used for calculation of GNRC_NETIF_IPV6_GROUPS_NUMOF

Definition at line 55 of file netif/conf.h.