Files | |
file | conf.h |
Configuration macros for Network interface API. | |
Macros | |
#define | GNRC_NETIF_PRIO (THREAD_PRIORITY_MAIN - 5) |
Default priority for network interface threads. | |
#define | CONFIG_GNRC_NETIF_MSG_QUEUE_SIZE_EXP (4U) |
Default message queue size for network interface threads (as exponent of 2^n). More... | |
#define | CONFIG_GNRC_NETIF_PKTQ_POOL_SIZE (16U) |
Packet queue pool size for all network interfaces. More... | |
#define | CONFIG_GNRC_NETIF_PKTQ_TIMER_US (5000U) |
Time in microseconds for when to try send a queued packet at the latest. More... | |
#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 | CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF (2) |
Maximum number of unicast and anycast addresses per interface. More... | |
#define | GNRC_NETIF_IPV6_GROUPS_NUMOF |
Maximum number of multicast groups per interface. More... | |
#define | GNRC_NETIF_L2ADDR_MAXLEN (CONFIG_GNRC_IPV6_NIB_L2ADDR_MAX_LEN) |
Maximum length of the link-layer address. More... | |
#define | CONFIG_GNRC_NETIF_DEFAULT_HL (64U) |
default hop limit | |
#define | CONFIG_GNRC_NETIF_MIN_WAIT_AFTER_SEND_US (0U) |
Minimum wait time in microseconds after a send operation. More... | |
#define CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF (2) |
Maximum number of unicast and anycast addresses per interface.
Default: 2 (1 link-local + 1 global address)
#define CONFIG_GNRC_NETIF_MIN_WAIT_AFTER_SEND_US (0U) |
#define CONFIG_GNRC_NETIF_MSG_QUEUE_SIZE_EXP (4U) |
Default message queue size for network interface threads (as exponent of 2^n).
As the queue size ALWAYS needs to be power of two, this option represents the exponent of 2^n, which will be used as the size of the queue.
#define CONFIG_GNRC_NETIF_PKTQ_POOL_SIZE (16U) |
Packet queue pool size for all network interfaces.
#define CONFIG_GNRC_NETIF_PKTQ_TIMER_US (5000U) |
Time in microseconds for when to try send a queued packet at the latest.
Set to -1 to deactivate dequeing by timer. For this it has to be ensured that none of the notifications by the driver are missed!
#define GNRC_NETIF_IPV6_GROUPS_NUMOF |
Maximum number of multicast groups per interface.
Default: 3 (all-nodes + solicited-nodes of link-local and global unicast address) + GNRC_NETIF_RPL_ADDR + GNRC_NETIF_IPV6_RTR_ADDR
#define GNRC_NETIF_IPV6_RTR_ADDR (0) |
Number of multicast addresses needed for a IPv6 router.
#define GNRC_NETIF_L2ADDR_MAXLEN (CONFIG_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:
CFLAGS
has the most precedence.#define GNRC_NETIF_RPL_ADDR (0) |
Number of multicast addresses needed for RPL.