nes-proj/tests/14-rpl-lite
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
..
code Change the way of accessing the default v6 prefix 2018-11-11 18:30:54 +00:00
01-rpl-up-route.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
03-rpl-28-hours.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
05-rpl-up-and-down-routes.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
06-rpl-temporary-root-loss.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
07-rpl-random-rearrangement.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
08-rpl-dao-route-loss-0.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
08-rpl-dao-route-loss-1.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
08-rpl-dao-route-loss-2.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
08-rpl-dao-route-loss-3.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
08-rpl-dao-route-loss-4.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
08-rpl-dao-route-loss-5.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
09-rpl-probing.csc Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
Makefile Renamed regression-tests to tests in preparation for the addition of other types of tests. 2017-09-01 17:22:10 +02:00