Commit Graph

18 Commits

Author SHA1 Message Date
George Oikonomou 4243836e85
Merge branch 'develop' into contrib/default-prefix-as-variable 2018-11-25 02:43:45 +00:00
Jeppe N. Odgaard e23a1ee118 Use examples/libs/shell instead of modified examples/multicast. Added identical test in tests/14-rpl-lite, but with rpl-lite routing. 2018-11-15 16:38:31 +01: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
Jeppe Odgaard 693e6fdb30 Increased rpl_done, because time to build rpl seems to be faster in Cooja with graphical interface. 2018-10-30 17:05:49 +01:00
Jeppe Odgaard e135bf277e Added test to reproduce issue, and proposed fix in rpl-dag, where dag is only freed if dag_id is different. 2018-10-22 10:37:56 +02:00
Afonso Oliveira f6fff896fc add const qualifier to tests that require it 2018-09-08 01:14:22 +01:00
Simon Duquennoy 177a68db53 CI: added a simulation test for RPL Classic in non-storing mode 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 0422b10f26 CI: prallelize make in .csc files 2017-11-23 06:53:24 -08:00
Simon Duquennoy 7f8ff9d9af Simulation script for tests with random rearrangement: use a random generator that lets us control the seed. Set the seed to the Cooja simulation seed. 2017-11-11 15:28:48 +01:00
Simon Duquennoy 41967732b1 Added MAKE_ROUTING make variable for cleaner routing protocol selection 2017-10-12 08:42:42 +02:00
Simon Duquennoy 20559fd308 Auto-include project-conf.h whenever found 2017-10-07 09:45:38 +02:00
Simon Duquennoy 543408db68 Re-organzie ip stack implementation 2017-09-22 17:09:54 +02:00
Simon Duquennoy 0aa44c3c22 Homogenize NET layer config with MAC 2017-09-22 14:34:20 +02:00
Simon Duquennoy 9f298db63d Rename Travis rpl tests rpl-classic to reflect the new module name 2017-09-17 10:14:37 +02:00