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.