Loading...
Searching...
No Matches

Detailed Description

Macros

#define GNRC_IPV6_STACK_SIZE   ((THREAD_STACKSIZE_DEFAULT) - 64)
 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).
 
#define CONFIG_GNRC_IPV6_STATIC_LLADDR
 Add a static IPv6 link local address to any network interface.
 

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 150 of file ipv6.h.

◆ CONFIG_GNRC_IPV6_STATIC_LLADDR

#define CONFIG_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 the interface PID unless CONFIG_GNRC_IPV6_STATIC_LLADDR_IS_FIXED is set.

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

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

Definition at line 170 of file ipv6.h.

◆ GNRC_IPV6_PRIO

#define GNRC_IPV6_PRIO   (THREAD_PRIORITY_MAIN - 3)

Default priority for the IPv6 thread.

Definition at line 138 of file ipv6.h.

◆ GNRC_IPV6_STACK_SIZE

#define GNRC_IPV6_STACK_SIZE   ((THREAD_STACKSIZE_DEFAULT) - 64)

Default stack size to use for the IPv6 thread.

Note
The message queue was previously allocated on the stack. The default number of messages is 2³. Given sizeof(msg_t) == 8, the stack size is reduced by 64 bytes.

Definition at line 131 of file ipv6.h.