nes-proj/os/services
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
..
at-master Moving at-master to os/services 2017-09-01 16:12:57 +02:00
deployment Fix copyright headers 2018-06-06 15:38:26 +02:00
ip64 Simplify uip.h definitions 2018-10-18 20:26:12 +02:00
ipso-objects Fix get_temp_value for lwm2m-ipso-object example 2018-08-29 20:30:13 -07:00
lwm2m missing header inttypes.h 2018-09-21 10:15:43 +02:00
orchestra TSCH: rework .h system, now following the same structure as rpl-lite 2018-03-28 10:39:41 -07:00
rpl-border-router Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +01:00
shell Change the way of accessing the default v6 prefix 2018-11-11 18:30:54 +00:00
simple-energest Added simple-energest 2018-05-23 12:37:51 -07:00
slip-cmd fixed slip-radio config, added shell to NBR and added parsing to no-framer 2018-01-26 22:59:48 +01:00
tsch-cs add TSCH channel selection service 2018-09-27 16:00:36 +01:00
unit-test Remove obsolete flag AUTOSTART_ENABLE, as well as .co and .ce files 2017-12-22 05:21:39 -08:00