1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

208 Commits

Author SHA1 Message Date
Cenk Gündoğan
50aff7fca0 rpl: unify requested option flags into one byte 2016-02-03 07:13:24 +01:00
Yonezawa-T2
eaf2153681 gnrc_rpl_control_messages: propagete prefix route via DAO message 2016-01-21 11:11:38 +09:00
Cenk Gündoğan
7269cdbf03 rpl: fix netapi commands handling 2016-01-11 18:30:29 +01:00
Yonezawa-T2
542e045bba gnrc_ipv6_netif: fixed crash when ENABLE_DEBUG is 1.
When ENABLE_DEBUG is 1, `out` is dereferenced unconditionally, but
`_parse_options` in `gnrc_rpl_control_messages.c` calls it with NULL.

Clarified `out` must not NULL and fixed `_parse_options`.
2016-01-07 10:08:37 +09:00
Hauke Petersen
41979b64cd sys: adapted to renamed THREAD FLAGS 2015-12-07 22:09:47 +01:00
BytesGalore
3e7753bff4 Merge pull request #4298 from cgundogan/pr/rpl/dao_timer_reuse
rpl: reuse timer for periodic daos
2015-11-23 07:49:19 +01:00
BytesGalore
ad7b0f0685 Merge pull request #4296 from cgundogan/pr/rpl/dao_refactoring
rpl: directly iterate fib entries for DAO and mark external routes
2015-11-23 07:20:51 +01:00
test
1f2c674026 rpl: reuse timer for periodic daos 2015-11-20 10:06:07 +01:00
test
bbe1b6f125 rpl: reuse xtimer for cleanup 2015-11-17 19:00:18 +01:00
test
37709d27e5 rpl: directly iterate through fib entries for DAO 2015-11-17 18:48:30 +01:00
BytesGalore
3153389e49 Merge pull request #4241 from cgundogan/pr/rpl/parent_lifetime_32
rpl: use uint32_t for the parent lifetime
2015-11-09 21:17:16 +01:00
Cenk Gündoğan
bf5e9b4351 rpl: use uint32_t for the parent lifetime 2015-11-09 20:28:31 +01:00
Cenk Gündoğan
b1f2f22898 rpl: uint32_t is sufficient for the DAO timer 2015-11-09 17:25:05 +01:00
Cenk Gündoğan
be7a34b1b8 Merge pull request #3157 from BytesGalore/fib_host_prefix_flags
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 16:38:55 +01:00
BytesGalore
523d1f87ca net/fib: Added network prefix flag to indicate a network destination 2015-11-02 15:57:39 +01:00
Cenk Gündoğan
263c8feb20 rpl: release pkt in send_dao 2015-11-01 20:51:09 +01:00
Cenk Gündoğan
a2716fa1b1 rpl: refactor send_dio to use pktbuf properly 2015-11-01 20:50:00 +01:00
Cenk Gündoğan
78d5c1c6e5 rpl: check if dodag id is global or unique local 2015-10-29 13:11:26 +01:00
Cenk Gündoğan
d64fdbba3a rpl: refactoring of instances and dodags 2015-10-21 18:02:16 +02:00
Cenk Gündoğan
4412c3806b rpl: refactor dao sending to use appropriate pktbuf functions 2015-10-20 12:08:15 +02:00
Cenk Gündoğan
298e0651ca rpl: use FIB_FLAG_RPL_ROUTE and inspect ext-flag of transit option 2015-10-18 21:16:31 +02:00
Cenk Gündoğan
dbe64987e1 Merge pull request #3688 from cgundogan/pr/rpl/leaf_node_operation
rpl: leaf/router node operation
2015-10-09 14:14:28 +02:00
Cenk Gündoğan
5d6ed7379d Merge pull request #3720 from cgundogan/pr/rpl/instance_id_generation
rpl: instance id generation
2015-10-08 16:39:55 +02:00
Cenk Gündoğan
a689867031 rpl: leaf node operation 2015-10-05 11:34:39 +02:00
Cenk Gündoğan
39da27915e rpl: use GNRC_IPV6_FIB_TABLE_SIZE to query for fib entries 2015-09-30 18:21:14 +02:00
Cenk Gündoğan
3f238980f7 rpl: incremental instance id generation 2015-09-29 19:34:59 +02:00
Cenk Gündoğan
f14ab00658 Merge pull request #3719 from cgundogan/pr/rpl/dodag_conf_prefix_info_request
rpl: make dodag_conf and prefix_info options requestable
2015-09-29 18:44:55 +02:00
Joakim Nohlgård
b85ae4eeb3 rpl: Remove unused variable when building with ENABLE_DEBUG=1
Fixes
    /data/riotbuild/riotbase/sys/net/gnrc/routing/rpl/gnrc_rpl.c:28:13: error: 'addr_str' defined but not used [-Werror=unused-variable]
     static char addr_str[IPV6_ADDR_MAX_STR_LEN];
                  ^
