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

209 Commits

Author SHA1 Message Date
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
d2a02ea582 Merge pull request #3985 from authmillenon/gnrc_pktbuf_static/fix/stats
gnrc_pktbuf_static: fix order of calling
2015-09-30 11:21:40 +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
Martine Lenders
f413e9b413 Merge pull request #3987 from authmillenon/gnrc_ipv6_nc/fix/undef-iface
gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal
2015-09-29 18:29:35 +02:00
Cenk Gündoğan
6dce4e2069 Merge pull request #3983 from gebart/pr/rpl-debug-fix
rpl: Remove unused variable when building with ENABLE_DEBUG=1
2015-09-29 18:03:22 +02:00
Martine Lenders
7861434e34 gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal 2015-09-29 16:13:47 +02:00
Martine Lenders
e20451edd8 gnrc_pktbuf_static: fix order of calling 2015-09-29 15:27:49 +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
Martine Lenders
5291f3b2bd gnrc_ipv6_whitelist: initial import 2015-09-28 16:59:53 +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
Oleg Hahm
775a85565b Merge pull request #3976 from OlegHahm/6lowpan_unused_variable_fix
6lowpan: eliminate unused compiler warning
2015-09-27 21:01:06 +02:00
Oleg Hahm
57888f99a7 6lowpan: eliminate unused compiler warning
Fixes the bug that was introduced in b1ae07ca82 where the wrong datagram size was used.
2015-09-27 20:25:56 +02:00
Oleg Hahm
71fd517aba Merge pull request #3972 from authmillenon/gnrc_ipv6/fix/multi-iface-dup
gnrc_ipv6: fix multi-interface packet duplication
2015-09-26 18:51:42 +02:00
Martine Lenders
a19b0d8262 gnrc_ipv6: fix multi-interface packet duplication 2015-09-26 06:09:54 +02:00
Martine Lenders
f334a9aa1b gnrc_ipv6: remove unnecessary parameter to _send_multicast_over_iface 2015-09-26 06:09:37 +02:00
DipSwitch
9b726fe217 6low_frag: Fix RSSI, LQI and flags dropping in fragmentation reassembly 2015-09-26 01:06:02 +02:00
Oleg Hahm
b1ae07ca82 6lowpan: replace duplicate function call
datagram_size is already set to the value returned by gnrc_pkt_len(), no need to call it again.
2015-09-25 22:42:28 +02:00
Martine Lenders
893008f1e2 gnrc_ndp_internal: fix variable scope 2015-09-25 10:53:13 +02:00
Martine Lenders
217f8a26d8 gnrc_ndp_internal: fix coding style 2015-09-25 10:52:51 +02:00
Martine Lenders
39ade25511 gnrc_ndp_internal: prevent non-terminating loop 2015-09-25 10:51:01 +02:00
Martine Lenders
8621407f00 GNRC 6LR: don't include PIOs for other interface's prefixes 2015-09-25 01:11:53 +02:00
Martine Lenders
884f2c768a Merge pull request #3964 from authmillenon/gnrc_ndp/fix/ltime-0
gnrc_ndp: lifetimes might be 0 in RA options
2015-09-25 01:02:30 +02:00
Martine Lenders
16151b06f7 gnrc_ndp: lifetimes might be 0 in RA options 2015-09-25 00:07:51 +02:00
Martine Lenders
7bbb5d62b0 6lowpan IPHC: set dest context to DCI field not SCI 2015-09-24 23:21:15 +02:00
Martine Lenders
225dcaaf34 gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED 2015-09-24 21:21:25 +02:00
Oleg Hahm
cc0101472e 6lowpan: do garbage collect unreachable NCEs
RFC6775 says "if NUD on the router determines that the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE SHOULD NOT be deleted but rather retained until the Registration Lifetime expires." Since this is a "SHOULD NOT" and not a "MUST NOT", we can still remove these NCEs to circumvent NCEs going into UNREACHABLE and never leave this state again. Actually removing these entries from the cache seems also be the better choice for memory constraint device.
2015-09-24 17:33:38 +02:00
Oleg Hahm
63fda9e900 6lowpan: remove tentative flag for local addresses
There's no real need for this flag, but it causes problem during address registration.
2015-09-24 13:33:10 +02:00
Oleg Hahm
c5b1156909 IPv6 nd: missing parameter for debug function 2015-09-24 13:17:21 +02:00
Oleg Hahm
bb287ae7e8 6lowpan netif: set prefixes for 6LBR first
By adding a newly added prefix first, it is assured that the following router advertisement will already disseminate it via the PIO.
2015-09-24 13:15:38 +02:00
Martine Lenders
5e2b4b6b23 Merge pull request #3951 from OlegHahm/6lowpan_nd_pio_fixes
6lowpan nd: PIO fixes
2015-09-24 02:52:45 +02:00
Martine Lenders
109b2ab522 Merge pull request #3950 from authmillenon/gnrc_sixlowpan_iphc/fix/set-mcast-ctx
gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp
2015-09-24 02:33:16 +02:00
Oleg Hahm
fee9ad77cb ipv6: init addresses w/ infinite validity time 2015-09-24 02:27:42 +02:00
Oleg Hahm
9b7b1bae37 6lowpan: prefixes are initially all null pointers
Since the prefixes list stores pointers, one need to check for null pointers first.
2015-09-24 02:27:42 +02:00
Oleg Hahm
ba023aecb8 6lowpan nd: use correct upper limit for iterating
While iterating over the prefixes the wrong upper limit was used for the for loop.
2015-09-24 02:27:42 +02:00
Martine Lenders
3c69d7bec3 Merge pull request #3949 from OlegHahm/iphc_set_DAC
6lowpan IPHC: set stateful compression mode f. dst
2015-09-24 02:25:48 +02:00
Martine Lenders
1372b9b779 gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp 2015-09-24 02:15:35 +02:00
Oleg Hahm
e9d6eb8170 6lowpan IPHC: set stateful compression mode f. dst
For destionation addresses the stateful compression mode bit wasn't set.
2015-09-24 02:15:21 +02:00
Oleg Hahm
0cc4f57fc0 6lowpan: do not send NAs for new MC addresses 2015-09-24 00:03:06 +02:00
Martine Lenders
771e7f40cd gnrc_ipv6_netif: a RA source MUST be link-local 2015-09-23 18:34:47 +02:00
Oleg Hahm
30885a2a2d pktbuf: correct size for printing chunk dumps 2015-09-23 16:44:45 +02:00
Martine Lenders
e06e85d65c gnrc_slip: reorder received packet correctly 2015-09-23 16:14:33 +02:00
Oleg Hahm
830bf36061 Merge pull request #3928 from authmillenon/gnrc_sixlowpan_nd/fix/opt-check
gnrc_sixlowpan_nd: fix 6ctx option check
2015-09-23 01:47:43 +02:00
Oleg Hahm
171fb8e65c IPv6 nc: missing debug parameter 2015-09-22 21:55:29 +02:00
Martine Lenders
67786b4a8b Merge pull request #3936 from authmillenon/gnrc_ndp_node/fix/link-local-always-on-link
gnrc_ndp_node: always assume link-local dst to be on-link
2015-09-22 21:25:57 +02:00
Martine Lenders
5d7501677f gnrc_ipv6: iface might be from input on next hop determination 2015-09-22 20:43:29 +02:00
Martine Lenders
2a61ac936a gnrc_ndp_node: always assume link-local dst to be on-link 2015-09-22 19:49:48 +02:00
Oleg Hahm
d1bd2ae0a3 Merge pull request #3931 from OlegHahm/6lbr_pick_right_next_hop
6lowpan: IPv6 next hop shouldn't supersede 6lo
2015-09-22 18:48:42 +02:00
Martine Lenders
4419a0a441 Merge pull request #3932 from cgundogan/pr/rpl/linklocal
rpl: fix src addr of outgoing control messages
2015-09-22 17:17:41 +02:00
Cenk Gündoğan
cb152c1455 rpl: fix src addr of outgoing control messages 2015-09-22 16:26:43 +02:00
Martine Lenders
8df17de95b Merge pull request #3925 from authmillenon/gnrc_pktbuf_static/fix/short_snip
gnrc_pktbuf_static: fix marking of pktsnips with short payload
2015-09-22 16:20:22 +02:00