4dba9ee6ba
sys: net: adapt to compile-checked debug messages
2018-01-15 14:37:04 +01:00
Martine Lenders
2ae30cf582
gnrc_netif: rename IPv6 address "setters"
...
This renames the following functions
* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`
by appending the suffix `_internal`.
\## Reasoning
I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.
\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.
```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Martine Lenders
63cc5f6751
gnrc_rpl: fix corner cases in sec/ms conversion in prefix lifetimes
...
Two edge cases were previously missed:
1. Infinite should stay infinite. Prefixes with infinite lifetimes
should be advertised as such. Likewise, should prefixes with
infinite lifetimes be added to the prefix list as such
2. Prefixes with lifetimes > (UINT32_MAX - 1) / 1000 should have the
longest possible lifetime below infinite (UINT32_MAX - 1)
This fixes that.
2017-11-24 13:45:26 +01:00
Martine Lenders
423fc74bd2
gnrc_rpl: fix check if DODAG-ID is on interface
2017-11-24 00:20:32 +01:00
Martine Lenders
279e19fe8a
gnrc_rpl: properly handle prefix list
2017-11-23 22:56:55 +01:00
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
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
Cenk Gündoğan
04d89d3381
rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
BytesGalore
da38b77ba4
rpl: drop DAO-ACK when received on multicast
2017-05-30 18:05:00 +02:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01: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
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
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
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
Cenk Gündoğan
b5c09bfc41
rpl: introducing p2p-rpl
2016-03-24 12:12:07 +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
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
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
fc75ff9b29
gnrc_rpl: minor fixes and enhancements
2016-03-22 16:50:16 +01: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
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
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
test
37709d27e5
rpl: directly iterate through fib entries for DAO
2015-11-17 18:48:30 +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
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
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
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
d18834a941
rpl: use memset before using prefix
2015-09-10 20:43:09 +02:00