Detailed Description

Macros

#define GNRC_IPV6_STACK_SIZE   (THREAD_STACKSIZE_DEFAULT)
 Default stack size to use for the IPv6 thread.
 
#define GNRC_IPV6_PRIO   (THREAD_PRIORITY_MAIN - 3)
 Default priority for the IPv6 thread.
 
#define CONFIG_GNRC_IPV6_MSG_QUEUE_SIZE_EXP   (3U)
 Default message queue size to use for the IPv6 thread (as exponent of 2^n). More...
 
#define GNRC_IPV6_STATIC_LLADDR
 Add a static IPv6 link local address to any network interface. More...
 

Macro Definition Documentation

◆ CONFIG_GNRC_IPV6_MSG_QUEUE_SIZE_EXP

#define CONFIG_GNRC_IPV6_MSG_QUEUE_SIZE_EXP   (3U)

Default message queue size to use for the IPv6 thread (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.

Definition at line 147 of file ipv6.h.

◆ GNRC_IPV6_STATIC_LLADDR

#define GNRC_IPV6_STATIC_LLADDR

Add a static IPv6 link local address to any network interface.

This macro allows to specify a certain link local IPv6 address to be assigned to a network interface on startup, which might be handy for testing. Note: a) a interface will keep its auto-generated link local address, too b) the address is incremented by 1, if multiple interfaces are present

To use the macro just add it to CFLAGS in the application's Makefile, like:

IPV6_STATIC_LLADDR ?= '"fe80::cafe:cafe:cafe:1"'
CFLAGS += -DGNRC_IPV6_STATIC_LLADDR=$(STATIC_IPV6_LLADDR)

Definition at line 166 of file ipv6.h.