3979ffcf1b
gnrc_rpl: Exclude routes without next hop from DAO packets
2017-11-23 19:29:07 +01:00
Martine Lenders
ec02458c55
gnrc_rpl: fix abandoned packet bug in transit option build
...
Due to the transit option build function being passed a NULL pointer,
the previous transit and target options are dropped (and never freed).
This fixes #8098 and #8126 .
2017-11-23 18:43:36 +01:00
Cenk Gündoğan
5b5c479043
rpl: replace fib with nib
2017-11-20 00:35:17 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
01c21fa274
tests: make gnrc_ipv6_ext test compilable with gnrc_netif2
...
Test currently not working
2017-11-13 16:36:34 +01:00
Martine Lenders
861035f22d
gnrc: integrate gnrc_netif2
...
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Lucas Jenss
6998ffbb14
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 10:25:20 -07:00
426e978972
rpl: Sort list of parents
2017-08-22 16:03:16 +02:00
BytesGalore
89716729c8
Merge pull request #7161 from cgundogan/pr/trickle_enhancements
...
trickle: enhancements
2017-06-09 09:15:54 +02:00
Cenk Gündoğan
04d89d3381
rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
Cenk Gündoğan
6add982d3f
rpl: send dis near parent timeout
2017-06-08 21:46:06 +02:00
Cenk Gündoğan
3921fc86a7
Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
...
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
BytesGalore
da38b77ba4
rpl: drop DAO-ACK when received on multicast
2017-05-30 18:05:00 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
smlng
41c43fd837
rpl: make parent lifetime consistent with other timers
2017-04-25 20:09:41 +02:00
Martine Lenders
c2c2516a53
gnrc: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
BytesGalore
3ec69a2b2b
rpl: remvove forward declaration
2017-04-11 11:38:06 +02:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Martine Lenders
0016463687
all: fix for new netreg_entry_t structure
2016-10-25 22:17:18 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
Cenk Gündoğan
ad6677b33f
gnrc_rpl: netstats_rpl: introduce statistics
2016-09-27 20:40:04 +02:00
Martine Lenders
9874a6d69a
Merge pull request #5811 from makomi/gnrc
...
sys/net/gnrc: fix cppcheck errors/ warnings
2016-09-05 13:06:04 +02:00
Matthias Kolja Miehl
0e1d749340
sys/net/gnrc: gnrc_rpl_control_messages: fix variableScope
2016-09-05 02:24:05 +02:00
smlng
c1fe8d5d9d
gnrc_rpl: fix prefix length
2016-08-25 16:35:17 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Cenk Gündoğan
0613c8faf4
gnrc_rpl: validation configurable on compile-time
2016-06-01 09:07:55 +02:00
Cenk Gündoğan
25baea1e50
gnrc_rpl: separate validation from msg handling
2016-06-01 09:05:24 +02:00
Cenk Gündoğan
2f9a37a624
gnrc_rpl: move len macros to header file
2016-06-01 09:05:24 +02:00
Cenk Gündoğan
a10151d5f0
Merge pull request #5440 from cgundogan/pr/auto_init/rpl
...
auto_init: initialize gnrc_rpl
2016-06-01 07:59:41 +02:00
Cenk Gündoğan
1b4607ab43
auto_init: initialize gnrc_rpl
2016-05-31 22:13:32 +02:00
Cenk Gündoğan
5c42d430ec
rpl_p2p: rm non-existing fib flag
2016-05-31 11:03:19 +02:00
Martine Lenders
b8787b64c4
Merge pull request #5267 from cgundogan/pr/gnrc_rpl/reduce_scope_now
...
gnrc_rpl: reduce scope of now
2016-04-22 18:23:37 +02:00
Martine Lenders
f86bf8c9cd
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 17:14:27 +02:00
Cenk Gündoğan
6f9d3a15ac
gnrc_rpl: reduce scope of now
2016-04-08 19:55:07 +02:00
Cenk Gündoğan
9dbfdcac0b
Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
...
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
1bc9c3bfd2
fib: changed handling of the net prefix
...
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Yonezawa-T2
35cf255330
rpl: fix compile error in DEBUG
2016-03-30 14:16:06 +09:00
Oleg Hahm
376874284b
Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
...
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Cenk Gündoğan
b5c09bfc41
rpl: introducing p2p-rpl
2016-03-24 12:12:07 +01:00
Martine Lenders
1724ab50fc
Merge pull request #4654 from Yonezawa-T2/fix_ipv6_ext
...
ipv6_ext: fixed extension header handling
2016-03-24 10:53:00 +01:00
Oleg Hahm
a65e6aad59
Merge pull request #5118 from OlegHahm/udp_build_hdr_simplification
...
gnrc: simplify hdr_build functions
2016-03-23 15:31:58 +01:00
Martine Lenders
9a60fb30b7
Merge pull request #5136 from cgundogan/pr/gnrc_rpl/netif_addr
...
gnrc_rpl: add netif_addr to DODAG
2016-03-23 15:27:42 +01:00
Oleg Hahm
991c71cf27
gnrc ipv6: use ipv6_addr_t ptr for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033
gnrc ipv6 hdr: remove len params from hdr_build
2016-03-23 15:20:11 +01:00
Cenk Gündoğan
c0a8ce39ac
Merge pull request #5141 from cgundogan/pr/gnrc_rpl/remove_parent_create_new_fib_entry
...
gnrc_rpl: new default route when old one was deleted
2016-03-23 15:13:53 +01:00
Oleg Hahm
ec78d1308e
Merge pull request #5146 from cgundogan/pr/gnrc_rpl/remove_superfluous_trickle_reset
...
gnrc_rpl: remove superfluous trickle reset
2016-03-23 11:41:39 +01:00
Cenk Gündoğan
eae0e4c724
gnrc_rpl: new default route when old one was deleted
2016-03-23 11:37:33 +01:00
Cenk Gündoğan
b280984862
gnrc_rpl: add netif_addr to DODAG
2016-03-23 10:37:38 +01:00
Cenk Gündoğan
3b9fda6d03
gnrc_rpl: proper interface handling
2016-03-23 10:12:01 +01:00
Cenk Gündoğan
b1249a5db1
gnrc_rpl: remove superfluous trickle reset
2016-03-23 10:06:04 +01:00
Cenk Gündoğan
fc75ff9b29
gnrc_rpl: minor fixes and enhancements
2016-03-22 16:50:16 +01:00
Yonezawa-T2
bc5b0c3140
ipv6_ext: fixed extension header handling
2016-03-22 12:45:08 +09:00
Cenk Gündoğan
39255ee8f8
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-16 14:31:49 +01:00
Cenk Gündoğan
b15c1a2bd1
gnrc_rpl: rename req_opts to dio_opts
2016-03-16 14:16:15 +01:00
Ludwig Knüpfer
e58786385e
Merge pull request #5022 from cgundogan/pr/rpl/do_not_use_PRIu8
...
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-11 19:08:02 +01:00
Cenk Gündoğan
57210f6e17
gnrc_rpl: use global ipv6_addr_unspecified
2016-03-11 01:01:52 +01:00
Cenk Gündoğan
1226941be6
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-10 22:51:12 +01:00
Cenk Gündoğan
0ac4ee705c
ipv6: rpl: add source routing header for RPL
2016-02-27 20:39:12 +01:00
Martine Lenders
a66ce9c3eb
Merge pull request #4784 from authmillenon/gnrc_pkt/api/search-type-function
...
gnrc_pkt: provide type search function
2016-02-15 13:33:45 +01:00
Martine Lenders
379703ae3a
gnrc: use gnrc_pkt_search_type instead of LL_SEARCH_SCALAR
2016-02-11 01:05:02 +01:00
Cenk Gündoğan
73fac82b58
rpl: shell: don't compile PIO code dependent on CFLAGS
2016-02-03 08:59:51 +01:00
Cenk Gündoğan
2242970cad
rpl: don't change status of PIO transmissions
2016-02-03 07:29:36 +01:00
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