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

465 Commits

Author SHA1 Message Date
BytesGalore
6c57582107 fib: initial source route support 2015-10-27 20:20:18 +01:00
Cenk Gündoğan
c5acf0227d ipv6/addr: initialize iid part of an ipv6 address 2015-10-26 16:54:45 +01:00
Cenk Gündoğan
7ecd6d4a8a fib: reduce scope of global vars to the scope of fib_table_t 2015-10-19 10:26:41 +02:00
Cenk Gündoğan
93d0c9a273 fib: fix doc 2015-10-18 21:41:42 +02:00
5a485c3f73 sys: net: fib: switch to xtimer 2015-09-16 10:58:56 +02:00
Martine Lenders
85c1c17090 ipv6_addr: make IPv4 compatible addresses optional 2015-09-11 20:03:46 +02:00
Martine Lenders
db56507ff9 ipv4_addr: initial import 2015-09-11 16:32:36 +02:00
Oleg Hahm
751c7438dc fib: use memset for (de)initialization 2015-09-01 11:10:00 +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
Oleg Hahm
4267212502 fib: allow for multiple instances of FIB 2015-08-20 15:47:27 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
618a765bdc ndp: move type definitions out of ng_ context 2015-08-18 19:01:29 +02:00
Oleg Hahm
147bf75d5b Merge pull request #3599 from authmillenon/icmpv6/api/take-hdrs-out
icmpv6: put message definitions in their own files
2015-08-18 18:17:28 +02:00
Martine Lenders
89009ae2f1 icmpv6: put message definitions in their own files 2015-08-18 17:30:23 +02:00
Martine Lenders
93031c9b60 sixlowpan: move non-GNRC stuff to its own module 2015-08-18 17:03:47 +02:00
Martine Lenders
87c222d2fa Merge pull request #3595 from authmillenon/gnrc/api/mv
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Oleg Hahm
e3edf34527 Merge pull request #3050 from cgundogan/ng_rpl_fib
ng_rpl: port to the new network stack
2015-08-18 16:48:29 +02:00
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +02:00
Oleg Hahm
72334c2847 sixlowpan: IPHC assertion
Just to tranquilize clang analyzer
2015-08-18 16:08:09 +02:00
Cenk Gündoğan
7f6966aacc ng_rpl: RPL for the gnrc network stack 2015-08-18 12:03:28 +02:00
Oleg Hahm
b68213a410 Merge pull request #3561 from OlegHahm/ipv6_source_candidate_set
IPv6: implement source address candidate selection
2015-08-18 01:17:38 +02:00
Oleg Hahm
04d77bd3f2 IPv6: implement source address selection
see http://tools.ietf.org/html/rfc6724#section-4 and
http://tools.ietf.org/html/rfc6724#section-5
2015-08-17 23:10:55 +02:00
Martine Lenders
1129f56741 ng_sixlowpan: fix #3588 2015-08-17 14:43:48 +02:00
Martine Lenders
2903667494 tests: adapt unittests for ipv6_hdr module division 2015-08-14 17:18:37 +02:00
Martine Lenders
4f650b31f9 ipv6: move non-GNRC types and functions in their own modules 2015-08-14 17:18:35 +02:00
Martine Lenders
9f3cef5f6a gnrc_ipv6: return receive after forwarding 2015-08-14 14:19:31 +02:00
Martine Lenders
b82f11be81 gnrc_ndp: only lookup non-link-local addresses in FIB 2015-08-14 14:19:31 +02:00
Martine Lenders
2206e877e8 gnrc_ndp: assume anything in neighbor cache to be on-link 2015-08-13 20:44:38 +02:00
Martine Lenders
7d44d00379 gnrc_ndp: don't use FIB as destination cache for now 2015-08-13 20:44:07 +02:00
Oleg Hahm
6663679a8c ndp: missing initialization 2015-08-12 16:09:30 +02:00
Martine Lenders
203561e741 ipv6_addr: remove ng_ prefix 2015-08-11 13:27:07 +02:00
Martine Lenders
4e5fa612c1 ng_ndp: prepare for parallel NDP implementations 2015-08-11 02:49:18 +02:00
Hauke Petersen
85fe67e629 net/fib: removed all ng prefixes from fib 2015-08-10 15:43:55 +02:00
Oleg Hahm
9e5d717466 ipv6: fix and improve check for global address
* embedded IPv4 addresses are considered as global
* remove check for multicast
* consolidate loopback and unspecified check
2015-08-09 20:22:21 +02:00
Cenk Gündoğan
1168b1020d ng_fib: pretty print ipv6 addresses 2015-08-08 08:17:39 +02:00
Martine Lenders
9607ade1a1 Merge pull request #3582 from authmillenon/ieee802154/api/mv
ieee802154: remove ng_ prefix
2015-08-07 17:42:02 +02:00
Martine Lenders
5c03268516 inet_csum: remove ng_ prefix 2015-08-07 16:59:13 +02:00
Martine Lenders
e8d5d5576a gnrc: piggy-back some code style changes 2015-08-07 16:53:05 +02:00
Martine Lenders
b7545365df protnum: remove ng_ prefix 2015-08-07 16:02:09 +02:00
Martine Lenders
9cf5e5fb6a ieee802154: remove ng_ prefix 2015-08-07 14:36:04 +02:00
Oleg Hahm
1373795ec5 Merge pull request #3575 from OlegHahm/ipv6_more_address_types
Ipv6: more address types
2015-08-07 09:22:50 +02:00
Oleg Hahm
7845110369 ipv6: added checks for more address types
Added checks for:
* Global Unicast Addresses
* IPv6 Addresses with Embedded IPv4 Addresses
  * IPv4-Compatible IPv6 Address
  * IPv4-Mapped IPv6 Address
