nes-proj/arch/platform
George Oikonomou 15f6e1d7a3 Change the way of accessing the default v6 prefix
This commit changes the method of accessing the default v6 prefix. Instead of always using `UIP_DS6_DEFAULT_PREFIX`, we store the default prefix in a variable. We subsequently retrieve the prefix by calling `uip_ds6_default_prefix()`.

`uip_ds6_init()` will set this variable to the value of `UIP_DS6_DEFAULT_PREFIX`, but only if the startup code has not set a different default prefix before `uip_ds6_init()` gets called.

This approach has the following benefits:

* It allows us to change the default prefix at run time.
* It allows the startup code to set a prefix different than the one specified by `UIP_DS6_DEFAULT_PREFIX`, which can be useful if the default prefix comes from a different source (e.g. the command line for native, or a configuration stored on a node's flash)
* In many places the current code assumes that the prefix contains 6 bytes of zeros (e.g. `FDxx::/64`). Changing to a different prefix (e.g. `FD00:ABCD::`) would need extensive code changes. This change here makes it easy to use a prefix of any length.
2018-11-11 18:30:54 +00:00
..
cc26x0-cc13x0 Rename 'arch/cpu/cc26xx-cc13xx' to 'arch/cpu/cc26x0-cc13x0' 2018-10-23 13:32:03 -07:00
cc2538dk Fix the .upload target 2018-10-23 17:47:31 +01:00
cooja Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +01:00
jn516x Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +01:00
native Change the way of accessing the default v6 prefix 2018-11-11 18:30:54 +00:00
nrf52dk moved initialization of queuebuf to contikimac-main.c 2018-10-27 07:13:36 -07:00
openmote-cc2538 Fix the .upload target 2018-10-23 17:47:31 +01:00
simplelink Provide default board for platform simplelink 2018-09-23 12:59:43 +01:00
sky Added TSCH_CONF_ARCH_HDR_PATH for platform-specific TSCH includes 2018-10-10 16:52:33 +02:00
zoul Fix the .upload target 2018-10-23 17:47:31 +01:00