when building with #define ENABLE_DEBUG (1)
2015-09-29 13:20:58 +02:00
Cenk Gündoğan
f4660e8ff5 rpl: request DODAG_CONF and PREFIX_INFO option from parent when joining a DODAG 2015-09-28 09:23:37 +02:00
Cenk Gündoğan
cb152c1455 rpl: fix src addr of outgoing control messages 2015-09-22 16:26:43 +02:00
Cenk Gündoğan
3609dce47d sc_gnrc_rpl: adjust rpl shell for xtimer usage 2015-09-16 10:58:56 +02:00
Cenk Gündoğan
50392b6256 rpl: switch to xtimer 2015-09-16 10:58:56 +02:00
Cenk Gündoğan
d18834a941 rpl: use memset before using prefix 2015-09-10 20:43:09 +02:00
DipSwitch
36d60d0c4b rpl: Use PadN instead of 4 Pad1 options in DIS 2015-09-08 09:26:48 +02:00
Oleg Hahm
b514eeab04 Merge pull request #3706 from OlegHahm/fib_size_parameter
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
86cabbd102 fib: add data struct for meta information
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Cenk Gündoğan
eff4653d44 rpl: options validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
ec3274994f rpl: dio validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
6738fd67ba rpl: dis validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
b96e6b508a rpl: dao-ack validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
8bbcb3ba51 rpl: dao validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
050671c235 Merge pull request #3687 from cgundogan/pr/rpl/poisoning_cleanup_timer
rpl: reduce poisoning timer to clean dodags faster
2015-08-29 10:00:57 +02:00
Cenk Gündoğan
2584bc1adf Merge pull request #3679 from cgundogan/pr/rpl/trickle_reset_infinite_dio
rpl: reset trickle if INFINITE_RANK DIO from child recvd
2015-08-29 09:31:18 +02:00
Cenk Gündoğan
b8c0498fb4 rpl: allow 0 as instance id 2015-08-27 14:38:08 +02:00
Cenk Gündoğan
02071ca826 rpl: reset trickle if INFINITE_RANK DIO from child recvd 2015-08-27 08:49:38 +02:00
Cenk Gündoğan
dce62132f6 rpl: reduce poisoning timer to clean dodags faster 2015-08-27 08:12:50 +02:00
BytesGalore
b16b8a9609 Merge pull request #3718 from cgundogan/pr/rpl/make_funcs_global
rpl: make _root_dodag_init and _gnrc_rpl_send global functions
2015-08-26 22:25:23 +02:00
BytesGalore
ebd18f4903 Merge pull request #3678 from cgundogan/pr/rpl/parse_opt_from_pref_parent
rpl: parse DIO and options only for DIOs from pref. parent
2015-08-26 22:22:00 +02:00
Cenk Gündoğan
d57e603b9f rpl: make _root_dodag_init and _gnrc_rpl_send global 2015-08-26 22:09:58 +02:00
Martine Lenders
ac0e2f4371 net: remove redefinitions and their dependencies throughout the stack 2015-08-24 13:13:53 +02:00
Cenk Gündoğan
b604c99155 rpl: rename defines from NG_ to GNRC_ 2015-08-23 18:29:16 +02:00
Cenk Gündoğan
5ee36c6ac4 rpl: minor code cleanup 2015-08-21 13:54:39 +02:00
Cenk Gündoğan
baa57a6fc9 rpl: parse DIO and options only from pref. parent 2015-08-21 13:17:07 +02:00
Oleg Hahm
155b91bd06 Merge pull request #3655 from OlegHahm/fib_multiple_instances
fib: allow for multiple instances of FIB
2015-08-20 16:39:13 +02:00
Oleg Hahm
4267212502 fib: allow for multiple instances of FIB 2015-08-20 15:47:27 +02:00
Cenk Gündoğan
2ae99d9073 rpl: remove superfluous ifdef MODULE_IPV6_ADDR 2015-08-20 08:41:10 +02:00
Cenk Gündoğan
0894343092 rpl: omit dodag id in DAO(-ACK) for global instances 2015-08-20 08:41:10 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00