Commit Graph

24 Commits

Author SHA1 Message Date
Simon Duquennoy
3e91b32182
Merge branch 'develop' into contrib/default-prefix-as-variable 2019-02-19 08:57:01 +01:00
Atis Elsts
87acf4a645 23-rpl-tsch-z1.csc - remove one node that does not like to be routed 2019-02-18 18:50:33 +02:00
Simon Duquennoy
2611d979fa
Merge branch 'develop' into contrib/default-prefix-as-variable 2019-02-18 15:22:53 +01:00
Atis Elsts
4d0ca686f2 Add back some regression tests for the Z1 platform 2019-01-14 14:55:34 +00:00
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
carlosgp143@gmail.com
2049ce09ed Changed return from int to bool 2018-05-31 10:13:21 +02:00
carlosgp143@gmail.com
5a9f61653c Added tests in singly-linked list 2018-05-31 08:54:23 +02:00
Simon Duquennoy
d59db9a94d Examples: consistently use PROJECT_CONF_H 2018-04-20 06:46:02 -07:00
George Oikonomou
58261ad53e Delete trailing whitespaces (tests/) 2018-04-07 14:49:19 +01:00
Simon Duquennoy
fe7ded0762 Routing API: add function node_has_joined 2018-02-02 08:51:29 -08:00
Simon Duquennoy
123105ab20 Move source routing state management from RPL Lite and RPL Classic to uip. 2018-02-02 08:51:29 -08:00
Simon Duquennoy
f8ddf8c816 Added missing includes for modules that rely on RPL 2018-02-02 08:51:29 -08:00
Simon Duquennoy
bc73bb3284 Added root_start to routing driver 2018-02-02 08:47:46 -08:00
Simon Duquennoy
14ccd337c9 rpl_dag_root module simplification 2018-02-02 08:47:21 -08:00
Simon Duquennoy
871ee1e34f Added routing module with only routing.h, now included wherever RPL is used 2018-02-02 08:45:02 -08:00
Simon Duquennoy
0a4b072973 Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
Simon Duquennoy
151f2e0b73 CI: remove obsolte sky-slip-radio test 2018-01-27 13:26:24 -08:00
George Oikonomou
3aca0cf9f6 Add lists to the data structure unit tests 2017-12-22 16:42:55 +02:00
George Oikonomou
bf44dbe62e Add unit tests for the data structure libraries 2017-12-13 16:38:50 +00:00
Atis Elsts
7233dfbbdd Add a regression test for the stack check library 2017-12-01 13:35:06 +00:00
Simon Duquennoy
f972c1b48e CI: cleanup 07-simulation-base 2017-11-23 06:53:24 -08:00
Simon Duquennoy
0422b10f26 CI: prallelize make in .csc files 2017-11-23 06:53:24 -08:00
Simon Duquennoy
040edc0b83 CI: merge simulation-base with ipv6 2017-11-23 06:53:24 -08:00
Simon Duquennoy
97453edfb9 CI: merge base with nullnet 2017-11-23 06:53:24 -08:00