* Site-Local IPv6 Unicast Addresses
2015-08-07 08:15:05 +02:00
Martine Lenders
73a42314a5 Merge pull request #3576 from haukepetersen/mv_netopt
net: remove ng_ from netopt header
2015-08-07 07:17:42 +02:00
Oleg Hahm
edfd8012ed ipv6: removed null-pointer reference in debug 2015-08-06 16:48:17 +02:00
Hauke Petersen
38956457a1 sys: adapted to renamed netopt header 2015-08-06 15:37:11 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Cenk Gündoğan
71e57aa5bf ng_ipv6: minor debug output fix 2015-08-05 14:17:25 +02:00
Joakim Gebart
e6a1366bec ng_sixlowpan: Fix typo in preprocessor condition for calling pktbuf statistics 2015-08-04 17:25:21 +02:00
Oleg Hahm
2795d51d90 Merge pull request #3058 from cgundogan/universal_address_fib_split
sys/universal_address: separate universal_address from fib
2015-08-03 10:42:59 +02:00
Peter Kietzmann
ecf0f96ce4 Merge pull request #3519 from authmillenon/ng_sixlowpan_frag/bug/preempt-frag-sending
ng_sixlowpan_frag: preempt fragmentation
2015-08-03 08:32:41 +02:00
Martine Lenders
5174f75bc2 ng_ipv6_netif: find source addresses for destinations from other subnets 2015-07-31 00:11:02 +02:00
BytesGalore
f04c912493 fib: changed misleading parameter name and documentation 2015-07-30 19:10:04 +02:00
Cenk Gündoğan
ea5e371383 sys/universal_address: separate universal_address from fib 2015-07-30 18:34:48 +02:00
Cenk Gündoğan
56170819d9 ng_fib: fix fib_print_address typo 2015-07-30 12:31:44 +02:00
Martine Lenders
611e7f9335 ng_sixlowpan_frag: preempt fragmentation 2015-07-29 13:53:47 +02:00
Martine Lenders
3d9945667f Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default
ng_pktbuf: new default packet buffer implementation
2015-07-29 02:08:46 +02:00
Martine Lenders
810654e178 ng_sixlowpan: fix the kaputt-reviewed fixes 2015-07-29 00:50:22 +02:00
Martine Lenders
377f5ccbee gnrc: replace ng_pktbuf_add() with ng_pktbuf_mark() where it's needed 2015-07-29 00:47:30 +02:00
Martine Lenders
cc298d8dd2 ng_sixlowpan: DEBUG fixes 2015-07-28 22:07:02 +02:00
Martine Lenders
c6fb2618c4 ng_{sixlowpan|ipv6}_netif: don't create ng_sixlowpan_netif_ts adhoc 2015-07-28 22:07:02 +02:00
Martine Lenders
dc2113d67a ng_sixlowpan_frag: fixes 2015-07-28 22:07:02 +02:00
Oleg Hahm
03b7c7349a Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
6f56b983f0 gnrc: replace all instances of ng_netconf with ng_netopt 2015-07-28 13:33:12 +02:00
Martine Lenders
a583482c06 Merge pull request #3498 from authmillenon/ng_ipv6/fix/write-protect
ng_ipv6: fix write protect
2015-07-28 09:57:48 +02:00
Martine Lenders
26458336a8 ng_ipv6: fix write protect 2015-07-28 09:42:27 +02:00
Martine Lenders
f29f3ab97d ng_ipv6: piggy-back some astyle-fixes 2015-07-27 00:58:58 +02:00
Martine Lenders
f4989cc002 ng_ipv6: use ng_netapi_dispatch_send to dispatch to 6LoWPAN 2015-07-27 00:58:21 +02:00
Oleg Hahm
2e05b1a5b3 ng_ndp: passing integer instead of pointer to fib
c1e20c5156 broke it.
2015-07-23 09:54:48 +02:00
Oleg Hahm
c1e20c5156 ndp: pass size to fib_get_next_hop as a pointer 2015-07-22 20:19:13 +02:00
Oleg Hahm
ebcd07f6aa sixlowpan: suppress clang-analyzer report 2015-07-22 15:56:56 +02:00
Oleg Hahm
d4a0b3f5bd gnrc: add some assertions 2015-07-22 15:56:52 +02:00
Oleg Hahm
7c24c4a73b Merge pull request #3464 from gebart/pr/iphc-payload-length
sys/net/network_layer/ng_sixlowpan/iphc: Set IPv6 header length after decoding
2015-07-21 09:46:25 +02:00
Joakim Gebart
0693aeb19d sys/net/network_layer/fib: Remove unnecessary check for pointer validity to static array 2015-07-21 05:31:12 +02:00
Joakim Gebart
cde4393557 sys/net/network_layer/ng_ndp: Remove redundant parentheses 2015-07-21 05:31:12 +02:00
Joakim Gebart
f52b9ae972 sys/net/network_layer/ng_sixlowpan/iphc: Set IPv6 header length after decoding. 2015-07-21 05:15:28 +02:00
Lotte Steenbrink
b63625679b fib: check dst and next_hop for invalid pointers 2015-07-19 10:05:20 -07:00
Joakim Gebart
f15a5391b6 sys/net/network_layer/ng_sixlowpan/iphc: compile error fix for EUI64 initializer. 2015-07-20 12:35:03 +02:00
Joakim Gebart
b04db5409a sys/net/network_layer/ng_sixlowpan/iphc: Correct 8 bit multicast decoding 2015-07-20 12:35:02 +02:00
Oleg Hahm
717a4c8152 Merge pull request #3143 from authmillenon/ng_sixlowpan_ctx/api/comp-flag
ng_sixlowpan_ctx: add compression flag support
2015-07-17 08:23:05 +02:00
Martine Lenders
a808834fc1 ng_sixlowpan_iphc: adapt for compression flag in ng_sixlowpan_ctx 2015-07-17 07:59:16 +02:00
Martine Lenders
dd6ea99fd4 ng_sixlowpan_ctx: add compression flag support
The compression flag allows a context to be invalidated for compression,
but still be valid for decompression. This is needed for context
dissimination in a LoWPAN.
2015-07-17 07:59:15 +02:00
Lotte Steenbrink
3b020a4dcc fib: add newlines to DEBUG output. 2015-07-16 10:36:12 -07:00
Hauke Petersen
e530a79516 Merge pull request #3431 from BytesGalore/fib_fix_signal_rp
fib: fixed wrong passed destination address size and return value
2015-07-16 18:51:18 +02:00
BytesGalore
0d5080fa49 fib: fixed wrong passed destination address size 2015-07-16 15:50:35 +02:00
BytesGalore
d97694f106 fib: repaired prefix/default gateway determination and added two according unittests 2015-07-16 13:46:36 +02:00
Martine Lenders
ae7701e0ef Merge pull request #3424 from authmillenon/ng_sixlowpan_iphc/fix/null_iphc2
ng_sixlowpan_iphc: null correct byte for IPHC2 dispatch
2015-07-15 23:21:46 +02:00
Martine Lenders
36655a82d7 ng_sixlowpan_iphc: null correct byte for IPHC2 dispatch 2015-07-15 22:49:25 +02:00
Joakim Gebart
487169f3cd sys/net/network_layer/ng_sixlowpan/iphc: Encode 48 bit multicast addresses properly
Fixes a copy+paste mistake.
2015-07-15 22:00:09 +02:00
Martine Lenders
e324178a12 ng_sixlowpan: fix IPHC dispatch check 2015-07-15 13:05:38 +02:00
Joakim Gebart
d74a982314 Merge pull request #3401 from gebart/pr/sixlowpan-ip-get-best-src-dont-filter-ula
sys/net/network_layer/sixlowpan/ip.c: Allow unique local unicast addresses to be selected as the best source address
2015-07-15 08:19:42 +02:00
Joakim Gebart
9a0a5e8816 sys/net/network_layer/sixlowpan/ip.c: Allow unique local unicast addresses to be selected as the best source address
It makes no sense preferring ::1 over any unique local address when communicating with other nodes.
2015-07-14 19:31:21 +02:00
Martine Lenders
6f85433fa8 ng_ndp: fix _get_l2src 2015-07-14 16:30:31 +02:00
Martine Lenders
fba8cd9f49 Merge pull request #3386 from authmillenon/ng_ndp/enh/debug-output
ng_ndp: enhance debug output
2015-07-14 15:55:09 +02:00
Martine Lenders
c14587f829 Merge pull request #3183 from authmillenon/ng_ipv6/enh/loopback
ng_ipv6: add loopback support
2015-07-14 15:11:02 +02:00
Martine Lenders
ac0a0a95a2 ng_ndp: enhance debug output 2015-07-14 15:06:40 +02:00
Martine Lenders
c7d3992eea ng_ipv6: add loopback support 2015-07-14 13:33:26 +02:00
Peter Kietzmann
f6f112ab18 Merge pull request #3388 from authmillenon/ng_ipv6_netif/enh/use-long
ng_ipv6_netif: use EUI-64 as base for 6LoWPAN IPv6 addresses
2015-07-14 09:30:45 +02:00
Joakim Gebart
4562f6b824 sys/net/sixlowpan: Add ul suffix to constants to fix warnings on msp430 2015-07-14 08:11:15 +02:00
Martine Lenders
618df44837 ng_ipv6_netif: use EUI-64 as base for 6LoWPAN IPv6 addresses
[RFC 6775](https://tools.ietf.org/html/rfc6775#section-1.3) suggests
strongly to use the EUI-64 as basis for the IPv6 addresses, since
otherwise duplicate address detection and some measures to give new
addresses (in case of duplicate) e.g. DHCPv6 needs to be in place.
2015-07-14 02:01:46 +02:00
Martine Lenders
2f71cadd99 ng_ndp: only check NS retransmission in correct state 2015-07-13 18:41:45 +02:00