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

2963 Commits

Author SHA1 Message Date
Cenk Gündoğan
a2f4d990c6 sys/universal_address: Makefile cleanup 2015-08-03 11:18:16 +02:00
Cenk Gündoğan
355e60c5ff timex: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
7d2fdc528e ng_zep: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
ee133344bd ng_icmpv6: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
0d73cd301d ng_fib: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
a6f04dd090 cbor: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
0738f67de0 Merge pull request #3017 from BytesGalore/fix_remove_misplaced_usemodule
sys/Makefile: del `USEMODULE`s for `transport_layer` already present in `Makefile.dep`
2015-08-03 10:55:46 +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
Cenk Gündoğan
4a21c54547 sys/trickle: Makefile and include guard cleanup 2015-08-03 10:36:48 +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
4d5d65a718 Merge pull request #3534 from cgundogan/pr/ng_pktbuf_static/minor_style_fix
ng_pktbuf_static: remove unnecessary parens
2015-07-31 19:45:07 +02:00
Martine Lenders
59e15220c2 Merge pull request #3533 from cgundogan/pr/ng_pktbuf_static/enhanced_pktbuf_contains
ng_pktbuf_static: enhance _pktbuf_contains
2015-07-31 19:40:17 +02:00
Cenk Gündoğan
aec0a703c6 ng_pktbuf_static: remove unnecessary parens 2015-07-31 19:14:49 +02:00
Cenk Gündoğan
b475bfd8f0 ng_pktbuf_static: enhance _pktbuf_contains 2015-07-31 18:44:39 +02:00
Cenk Gündoğan
58b672f83d ng_pktbuf: minor doc fixes 2015-07-31 18:26:00 +02:00
Martine Lenders
5174f75bc2 ng_ipv6_netif: find source addresses for destinations from other subnets 2015-07-31 00:11:02 +02:00
Lotte Steenbrink
02f502ddab Merge pull request #3492 from BytesGalore/fib_changed_prefix_size_name
fib: changed misleading parameter name and documentation
2015-07-30 23:31:32 +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
Hauke Petersen
db862f13a1 sys/shell_commands: fixed formatting in Makefile 2015-07-30 15:15:31 +02:00
Cenk Gündoğan
56170819d9 ng_fib: fix fib_print_address typo 2015-07-30 12:31:44 +02:00
Martine Lenders
c699fbaaf0 Merge pull request #3448 from authmillenon/ng_netreg/doc/its-a-trap
ng_netreg: warn about context overwrite
2015-07-29 14:22:19 +02:00
Martine Lenders
611e7f9335 ng_sixlowpan_frag: preempt fragmentation 2015-07-29 13:53:47 +02:00
Martine Lenders
074bb83628 auto_init: make MAC priorities higher than IPv6's
(and equal to 6LoWPAN's)
2015-07-29 13:51:07 +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
386d9f30cc Merge pull request #3516 from authmillenon/ng_sixlowpan/fix/fix-the-dereviewed-fixes
ng_sixlowpan: fix the kaputt-reviewed fixes
2015-07-29 02:04:00 +02:00
Oleg Hahm
60198e494c Merge pull request #3515 from haukepetersen/rm_net_deprecated
net: removed deprecated non-gnrc netapi
2015-07-29 01:07:21 +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
9e823076f4 ng_pktbuf: new default packet buffer implementation 2015-07-29 00:47:30 +02:00
Martine Lenders
41b0a2661a ng_pktbuf: simplify API by extension
This simplifies the `ng_pktbuf` API by adding a new function
`ng_pktbuf_mark()` which takes over some functionality of
`ng_pktbuf_add()`. `size == 0` for `ng_pktbuf_add()` is now illegal.
2015-07-29 00:47:29 +02:00
Martine Lenders
9aff73b4a9 Merge pull request #3514 from authmillenon/shell/fix/icmpv6-stupid
shell: sc_icmpv6_echo: prepare for stupid users
2015-07-28 23:58:27 +02:00
Martine Lenders
952bee6804 Merge pull request #3513 from authmillenon/shell/fix/icmpv6_echo_pktbuf_full
shell: sc_icmpv6_echo: don't fail if packet buffer is full
2015-07-28 23:18:33 +02:00
Hauke Petersen
bce198ebf8 net: removed deprecated non-gnrc netapi 2015-07-28 23:10:21 +02:00
Martine Lenders
ce9b6e1990 shell: sc_icmpv6_echo: prepare for stupid users 2015-07-28 23:05:15 +02:00
Martine Lenders
e9cbadd3cd shell: sc_icmpv6_echo: don't fail if packet buffer is full 2015-07-28 22:35:20 +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
de7dc143b7 ng_netapi: piggy-back cppcheck catch 2015-07-28 13:33:24 +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
6a868d5f4c gnrc: rename ng_netconf to ng_netopt
Since [NETCONF](https://tools.ietf.org/html/rfc4741) is also a network
protocol, the naming of this module already led to some issues regarding
communicating about it. This is just an initial rename commit to ask for
comments. If there is interest I will adapt the code using the types
defined here.
2015-07-28 13:30:17 +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
BytesGalore
a0c891b5db sys/Makefile: removed USEMODULEs for transport_layer already present in Makefile.dep 2015-07-27 14:04:30 +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
Tobias Markmann
f5a991c476 shell: Fix statistic calculation in ping shell command 2015-07-26 16:15:30 +02:00
Martine Lenders
58d6f124b0 shell: ifconfig add capability to (un)set IPHC 2015-07-23 17:03:34 +02:00
BytesGalore
63cf9a3d4b Merge pull request #3487 from OlegHahm/ndp_fib_fix_fix
ng_ndp: passing integer instead of pointer to fib
2015-07-23 10:39:39 +02:00
Thomas Eichinger
e416937398 Merge pull request #3390 from thomaseichinger/pr/fix_warning_errors_freebsd
native: fix warning errors freebsd
2015-07-23 10:11:29 +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
Martine Lenders
3a47459ca0 ng_pktbuf: provide more detailed information in packet buffer stats 2015-07-22 23:20:23 +02:00
Lucas Jenß
b7bf949484 Merge pull request #2759 from x3ro/pr-1342-cryptofoo
Unified Cipher API and Block cipher operation modes: ECB, CBC, CTR and CCM
2015-07-22 21:16:32 +02:00
Martine Lenders
139a056f9c Merge pull request #3479 from OlegHahm/sc_netif_default_prefix_len
shell: set default prefix length to 64 for ifconfig
2015-07-22 20:53:42 +02:00
Cenk Gündoğan
d4f5715a58 Merge pull request #3477 from OlegHahm/increase_ipv6_netif_numof
ipv6: increase number of addresses per interface
2015-07-22 20:51:33 +02:00
Oleg Hahm
3bae1a7066 shell: set default prefix length to 64 for ifconfig 2015-07-22 20:19:49 +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
2ffd688e66 ipv6: increase number of addresses per interface 2015-07-22 19:54:12 +02:00
Nico von Geyso
4a4235c622 Unified Cipher API and Block cipher operation modes 2015-07-22 19:18:34 +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
e3165b49ac gnrc: avoid potential null pointer dereferencing 2015-07-22 15:56:30 +02:00
Thomas Eichinger
b7f6f3c8fb ng_netdev_eth: functions are not used 2015-07-21 18:31:13 +02:00
Oleg Hahm
75f38c026b Merge pull request #3412 from OlegHahm/doxygen_fixes_ng
doxygen: documentation hierarchy fixes
2015-07-21 11:04:42 +02:00
Oleg Hahm
8b23e90883 doc: fix doxygen group for dev_eth_autoinit 2015-07-21 10:00:11 +02:00
Oleg Hahm
6dd92dcab8 doc: fix doxygen group for RPL SRH 2015-07-21 10:00:11 +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
Oleg Hahm
f10cd90b31 Merge pull request #3447 from OlegHahm/fix_unsigned_char_in_od
od: signedness and constantness of input parameter
2015-07-20 18:15:30 +02:00
Lotte Steenbrink
257882bc06 Merge pull request #3404 from Lotterleben/aodvv2_debug_cleanup
aodvv2: tidy debug output, remove VDEBUG(), add LOG()
2015-07-20 15:55:08 +02:00
Oleg Hahm
94596cdd10 od: input parameter should be constant 2015-07-20 14:00:04 +02:00
Oleg Hahm
13b776194d od: fixed signedness of input data 2015-07-20 14:00:04 +02: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
Lotte Steenbrink
cc9af00789 aodvv2: tidy debug output, remove VDEBUG(), add LOG() 2015-07-19 10:11:16 -07:00
Lotte Steenbrink
b63625679b fib: check dst and next_hop for invalid pointers 2015-07-19 10:05:20 -07:00
Martine Lenders
7885c486cf ng_netreg: warn about context overwrite 2015-07-19 11:22:29 +02:00
René Kijewski
06da693933 Merge pull request #3443 from authmillenon/random/doc/fix-range
random: fix doc of genrand_uint32_range()
2015-07-18 19:13:04 +02:00
Lucas Jenß
38a5f410a3 Merge pull request #3442 from cgundogan/trickle_remove_rpl_dep
sys/trickle: remove unneccessary rpl.h include
2015-07-18 17:47:36 +02:00
Cenk Gündoğan
ec2c52b62f sys/trickle: remove unneccessary rpl.h include 2015-07-18 17:44:15 +02:00
Martine Lenders
b9f4cfbcd9 random: fix doc of genrand_uint32_range() 2015-07-18 17:40:09 +02:00
Martine Lenders
2b5a9049f4 Merge pull request #3440 from authmillenon/random/feat/range
random: provide range functionality
2015-07-18 17:37:59 +02:00
Martine Lenders
94f913c204 random: provide range functionality 2015-07-18 17:13:00 +02:00
Martine Lenders
1b47066548 Merge pull request #3436 from kaspar030/fix_NG_NETIF_NUMOF_compile_warning
sys: shell: commands: fix NG_NETIF_NUMOF related compile warning
2015-07-18 13:23:52 +02:00
80ed1d84a0 sys: shell: commands: fix NG_NETIF_NUMOF related compile warning 2015-07-17 12:18:07 +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
f3dffd22e3 Merge pull request #3414 from authmillenon/ng_sixlowpan/fix/issue-3411
ng_sixlowpan: fix IPHC dispatch check
2015-07-15 16:22:38 +02:00
BytesGalore
a4871c412f Merge pull request #3415 from kaspar030/fix_uart0
sys: fix uart0
2015-07-15 15:25:45 +02:00
842694aeee sys: auto_init: no need to initialize uart0 when using uart_stdio 2015-07-15 14:57:33 +02:00
c926e2c38a sys: posix_io: bail out on invalid target thread 2015-07-15 14:57:33 +02:00
5653974439 sys: uart0: use uart_stdio when available 2015-07-15 13:54:15 +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
Peter Kietzmann
666c04e7fe Merge pull request #3396 from authmillenon/ng_ndp/fix/get-l2src
ng_ndp: fix _get_l2src
2015-07-15 00:06:36 +02:00
Oleg Hahm
a7f3a3d17f Merge pull request #3161 from kaspar030/newlib_factor_out_uart_stdio
sys: factor stdio uart functions out of newlib's syscalls
2015-07-14 23:09:07 +02:00
Lotte Steenbrink
51ac879fa2 add FIB to AODVv2 2015-07-14 12:32:17 -07: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
49ea7a3d61 sys: factor stdio uart functions out of newlib's syscalls 2015-07-14 15:12:26 +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
fa4e059588 Merge pull request #3319 from gebart/pr/warning-fixes-3
Makefile.cflags: Build with -Wall -Werror by default (including fixes to correct all existing warnings)
2015-07-14 08:50:31 +02:00
Joakim Gebart
2706816b80 sys/net/ccn_lite/ccn-lite-relay: Use intermediate uint16_t variable to avoid strict-aliasing violation 2015-07-14 08:11:19 +02:00
Joakim Gebart
ab9d924c67 sys/posix/pthread: use atomic_int_t for pthread_spinlock_t 2015-07-14 08:11:18 +02:00
Joakim Gebart
5ab48c2d67 sys/crypto/twofish: Add casts to ensure bit shifts fit in the target variable 2015-07-14 08:11:15 +02:00
Joakim Gebart
cfe657b1ee sys/net/routing/etx_beaconing: Fix warnings and comment style 2015-07-14 08:11:15 +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
Joakim Gebart
89fa57c5a9 sys/transceiver: Discard volatile qualifier on maca_get_xxx_packet calls 2015-07-14 08:11:15 +02:00
Joakim Gebart
ac83a00ed0 sys/newlib/syscalls: Fix unused-parameter warning 2015-07-14 08:11:14 +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
René Kijewski
caf5503486 Merge pull request #3235 from haukepetersen/add_md5
sys/hashes: added MD5 implementation
2015-07-13 22:59:09 +02:00
Martine Lenders
789744c89d Merge pull request #3375 from authmillenon/ng_pktbuf/fix/equal-size
ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add()
2015-07-13 21:44:54 +02:00
Martine Lenders
16e10b46cf ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add() 2015-07-13 20:18:56 +02:00
Martine Lenders
2f71cadd99 ng_ndp: only check NS retransmission in correct state 2015-07-13 18:41:45 +02:00
Martine Lenders
c8c92663d9 ng_ipv6_addr: piggy-back spell error fix 2015-07-13 14:48:19 +02:00
Martine Lenders
9cd07b8961 ng_ipv6_addr: remove packed attribute from ng_ipv6_addr_t 2015-07-13 14:26:25 +02:00
Martine Lenders
b010d53eea ng_netif_hdr: remove packed attribute from ng_netif_hdr_t 2015-07-13 14:24:01 +02:00
Martine Lenders
72b883f5ed ng_pkt: remove packed attribute from ng_pktsnip_t 2015-07-13 14:23:36 +02:00
Martine Lenders
d310014e1b Merge pull request #3339 from kaspar030/add_sys_uio
sys: add sys/uio.h header
2015-07-13 14:18:06 +02:00
7acc4141ce sys: add libc includes directory and sys/uio.h header 2015-07-13 13:36:18 +02:00
Peter Kietzmann
fa2ce9ffdc Merge pull request #3354 from authmillenon/ng_icmpv6_echo/enh/delay
shell: sc_icmpv6_echo: provide delay option
2015-07-13 11:51:20 +02:00
Martine Lenders
d1b34aec35 ng_pktbuf: fix possible packet corruption in case of internal error
Fixes #3365
2015-07-11 12:21:40 +02:00
Martine Lenders
19769bc190 sc_icmpv6_echo: rename n and count more appropriatly 2015-07-10 14:54:42 +02:00
Martine Lenders
be9d8ca64b shell: sc_icmpv6_echo: provide delay option 2015-07-10 14:27:50 +02:00
3f73e87f59 Merge pull request #3147 from gebart/pr/vtimer-set-relative
vtimer: use hwtimer_set instead of hwtimer_set_absolute
2015-07-09 15:22:10 +02:00
Martine Lenders
a04becb4f8 ng_pktbuf: fix debug output for _pktbuf_add_unsafe 2015-07-09 12:31:58 +02:00
Martine Lenders
1e262e3e73 Merge pull request #3336 from kaspar030/fix_ng_ipv6_netif_init_by_dev_mutex_unlock
gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev
2015-07-08 11:47:32 +02:00
Peter Kietzmann
c3814a7127 Merge pull request #3316 from authmillenon/ng_pktbuf/fix/align
ng_pktbuf: fix alignment overwrite issue
2015-07-08 10:49:26 +02:00
3efd2e9fae gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev 2015-07-08 09:24:08 +02:00
Peter Kietzmann
8456c9c3fe Merge pull request #3311 from authmillenon/ng_icmpv6_echo/fix/unexpected-parameter-problem
ng_icmpv6_echo: fix unexpected parameter problem
2015-07-08 09:10:15 +02:00
Martine Lenders
539dd57154 ng_icmpv6_echo: fix unexpected parameter problem
Previously it could happen, that the pinging node had send more then one
packet before the reply was received. This would cause the sequence
number to be bigger than expected on receive.

This fixes this problem by introducing a window of expected echo sequence
numbers.
2015-07-08 01:45:57 +02:00
c0f2759e60 Merge pull request #3178 from kaspar030/bf_get_unset
sys: bitfield: add bf_get_unset
2015-07-08 01:13:35 +02:00
fb9a862177 sys: bitfield: add bf_get_unset 2015-07-07 17:49:17 +02:00
Martine Lenders
3b133811d6 ng_pktbuf: fix alignment overwrite issue
Currently it can happen if there is a spot of size `n` free that a chunk
of size `n + 1` is inserted, if `n` is devisable by the word length of
the platform. This patch fixes this issue.
2015-07-07 17:02:23 +02:00
Joakim Gebart
64b948f0e9 sys/net/network_layer/ng_ndp: Add missing inttypes.h include 2015-07-07 09:48:11 +02:00
Joakim Gebart
b1dcd89390 sys/net/network_layer/ng_ipv6/nc: Add missing inttypes.h include 2015-07-07 09:47:53 +02:00
Joakim Gebart
767d3eb4df sys/net/crosslayer/ng_netif/hdr/ng_netif_hdr_print.c: Add missing inttypes.h include 2015-07-07 09:47:26 +02:00
Joakim Gebart
5c5b644602 sys/net/transport_layer/ng_udp: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
Joakim Gebart
8fc1a656fa sys/shell/commands: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
Joakim Gebart
c2aa2aa91f sys/net/link_layer/ng_nomac: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
Joakim Gebart
b35c2782da sys/net/link_layer/net_if: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
Joakim Gebart
6577d21049 sys/net/ccn_lite: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
Joakim Gebart
aaeaa968e6 sys/net/application_layer/ng_zep: Add missing inttypes.h includes 2015-07-07 00:53:26 +02:00
Joakim Gebart
8f2da1d3d0 sys/net/routing/aodvv2: Add missing inttypes.h includes 2015-07-07 00:53:26 +02:00
Joakim Gebart
de3bd08798 sys/net/network_layer/fig: Add missing inttypes.h includes 2015-07-07 00:53:26 +02:00
Joakim Gebart
299e0eae03 sys/net/network_layer/ng_icmpv6: Add missing inttypes.h includes 2015-07-07 00:53:26 +02:00
Joakim Gebart
84114f3cc5 sys/net/network_layer/ng_ipv6: Add missing inttypes.h includes 2015-07-07 00:53:26 +02:00
Joakim Gebart
42cfa32077 sys/net/network_layer/ng_sixlowpan: Add missing inttypes.h includes 2015-07-07 00:53:26 +02:00
adabd8c930 shell: let readline return an error on empty line so prompt gets print again 2015-07-06 11:33:44 +02:00
2d7642b8c1 shell: flush stdout after printing prompt 2015-07-06 09:53:29 +02:00
Oleg Hahm
6d0e68851c doc: some fixes in 6LoWPAN documentation 2015-07-03 15:46:32 +02:00
Martine Lenders
4c5c0a87c9 ng_sixlowpan: clarify documentation 2015-07-03 00:26:04 +02:00
Martine Lenders
d450079348 ng_zep: add stability note 2015-07-02 15:47:20 +02:00
Martine Lenders
c5318336ae net: intial import of the ZEP protocol 2015-07-02 15:47:19 +02:00
Martine Lenders
75ff56a21f Merge pull request #3247 from authmillenon/ng_nettest/fix/bugfixes
ng_nettest: some fixes
2015-07-02 14:29:28 +02:00
Martine Lenders
e6811e8c28 Merge pull request #3295 from authmillenon/ng_udp/doc/fix
ng_udp: fix documentation
2015-07-02 13:41:01 +02:00
Martine Lenders
715306b81c Merge pull request #3294 from authmillenon/ng_pkt/doc/update
ng_pkt: update documentation
2015-07-02 13:37:19 +02:00
Martine Lenders
74eac9b144 ng_nettest: change function prototypes to allow for exp_pkts == 0 2015-07-02 13:35:00 +02:00
Martine Lenders
871a6f9cde ng_nettest: some fixes 2015-07-02 13:35:00 +02:00
Martine Lenders
297f2cadcc Merge pull request #3286 from authmillenon/ng_nomac/enh/use-dispatch-func
ng_nomac: use dispatch function
2015-07-02 13:22:33 +02:00
Martine Lenders
69992ee7eb Merge pull request #3293 from authmillenon/ng_inet_csum/fix/wrap-around
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:55:27 +02:00
Martine Lenders
380c53c3e1 ng_udp: fix NULL pointer check in ng_udp_calc_csum 2015-07-02 12:20:55 +02:00
Martine Lenders
adb028361a ng_udp: fix documentation 2015-07-02 12:20:55 +02:00
Martine Lenders
dac1307401 ng_pkt: update documentation 2015-07-02 12:19:37 +02:00
Martine Lenders
90d3af596e ng_nomac: piggy-back some indentation fixes 2015-07-02 12:08:43 +02:00
Martine Lenders
dae00a81fb ng_nomac: use dispatch function 2015-07-02 12:08:42 +02:00
Martine Lenders
ad6c02b349 ng_inet_csum: fix double-wrap around of carry 2015-07-02 12:06:31 +02:00
Peter Kietzmann
5788af1b90 Merge pull request #3292 from authmillenon/ng_ipv6_hdr/fix/off-by-one
ng_ipv6_hdr: fix for initial sum overflow
2015-07-02 11:22:48 +02:00
Martine Lenders
0465b83b7c ng_ndp: cache determined next-hop in FIB 2015-07-01 22:34:12 +02:00
Martine Lenders
4a2af80e22 Merge pull request #3289 from authmillenon/ng_inet_csum/enh/add_debug_output
ng_inet_csum: add debug output
2015-07-01 21:37:30 +02:00
Martine Lenders
6687bbaea6 ng_inet_csum: add debug output 2015-07-01 18:25:40 +02:00
Martine Lenders
bf67751e15 ng_ipv6_hdr: fix for initial sum overflow 2015-07-01 17:49:43 +02:00
Oleg Hahm
5cab734d78 Merge pull request #3260 from gebart/pr/vtimer-remove-before-add
sys/vtimer: Remove timer before adding.
2015-07-01 15:31:57 +02:00
Martine Lenders
773ecc3615 ng_ipv6: remove redefinition of ifnum 2015-07-01 13:30:09 +02:00
Peter Kietzmann
fb6440c397 Merge pull request #2893 from authmillenon/ng_net/enh/centralize-dispatch
ng_netapi: centralize packet dispatchment for RCV and SND
2015-07-01 13:19:13 +02:00
Martine Lenders
56b4af60fd Merge pull request #3245 from authmillenon/ng_ipv6/fix/multicast-multi-iface
ng_ipv6: fix behavior for multicast over multiple interfaces
2015-07-01 13:05:14 +02:00
Martine Lenders
3238ccd47e Merge pull request #3159 from authmillenon/ng_net/feat/iid
ng_net: add IID option and simplify upper layers accordingly
2015-07-01 12:47:49 +02:00
Martine Lenders
4065e5ae05 ng_udp: use new netapi function 2015-07-01 12:38:59 +02:00
Martine Lenders
018dbb04b8 ng_sixlowpan: use new netapi functions 2015-07-01 12:38:59 +02:00
Martine Lenders
59f62e5366 ng_netapi: centralize packet dispatchment for RCV and SND 2015-07-01 12:38:59 +02:00
Martine Lenders
ba75602f14 ng_ipv6: fix behavior for multicast over multiple interfaces 2015-07-01 12:36:45 +02:00
Martine Lenders
cda934d2e1 ng_ipv6/netif: fix dereference interface correctly 2015-06-30 22:43:15 +02:00
Cenk Gündoğan
3162ca5408 Merge pull request #3272 from authmillenon/ng_ndp/fix/fib_get_next_hop
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-30 18:13:17 +02:00
Hauke Petersen
a86f49a1e4 Merge pull request #3276 from haukepetersen/fix_vtimer_getlocaltime
sys/vtimer: initialize all values in get_localtime
2015-06-30 17:50:07 +02:00
Oleg Hahm
fedb0e03be Merge pull request #3226 from authmillenon/ng_ndp/enh/restructure-functions
ng_ndp: code restructuring
2015-06-30 17:41:45 +02:00
haukepetersen
b803438774 sys/shell: fixed percentage calc of ping6 shell cmd 2015-06-30 14:47:50 +02:00
haukepetersen
b7c23c8e5b sys/vtimer: initialize all values in get_localtime 2015-06-30 13:23:14 +02:00
Lotte Steenbrink
6d1b1ad077 aodvv2: fix rreq route cost calculation
store targseqnum from rreq in the right substruct, calculate rreq route cost from targaddr metric.
2015-06-29 09:04:23 -07:00
Martine Lenders
1b4a05e5a8 ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250 2015-06-29 14:46:52 +02:00
Lotte Steenbrink
04719b326c Merge pull request #3266 from Lotterleben/aodvv2_fix_warn
aodvv2: fix return values of reader helper functions
2015-06-29 12:13:47 +02:00
Benoît Canet
5e7ea2d9e4 msg: Fix incorrect queues initializations
From core/include/msg.h:

/**
 * @brief Initialize the current thread's message queue.
 *
 * @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
 *                  not be NULL.
 * @param[in] num   Number of ``msg_t`` structures in array.
 *                  **MUST BE POWER OF TWO!**
 *
 * @return 0, if successful
 * @return -1, on error
 */
int msg_init_queue(msg_t *array, int num);

sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values

Closes #3269.

Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
Philipp Rosenkranz
1913b7ea66 Merge pull request #3229 from Kijewski/chacha
sys: add ChaCha stream cipher and PRNG
2015-06-28 21:13:59 +02:00
René Kijewski
2cf4253710 sys: add ChaCha stream cipher and PRNG
This implementation is optimized for a little code and data size, not
for speed. IMO the code is more readable than in the reference
implementation.

The biggest advantage of ChaCha over other stream ciphers is the very
little data usage with only 64 bytes of context, and its good encryption
speed.

Also part of this PR is pseudo-random number generator, that just
returns the keystream of a randomly initialized ChaCha context.
2015-06-28 18:32:04 +02:00
Martine Lenders
d69d04320e Merge pull request #3225 from authmillenon/ng_icmpv6_echo/fix/unit_conversion
ng_icmpv6_echo: fix time output on shell command
2015-06-28 17:57:22 +02:00
Hauke Petersen
59b158c006 Merge pull request #3250 from BytesGalore/fib_check_nullpointer_parameter
fib: added check for passing NULL pointers to `fib_get_next_hop()`
2015-06-26 12:02:12 +02:00
Lotte Steenbrink
de2296d524 aodvv2: fix return values of reader helper functions 2015-06-25 16:48:15 -07:00
Joakim Gebart
ffcf9521f0 Merge pull request #3053 from gebart/pr/fletcher
sys/hashes: Add Fletcher's checksums
2015-06-25 16:03:49 +02:00
Joakim Gebart
c30f71aa8a sys/vtimer: Remove timer before adding.
Workaround for a bug which causes the same timer to be added twice.
2015-06-25 10:09:56 +02:00
Oleg Hahm
b16e3fa358 gnrc: remove duplicate nomac from Makefile 2015-06-24 15:00:00 +02:00
Oleg Hahm
4c37e54109 Merge pull request #3171 from cgundogan/fib_autoinit
fib: auto init
2015-06-24 09:33:52 +02:00
BytesGalore
db18e5760a fib: added check for passing NULL pointers to fib_get_next_hop() 2015-06-24 09:05:24 +02:00
Martine Lenders
0103fa2e91 Merge pull request #3234 from authmillenon/ng_pktqueue/api/take-out-prio
ng_pktqueue: remove priority queue dependency
2015-06-23 23:47:52 +02:00
Martine Lenders
1c4af66c3a ng_icmpv6_echo: fix time output on shell command 2015-06-23 23:44:32 +02:00
Martine Lenders
6b6c0c3322 Merge pull request #3241 from haukepetersen/ng_frag_send_missingreturn
net/ng_sixlowpan_frag: added missing return
2015-06-23 17:58:40 +02:00
Oleg Hahm
b85f076027 Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 17:02:11 +02:00
Lotte Steenbrink
8f4dd8dc13 aodvv2: fix one-off metric bug 2015-06-23 07:13:16 -07:00
Martine Lenders
4a34635d14 ng_ndp: stop for loop over packet nodes earlier 2015-06-23 15:25:13 +02:00
Martine Lenders
f28c5041eb ng_nettest: initial import of a ng_netapi test framework 2015-06-23 15:22:55 +02:00
Hauke Petersen
b2efe73f87 Merge pull request #3243 from BytesGalore/ndp_comment_on_fall_through
ndp: added a word why we fall through into `NG_IPV6_NC_STATE_DELAY`
2015-06-23 13:54:28 +02:00
BytesGalore
9082ffb70d Merge pull request #3237 from haukepetersen/ng_fix_frag_sendnth_ptrcheck
net/ng_sixlowpan: fix check for pkt==NULL
2015-06-23 13:48:01 +02:00
BytesGalore
e08d7a4434 ndp: added a word why we fall through into NG_IPV6_NC_STATE_DELAY 2015-06-23 12:51:12 +02:00
haukepetersen
6a44f56939 net/ng_sixlowpan_frag: added missing return 2015-06-23 02:56:21 +02:00
haukepetersen
a38d881424 net/ng_sixlowpan: fix check for pkt==NULL 2015-06-23 02:07:33 +02:00
haukepetersen
80205b6749 net/ng_sixlowpan: fix check of pktbuf return val 2015-06-23 01:55:01 +02:00
haukepetersen
9370506a72 sys/hashes: added MD5 implementation 2015-06-22 21:43:28 +02:00
Martine Lenders
0ca2cb1c93 ng_ndp: use new pktqueue 2015-06-22 18:19:55 +02:00
Martine Lenders
72b17d9620 ng_ipv6_nc: use new pktqueue 2015-06-22 18:19:55 +02:00
Martine Lenders
837d97e963 ng_pktqueue: take out priorities
This patch also makes ng_pktqueue independent from `priority_queue`
2015-06-22 18:19:54 +02:00
Hauke Petersen
a4f3bf49d3 net/ng_udp: mark received payload as NETTYPE_UNDEF 2015-06-22 16:37:03 +02:00
Martine Lenders
1f8e1cbbf3 Merge pull request #3218 from haukepetersen/ng_fix_sixlowpan_static
net/ng_sixlowpan: declared private methods static
2015-06-22 15:57:48 +02:00
Cenk Gündoğan
dd7f6c4218 ng_ndp: remove vtimer before setting it again 2015-06-20 12:09:45 +02:00
Martine Lenders
245c51f821 ng_sixlowpan: piggy-back cppcheck suppression 2015-06-19 17:17:29 +02:00
Martine Lenders
74430228cb ng_sixlowpan: add missing return 2015-06-19 17:13:10 +02:00
Martine Lenders
1e4f8b4837 ng_ndp: code restructuring
Some code restructuring to be in line with other code of similar format.
2015-06-19 15:42:43 +02:00
Martine Lenders
b3acefd340 ng_sixlowpan: write protect pkt 2015-06-19 14:52:51 +02:00
6b2774640e sys: net: ng_pktdump: add missing errno.h
file misses "ENOTSUP" otherwise
2015-06-18 13:28:39 +02:00
Hauke Petersen
dc82b801ac net/ng_sixlowpan: declared private methods static 2015-06-17 17:25:08 +02:00
Martine Lenders
f183197d56 ng_sixlowpan_iphc: use NETCONF_OPT_IPV6_IID and ng_ieee802154_get_iid 2015-06-15 12:32:14 +02:00
Martine Lenders
bd20b9975d ng_ipv6_netif: use NETCONF_OPT_IPV6_IID initialization for init 2015-06-15 12:32:14 +02:00
Martine Lenders
bdb1b6036d ng_netdev_eth: add NETCONF_OPT_IPV6_IID handler 2015-06-15 12:32:13 +02:00
Martine Lenders
aa46e9c14c ng_ieee802154: Add IID generator 2015-06-15 12:32:13 +02:00
Martine Lenders
b70100fdd6 ng_ethernet: Add IID generator 2015-06-15 12:32:13 +02:00
Martine Lenders
1208b719a3 ng_netconf: add IID option 2015-06-15 12:32:13 +02:00
Martine Lenders
3a1070dc22 eui64: export type to own module 2015-06-15 12:32:13 +02:00
Hauke Petersen
7105fe2e4f sys/uart0: changed signature of uart0_putc 2015-06-14 17:04:42 +02:00
Hauke Petersen
1eec484a30 sys/shell: changed signature of put_char pointer
changed from void(*put_char)(int) to int(*putchar)(int).

This is beneficial, as now the std-libs putchar can be given as
an argument to shell_init() directly.
2015-06-14 17:02:57 +02:00
René Kijewski
98aec32f6b ng_netif: more formats for ng_netif_addr_from_str 2015-06-13 13:38:11 +02:00
René Kijewski
7d3d8dee21 ng_netif: make const what is const 2015-06-12 21:53:59 +02:00
René Kijewski
5eed801072 ng_netif: non-destructive ng_netif_addr_from_str 2015-06-12 21:53:59 +02:00
Martine Lenders
76d923b35d auto_init_ng_netif: fix DEBUG output for xbee 2015-06-11 19:51:09 +02:00
Martine Lenders
64303f663d ng_ipv6: add demux debug output 2015-06-11 16:32:25 +02:00
Martine Lenders
b580ce1c13 ng_icmpv6_echo: add missing od.h include for DEBUG output 2015-06-11 16:32:06 +02:00
Cenk Gündoğan
2fda604ef3 ng_icmpv6: fix release of pkt 2015-06-11 13:49:01 +02:00
Cenk Gündoğan
da2cd90ff7 Merge pull request #3177 from authmillenon/ng_ndp/doc/nbr_adv_timer
ng_ndp: expand documentation on ng_ipv6_nc_t::nbr_adv_timer
2015-06-10 12:10:34 +02:00
Martine Lenders
2bdf22af97 ng_ndp: expand documentation on ng_ipv6_nc_t::nbr_adv_timer 2015-06-09 19:34:34 +02:00
Martine Lenders
f0134f613c ng_ndp: fix neighbor advertisement handling
The setting of the states and reset of the retransmission timers is
broken in the current implementation. This patch fixes that behavior and
simplifies the code a little.
2015-06-09 19:05:36 +02:00
Cenk Gündoğan
c6af4c9a21 fib: auto init 2015-06-05 22:16:34 +02:00
Cenk Gündoğan
ece64548a6 Merge pull request #2818 from BytesGalore/fib_get_conditionlal_entry_set
sys/net/fib: added function to request a set of destination addresses
2015-06-05 22:07:22 +02:00
Martine Lenders
46a0fe6cdd pktdump: add 6LoWPAN dump 2015-06-05 16:14:56 +02:00
Hauke Petersen
3967f48852 net/ng_pktdump: added printing of udp header 2015-06-05 09:47:53 +02:00
Hauke Petersen
70acc31675 net/ng_udp: added ng_udp_print_hdr() function 2015-06-05 09:47:52 +02:00
Hauke Petersen
853594df82 net/eth_netdev: fixed debug hex_dump condition 2015-06-04 16:00:56 +02:00
Hauke Petersen
d8532ea052 Merge pull request #3119 from gebart/pr/cortexm-clang
cortexm: Add support for building with LLVM/Clang
2015-06-04 12:03:14 +02:00
Martine Lenders
5e7de0821b Merge pull request #3096 from OlegHahm/ng_nativenet_netdev_auto_foobar
ng_nativenet: auto initialization and improvements
2015-06-03 17:53:18 +02:00
Oleg Hahm
4d9f965159 auto_init: initialize ng_netdev_eth 2015-06-03 13:00:35 +02:00
Martine Lenders
e7fde544af Merge pull request #3145 from authmillenon/ng_ipv6_netif/fix/debug
ng_ipv6_netif: fix debug output
2015-06-03 12:56:19 +02:00
rajithr
70fa494666 sixlowpan/ip: Fixing an out of bounds access issue reported by Coverity Scan
sixlowpan/ip: Fixing an out of bounds access issue reported by Coverity Scan
2015-06-03 10:29:43 +05:30
Martine Lenders
aa3452063d Merge pull request #3089 from authmillenon/pktbuf/enh/debug-output
ng_pktbuf: add DEBUG output
2015-06-02 21:20:14 +02:00
Joakim Gebart
29f4a1a211 vtimer: use hwtimer_set instead of hwtimer_set_absolute 2015-06-02 19:24:21 +02:00
Martine Lenders
c6af1b2c21 Merge pull request #3092 from authmillenon/ng_pktbuf/fix/some-fixes
ng_pktbuf: Some fixes
2015-06-02 18:32:57 +02:00
Martine Lenders
9bb46e97b0 ng_ipv6_netif: fix debug output 2015-06-02 17:58:41 +02:00
Martine Lenders
76f80939f5 ng_pktbuf: add DEBUG output 2015-06-02 17:33:41 +02:00
BytesGalore
9079e30da0 sys/net/fib: added function to request a set of destination addresses 2015-06-02 16:42:47 +02:00
Cenk Gündoğan
bdc12b05cd Merge pull request #2783 from BytesGalore/fib_support_all_zero_addr
net/network_layer/fib: corrected handling of all 0 addresses
2015-06-02 11:50:41 +02:00
Lotte Steenbrink
69437fdfa0 Merge pull request #3102 from BytesGalore/fib_compat_old_network_stack
ip: added a define to enable a FIB compatibility mode replacing `get_next_hop()`
2015-06-02 11:28:31 +02:00
Joakim Gebart
baf568f7e8 Merge pull request #3136 from kaspar030/make_newlib__read_r_thread_safe
sys: newlib: make _read_r thread safe
2015-06-01 22:08:53 +02:00
BytesGalore
b39afa8649 ip: added a define to enable a FIB compatibility mode replacing get_next_hop() 2015-06-01 17:31:45 +02:00
Joakim Gebart
d804969f35 Merge pull request #2515 from lightblu/master
sys/vtimer: Fix two vtimer issues (hwtimer tick conversion).
2015-06-01 15:40:06 +02:00
Joakim Gebart
f376bbc8f6 cortexm: Add support for building with LLVM/Clang
as an alternative to the default GCC toolchain.

    export TOOLCHAIN=llvm

to build with Clang instead of GCC
2015-06-01 14:56:29 +02:00
5549d0493d sys: newlib: remove _read_r() race 2015-06-01 14:27:13 +02:00
be50f8b9f9 sys: newlib: use double-lock scheme for uart ringbuffer 2015-06-01 12:13:36 +02:00
Peter Kietzmann
850cf33843 Merge pull request #3130 from gebart/pr/vtimer-debug
vtimer: Add forward declarations of debug functions
2015-05-31 20:17:16 +02:00
Joakim Gebart
f8d5b18fec vtimer: Move ENABLE_DEBUG to before irq.h and priority_queue.h include
or else some debug functions will not be declared.
2015-05-31 17:19:02 +02:00
Peter Kietzmann
6dc0e789e1 Merge pull request #3101 from gebart/pr/warning-fixes
Various warning fixes
2015-05-31 17:03:49 +02:00
Joakim Gebart
1becd9a94e vtimer: Add forward declarations of debug functions 2015-05-31 12:03:27 +02:00
Joakim Gebart
41e1b57624 Merge pull request #3100 from haukepetersen/opt_cortexm_init
cpu: centralized cortex initialization and some defines
2015-05-30 09:21:46 +02:00
Hauke Petersen
e2cb8e7c81 sys/uart0: include cpu.h in board_uart0.h
Some CPUs (e.g. cortex-m based ones) define the UART0_BUFSIZE
in cpu.h. So also include this file here.
2015-05-29 16:44:52 +02:00
3965e889e1 sys: bitfield.h: some fixes 2015-05-29 15:56:23 +02:00
Joakim Gebart
0eaeca3640 sys/newlib/syscalls: fix warnings
- rx_cb: unused-parameter
 - _write_r: sign-compare
 - all stubbed syscalls: unused-parameter
2015-05-29 14:23:01 +02:00
Peter Kietzmann
c839e65479 Merge pull request #3025 from OlegHahm/netconf_retransmit
netconf: at86rf231: configure maximum retransmits
2015-05-29 10:10:56 +02:00
Martine Lenders
4d89ac6d03 Merge pull request #3085 from authmillenon/ng_net/fix/printf-stacksize
ng_net: use printf-stack size where it is needed
2015-05-29 07:32:37 +02:00
Martine Lenders
df18566576 Merge pull request #3103 from cgundogan/ng_netif_addr_to_str
ng_netif: clear out buffer before creating output
2015-05-29 07:30:02 +02:00
Martine Lenders
5a8a4312de ng_udp: piggy-back fix for coding conventions 2015-05-28 23:22:44 +02:00
Martine Lenders
3db17eedbf ng_net: use printf-stack size where it is needed 2015-05-28 23:22:44 +02:00
Cenk Gündoğan
16cdeb8759 ng_netif: clear out buffer before creating output 2015-05-28 20:05:16 +02:00
a10beb25f4 Merge pull request #3105 from cgundogan/ng_netdev_eth_marshall
ng_netdev_eth: default to NG_ETHERTYPE_UNKNOWN when no payload avail.
2015-05-28 18:35:16 +02:00
Lotte Steenbrink
104ea3ceb1 Merge pull request #3091 from Lotterleben/fib_helper_fn
Fib helper fn
2015-05-28 18:33:23 +02:00
Cenk Gündoğan
4bda0f6f54 ng_netdev_eth: default to NG_ETHERTYPE_UNKNOWN when no payload avail. 2015-05-28 18:20:32 +02:00
4e569513e6 Merge pull request #3047 from haukepetersen/rename_cpuconf
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 17:49:55 +02:00
Martine Lenders
38d7eb3e81 Merge pull request #3026 from OlegHahm/bitfields
bitfield: introduce bitfields of arbitrary length
2015-05-28 17:03:00 +02:00
Hauke Petersen
b570f3c1cb sys/ng_pktbuf: fixed doxygen 2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Oleg Hahm
76e4c820e5 ng_netconf: ng_at86rf2xx: set retransmissions
Introduces a netconf option to configure the maximum amount of
retransmissions and implements this for the at86rf2xx radios.
2015-05-28 13:35:36 +02:00
Oleg Hahm
2ab7565d99 bitfield: introduce bitfield operators 2015-05-28 13:27:41 +02:00
Oleg Hahm
c441e7d9f6 ng_ndp: remove warning 2015-05-27 22:02:12 +02:00
Martine Lenders
e56f5ae1ed ng_netconf: define maximum number of options 2015-05-27 22:00:12 +02:00
Oleg Hahm
2e691cf565 auto_init: eliminated pedantic warnings
Otherwise pedantic complains:
Warning: ISO C forbids an empty translation unit
2015-05-27 21:52:49 +02:00
Martine Lenders
ae3d88fcae Merge pull request #2806 from authmillenon/ng_sixlowpan_iphc/feat/initial
ng_sixlowpan: Initial import of IP header compression
2015-05-27 18:07:11 +02:00
Martine Lenders
1168544e6b ng_pktbuf: don't use atomic_dec() 2015-05-27 15:37:31 +02:00
Martine Lenders
9cea4b6618 ng_pktbuf: only duplicate header 2015-05-27 15:37:14 +02:00
Lotte Steenbrink
b7b384d052 Merge pull request #3090 from BytesGalore/fib_add_word_on_lifetime
fib: added a word on the lifetime of a FIB entry
2015-05-27 15:28:05 +02:00
BytesGalore
e174ce2c56 fib: added a word on the lifetime of a FIB entry 2015-05-27 14:44:55 +02:00
Martine Lenders
85bd69314c Merge pull request #3084 from OlegHahm/ndp_fib_fix
ng_ndp: fix call to FIB
2015-05-27 14:22:43 +02:00
Oleg Hahm
fe462fe9f1 Merge pull request #3081 from OlegHahm/ping6_output_fix
ping6: fix output for nanospecs
2015-05-27 13:30:32 +02:00
Fabian Nack
1ccf1335fe Merge pull request #2592 from fnack/nhdp_ext_metric
sys/nhdp: Add metric infrastructure and DAT metric computation
2015-05-27 13:07:13 +02:00
Oleg Hahm
e857ca7f51 Merge pull request #2933 from gebart/pr/atomic-set-return-deprecated
core: remove atomic_set_return
2015-05-27 12:33:39 +02:00
Oleg Hahm
15e12dd06b ng_ndp: fix call to FIB 2015-05-27 11:57:54 +02:00
Martine Lenders
9a989264d8 ng_sixlowpan: initial import of IP header compression 2015-05-27 11:54:50 +02:00
Oleg Hahm
83e22a28af ping6: fix output for nanospecs 2015-05-27 11:11:45 +02:00
Fabian Nack
5fbafbf8ad sys/nhdp: Add link metric calculation 2015-05-27 11:05:13 +02:00
Oleg Hahm
64f3db7f3f ng_ipv6: only try to parse ext header if enabled 2015-05-27 11:00:18 +02:00
Martine Lenders
41aad42d8f Merge pull request #3074 from authmillenon/ng_ipv6_ext/fix/exit-early
ng_ipv6_ext: exit early on invalid size
2015-05-27 01:43:21 +02:00
Lotte Steenbrink
d14191467f fib: add FIB_DEVEL_HELPER flag and fib_devel_get_lifetime() 2015-05-26 15:34:31 -07:00
Joakim Gebart
1f94a93fb8 sys/hashes: Add Fletcher's checksums 2015-05-26 23:11:30 +02:00
Joakim Gebart
e0098d408a sys/include/hashes.h: Update include guard 2015-05-26 23:11:02 +02:00
Lotte Steenbrink
b7d58d0310 Merge pull request #3073 from Lotterleben/ng_netif_dont_shift
ng_netif: don't shift entries upon remove
2015-05-26 22:19:23 +02:00
Joakim Gebart
6821350835 ng_pktbuf: Use atomic_dec instead of atomic_set_return 2015-05-26 21:23:49 +02:00
Joakim Gebart
718664dacc sys/posix/pthread: Use atomic_int_t to handle spin lock 2015-05-26 21:23:48 +02:00
1c91baed8b sys: net: add ng_netdev_eth netdev driver for dev_eth based ethernet devices 2015-05-26 21:05:19 +02:00
Martine Lenders
475bfe6e5f Merge pull request #2944 from authmillenon/ipv6_netif/opt/auto-init-addr
ipv6_netif: initialize device dependent values
2015-05-26 21:01:55 +02:00
Martine Lenders
e509c101fe ng_ipv6_ext: exit early on invalid size 2015-05-26 20:20:02 +02:00
Martine Lenders
e3bdc53c37 Merge pull request #2898 from authmillenon/ng_ipv6_ext/feat/initial
ng_ipv6_ext: initial import of extension header handling (including RPL SRH)
2015-05-26 20:16:50 +02:00
Lotte Steenbrink
e203eae8c6 ng_netif: don't shift entries upon remove 2015-05-26 10:33:09 -07:00
Oleg Hahm
1bd5a82678 Merge pull request #3070 from authmillenon/ng_slip/fix/rename-params
ng_slip: rename xbee_params_t to ng_slip_params_t
2015-05-26 19:29:45 +02:00
cfd9a5905a Merge pull request #2766 from kaspar030/add_dev_eth
sys: net: introduce low-level ethernet driver API
2015-05-26 19:28:14 +02:00
Martine Lenders
c29a4b474c ng_slip: rename xbee_params_t to ng_slip_params_t
Fixed copy pasta
2015-05-26 18:59:40 +02:00
Martine Lenders
863304356c shell: fix netif output 2015-05-26 18:46:49 +02:00
Martine Lenders
971ee86de6 ipv6_netif: initialize device dependent values 2015-05-26 18:46:49 +02:00
7a80d31589 sys: auto_init: add auto initialization for dev_eth 2015-05-26 15:37:55 +02:00
f8177def22 sys: net: dev_eth: add low-level ethernet driver interface 2015-05-26 15:37:55 +02:00
PeterKietzmann
837e57635a ng_sixlowpan_netif: add ENABLE_DEBUG flag 2015-05-26 14:45:57 +02:00
a267274e84 sys: make newlib support a module 2015-05-26 10:45:40 +02:00
Martine Lenders
4310ab37ba Merge pull request #3048 from authmillenon/ipv6_netif/fix/get-best-src-mc
ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast
2015-05-25 23:19:20 +02:00
Martine Lenders
350b040d72 ng_netif: adapt ng_netif_get for holey lists 2015-05-25 22:02:44 +02:00
Martine Lenders
e93b8a11ed ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast
Without this fix ng_ipv6_netif_find_best_src_addr() will return :: for most
multicast addresses
2015-05-22 17:46:01 +02:00
Oleg Hahm
7be7e00ab9 Merge pull request #3042 from gebart/pr/doxygen-@file-remove-filename
everything: Remove filename from @file Doxygen command
2015-05-22 17:10:04 +02:00
Martine Lenders
65fb2cf676 Merge pull request #3036 from BytesGalore/ng_ndp_debug_print_fixes
ng_ndp: repaired debug for the ndp.c
2015-05-22 11:41:26 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
BytesGalore
ab663ba046 net/network_layer/fib: corrected handling of all 0 addresses 2015-05-21 20:11:30 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
BytesGalore
40336daa1a ng_ndp: repaired debug for the ndp.c 2015-05-20 11:59:57 +02:00
Johann Fischer
b0e73b9a8c Merge pull request #2983 from jfischer-phytec-iot/pr@kw2x-rf-autoinit
boards/pba-d-01-kw2x: add network interface auto init
2015-05-20 10:00:23 +02:00
BytesGalore
0492664081 Merge pull request #3013 from gebart/pr/rpl-global-repair-version
sys/net/routing/rpl: Remove redundant self-assign in rpl global repair
2015-05-20 07:19:00 +02:00
Lotte Steenbrink
487064e51a ng_netif: don't add duplicates
prevent ng_netif_add() from adding duplicates as described in https://github.com/RIOT-OS/RIOT/issues/2965
2015-05-19 08:56:11 -07:00
Lucas Jenß
29552fba44 Merge pull request #3029 from authmillenon/ng_ndp/fix/doc
ng_ndp: fix documentation
2015-05-19 15:29:24 +02:00
Joakim Gebart
1d69ea3159 sys/net/routing/rpl: Remove redundant assignment of dodag_version to itself 2015-05-19 15:01:53 +02:00
Hauke Petersen
354e5db5a8 Merge pull request #2963 from OlegHahm/fix_2962
at86rf2xx: fix EUI64 computation
2015-05-19 10:59:34 +02:00
Martine Lenders
91650e19ec ng_ndp: fix documentation 2015-05-19 10:07:36 +02:00
Lotte Steenbrink
74254f5c2a sixlowpan_netif: don't add duplicates
prevent ng_sixlowpan_netif_add() from adding duplicates as described in https://github.com/RIOT-OS/RIOT/issues/2965
2015-05-18 23:55:57 -07:00
Martine Lenders
d2fea78e76 auto_init: add ng_slip 2015-05-23 13:19:16 +02:00
Martine Lenders
96ab1fa283 ng_slip: initial import 2015-05-23 13:19:16 +02:00
Lotte Steenbrink
486f8dd8e9 Merge pull request #3044 from Lotterleben/ipv6_ifs_no_duplicates
ng_ipv6_netif: no more duplicates if empty entries are found before
2015-05-23 02:12:49 +02:00
BytesGalore
369e7bbf43 Merge pull request #2540 from josephnoir/topic/cpp-stl-compatibility
Add replacement headers for std thread, mutex and condition_variable
2015-05-19 07:56:54 +02:00
Lotte Steenbrink
cb0ee3288f netif: don't add duplicates
prevent ng_ipv6_netif_add() and ng_ipv6_netif_add_addr() from adding duplicates as described in https://github.com/RIOT-OS/RIOT/issues/2965
2015-05-18 12:23:24 -07:00
Jonas
9b66477180 adapted new auto-init process to kw2xrf driver
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
Joseph Noir
bddaee751d Add replacement headers for thread, mutex and cond
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
2015-05-18 13:57:02 +02:00
895b629630 Merge pull request #2901 from kaspar030/fix_auto_init_netif
network: make auto_init_ng_netif less board-dependant
2015-05-18 13:09:55 +02:00
Martine Lenders
e53cdbb1b5 Merge pull request #3015 from gebart/pr/cppcheck-warnings
cppcheck drive-by fixes
2015-05-18 11:51:22 +02:00
Joakim Gebart
869ce92246 ng_ndp: reduce scope of variables l2src, l2src_len
Fixes cppcheck warnings:

    sys/net/network_layer/ng_ndp/ng_ndp.c:548: style (variableScope): The scope of the variable 'l2src' can be reduced.
    sys/net/network_layer/ng_ndp/ng_ndp.c:549: style (variableScope): The scope of the variable 'l2src_len' can be reduced.
    sys/net/network_layer/ng_ndp/ng_ndp.c:608: style (variableScope): The scope of the variable 'l2src' can be reduced.
    sys/net/network_layer/ng_ndp/ng_ndp.c:609: style (variableScope): The scope of the variable 'l2src_len' can be reduced.
2015-05-18 06:34:13 +02:00
Joakim Gebart
ca7697d84f sys/net/network_layer/sixlowpan/ip.c reduce scope of bmatch 2015-05-18 06:31:28 +02:00
Martine Lenders
abc0280543 ng_rpl: add source routing header parsing for ng_net 2015-05-17 21:51:52 +02:00
Martine Lenders
5ffdbc5652 ng_ipv6_ext: add routing header parsing 2015-05-17 21:51:50 +02:00
c944d54171 core: log: introduce logging API 2015-05-17 21:49:22 +02:00
Martine Lenders
dcfa2681d6 ng_ipv6_ext: initial import of extension header handling 2015-05-17 21:46:56 +02:00
8e1370b7bc sys: auto_init: only auto init network interfaces when module is actually selected 2015-05-17 21:23:10 +02:00
Oleg Hahm
8658a346bd ng_ieee802154: add data type for EUI-64 2015-05-17 21:06:48 +02:00
a89b382297 drivers: xbee: adapt to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
3c00ff0c9b drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
e655137d72 sys: auto_init: introduce new auto initialization scheme for network interfaces 2015-05-17 21:02:00 +02:00
Martine Lenders
4f1d7adfc6 Merge pull request #2910 from authmillenon/ng_ndp/feat/addr-res
ng_ndp: initial import of address resolution
2015-05-17 10:45:12 +02:00
Martine Lenders
db33a1047e shell: add examplery ng_ipv6_nc_still_reachable() 2015-05-17 09:15:03 +02:00
Martine Lenders
ee11a2ae56 ng_ndp: initial import of the address resolution 2015-05-17 09:15:03 +02:00
Martine Lenders
c35a869a90 Merge pull request #3002 from authmillenon/ng_icmpv6_echo/fix/set-id
ng_icmpv6_echo: fix setting of ID field
2015-05-17 02:47:17 +02:00
Martine Lenders
ad001abbe7 Merge pull request #2909 from authmillenon/ipv6_netif/enh/opt
ipv6_netif: prepare for NDP
2015-05-16 21:50:49 +02:00
Oleg Hahm
aec03a11ee Merge pull request #2995 from jfischer-phytec-iot/fix@ip-rm-addr-of-op
sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator
2015-05-16 19:50:23 +02:00
Oleg Hahm
5ad4b1f915 Merge pull request #2996 from jfischer-phytec-iot/fix@icmp-prefix-l-param
sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
2015-05-16 19:50:07 +02:00
Oleg Hahm
be707befbc Merge pull request #2997 from jfischer-phytec-iot/fix@icmp-prefix-search
sys/.../icmp.c: fix prefix search
2015-05-16 19:42:39 +02:00
Martine Lenders
5f1d6f4f43 Merge pull request #2999 from jfischer-phytec-iot/fix@ip-get-best-src-addr
sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
2015-05-16 19:30:05 +02:00
Martine Lenders
e032cda53d Merge pull request #2998 from authmillenon/ng_icmpv6/fix/preset-csum-field
ng_icmpv6: pre-set checksum field to 0 for sending
2015-05-16 19:22:29 +02:00
Martine Lenders
d8285cd3d2 ng_icmpv6_echo: fix setting of ID field 2015-05-16 18:35:48 +02:00
Martine Lenders
9899153fb4 ipv6_netif: piggy-back fix for DEBUG messages 2015-05-16 15:04:56 +02:00
Martine Lenders
5e9a4acd29 shell: adapt sc_netif 2015-05-16 15:03:17 +02:00
Martine Lenders
70d7fae538 ipv6_netif: prepare for NDP 2015-05-16 15:03:16 +02:00
Ludwig Ortmann
6d0a8b222b sys/compat/hwtimer: fix unused fcpu warning 2015-05-16 14:17:14 +02:00
Martine Lenders
87cf93668c ng_icmpv6: pre-set checksum field to 0 for sending 2015-05-16 12:57:43 +02:00
Johann Fischer
7087bdcb50 sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
This patch fixes ipv6_net_if_get_best_src_addr,
the function seems not to be finished.
The patch also adds a filter for the prefixes,
it is necessary because the prefixes are stored
in the same list as the addresses.
2015-05-16 12:33:30 +02:00
Johann Fischer
41cc10520d sys/.../icmp.c: fix prefix search
Replace equal operator inside ndp_prefix_info_search by not equal.
Otherwise, the existing prefix can not be found.
2015-05-16 12:25:43 +02:00
Johann Fischer
b20a7b0a27 sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
Inside the function recv_rtr_adv, ndp_add_prefix_info was called
with the wrong parameter.
2015-05-16 11:35:28 +02:00
Johann Fischer
fd72aaa9ac sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator 2015-05-16 11:06:46 +02:00
Cenk Gündoğan
cf86479e31 ng_ipv6/netif: fix debug in _add_addr_to_entry() 2015-05-16 08:31:57 +02:00
Martine Lenders
2f9054cb70 ng_nettype: adapt for new ethertype 2015-05-15 22:17:02 +02:00
Martine Lenders
02b31292df ng_ethertype: add unknown ethertype
Wireshark uses `0x0000` to disect a protocol. This PR introduces
`NG_ETHERTYPE_UNKNOWN` == `0xffff` so we can use it experimentally
(since it is not disected by Wireshark).
2015-05-15 22:14:14 +02:00
Martine Lenders
0df6729c35 ng_ipv6: fix for API change in #2908 2015-05-15 20:18:38 +02:00
Lotte Steenbrink
e4dfd06c6d fib: rename register function in fib.c too 2015-05-14 18:51:56 -07:00
Martine Lenders
51be1104fc Merge pull request #2979 from Lotterleben/ndp_nc_duplicate_fix
ipv6_nc: no more duplicates if empty entries are found before
2015-05-15 13:22:33 +02:00
Lotte Steenbrink
09a67e050d ipv6_nc: no more duplicates if empty entries are found before 2015-05-14 08:27:15 -07:00
Oleg Hahm
9c72f69de1 Merge pull request #2902 from authmillenon/ng_ipv6/enh/6in6
ng_ipv6: add 6in6 encapsulation support
2015-05-14 15:37:22 +02:00
Oleg Hahm
4d64b98f2c Merge pull request #2756 from jremmert-phytec-iot/pr@ng_kw2xrf
driver/kw2xrf: added ng_netdev implementation for the Freescale kw2x radio
2015-05-14 12:51:00 +02:00
Lotte Steenbrink
6a0a2e8bd6 Merge pull request #2915 from BytesGalore/fib_register_rrp_with_prefix
net/network_layer/fib: added prefix consideration for RRP registration/signaling
2015-05-14 12:01:59 +02:00
Lotte Steenbrink
e32b1cca16 Merge pull request #2975 from authmillenon/ipv6_nc/enh/opt2
ipv6_nc: Make interface optional
2015-05-14 09:21:54 +02:00
Martine Lenders
343bec5593 ipv6_nc: Make interface optional 2015-05-14 04:21:41 +02:00
Oleg Hahm
46a3e8ac83 Merge pull request #2977 from gebart/pr/auto-init-eui64-no-memcpy
sys/net: do not use memcpy for single uint32_t copy
2015-05-13 20:29:28 +02:00
BytesGalore
85bf1c2ade net/network_layer/fib: added prefix consideration for RRP registration/signaling 2015-05-13 20:08:11 +02:00
Oleg Hahm
05f47b2a81 Merge pull request #2974 from sgso/fix_unspecified_src_addr_in_ng_ipv6
ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
2015-05-13 19:02:44 +02:00
Jonas
3287e71d45 Initial import of tests for kw2x radio
squash: driver: fixed typo to pass doccheck

squash: driver: bug fixes after test

squash: adapted Makefiles for correct build behaviour

restructured, no spi interaction in isr anymore

major bugfixes and restructurization

comments addressed

introduce new netconf option, ..AUTOCCA

squash: minor bugfix and add auto-init mechanism

squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Martine Lenders
d1c2f7f72b Merge pull request #2908 from authmillenon/ipv6_nc/enh/opt
ipv6_nc: prepare for NDP
2015-05-13 11:05:39 +02:00
Joakim Gebart
f8204d79d0 sys/net: do not use memcpy for single uint32_t copy
Saves two unnecessary function calls.
2015-05-13 09:52:36 +02:00
Sebastian Sontberg
c0ec7eb892 ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
Later in the handling of IPv6 headers, the source address is only
automatically chosen and filled into the header if the unspecified
address is found in the src field, but it's never set to that value.

The default destination address is set to '::1'.
2015-05-13 00:51:25 +02:00
Martine Lenders
396b913f3d shell: adapt ipv6_nc shell commands 2015-05-12 20:06:09 +02:00
Martine Lenders
3e3f7bdf3c ipv6_nc: simplify API usage for NDP
* Bonus: simplify DEBUG output.
2015-05-12 20:06:09 +02:00
Martine Lenders
87e5f3acaa Merge pull request #2964 from authmillenon/icmpv6/enh/listed-payload
icmpv6: add ability to add listed payload in ng_icmpv6_build
2015-05-12 20:01:30 +02:00
Martine Lenders
dd1b4ec5a7 ng_ipv6: add 6in6 encapsulation support 2015-05-12 19:19:21 +02:00
Martine Lenders
11e5fb3c9e Merge pull request #2728 from authmillenon/ipv6_netif/enh/auto-link-local
ipv6_netif: auto-add corresponding link-local addresses
2015-05-12 19:08:14 +02:00
daniel-k
ca772815ed net/ng_netreg: fix wrong documentation for ng_netreg_register() 2015-05-11 17:26:45 +02:00
Martine Lenders
ed6764f33b icmpv6: add ability to add listed payload in ng_icmpv6_build 2015-05-11 01:27:12 +02:00
Lotte Steenbrink
d743972891 Merge pull request #2960 from authmillenon/shell/fix/ncache-output
shell: fix table output of neighbor cache
2015-05-10 23:25:09 +02:00
Martine Lenders
74e58f953b shell: fix table output of neighbor cache 2015-05-10 14:06:03 +02:00
Oleg Hahm
4d85caee0f Merge pull request #2953 from OlegHahm/ng_sizeof
net: use sizeof(stack) for thread_create
2015-05-10 12:27:05 +02:00
Oleg Hahm
e9145fb911 Merge pull request #2939 from gebart/pr/whitespace-fixes1
Whitespace fixes
2015-05-09 23:46:31 +02:00
Oleg Hahm
c3a60fcea1 net: use sizeof(stack) for thread_create 2015-05-09 20:48:53 +02:00
Oleg Hahm
23d3c636e5 Merge pull request #2922 from authmillenon/ng_ipv6/fix/debug-output
ng_ipv6: fix debug output
2015-05-09 19:57:35 +02:00
Oleg Hahm
ca0d510655 Merge pull request #2943 from OlegHahm/fix_multicast_interface
ng_ipv6: set interface for multicast
2015-05-09 18:40:35 +02:00
Martine Lenders
5ec625b06c Merge pull request #2941 from cgundogan/ng_ipv6_netif_doc_fix2
ng_ipv6/netif: doc fix (interfaces => interface)
2015-05-09 18:36:36 +02:00
Martine Lenders
f3857e9f32 Merge pull request #2945 from authmillenon/sixlowpan_frag/fix/another
sixlowpan_frag: another bugfix for reassembly
2015-05-09 18:36:27 +02:00
Oleg Hahm
332eb13184 ng_ipv6: set interface for multicast
If no interface is given for a multicast, but the node has only one, it
must be set.
2015-05-09 16:23:28 +02:00
Martine Lenders
2c1b516c8e sixlowpan_frag: another bugfix for reassembly 2015-05-09 16:18:16 +02:00
Oleg Hahm
d3250abdbe ng_udp: add CREATE_STACKTEST to thread creation 2015-05-09 14:29:09 +02:00
Martine Lenders
926e1937cc Merge pull request #2935 from authmillenon/netif_hdr/fix/print-addr_len-0
netif_hdr: print 0-length L2 addresses correctly
2015-05-09 12:20:16 +02:00
Martine Lenders
59e4d92fa5 Merge pull request #2938 from cgundogan/ng_ipv6_addr_doc_fix
ng_ipv6/addr: minor doc fix
2015-05-09 12:18:04 +02:00
Cenk Gündoğan
eed5d6ea16 ng_ipv6/netif: doc fix (interfaces => interface) 2015-05-09 10:22:56 +02:00
Joakim Gebart
45c3498091 sys/net/routing/Makefile: Unix line endings 2015-05-09 09:18:31 +02:00
Joakim Gebart
77cd875e8e sys/net/transport_layer/socket_base/socket.c: trailing whitespace 2015-05-09 09:18:18 +02:00
Cenk Gündoğan
58e52b5896 ng_ipv6/addr: minor doc fix 2015-05-09 09:09:00 +02:00
Joakim Gebart
1026e47f8b sys/net/include/socket_base.h: trailing space 2015-05-09 09:06:44 +02:00
Joakim Gebart
21c15bd6f5 sys/net/include/l2_ping.h: trailing space 2015-05-09 09:06:18 +02:00
Joakim Gebart
50ad4e7374 sys/include/net/ng_protnum.h: trailing spaces 2015-05-09 09:05:45 +02:00
Martine Lenders
ec61db5234 netif_hdr: print 0-length L2 addresses correctly 2015-05-08 19:08:21 +02:00
Martine Lenders
bc41cfc93f sixlowpan_frag: Fix some debug messages for nano-specs 2015-05-08 18:32:29 +02:00
Martine Lenders
0514e11805 sixlowpan_frag: fix reassembly buffer garbage collection 2015-05-08 18:32:12 +02:00
Oleg Hahm
ffbd4f6bd2 Merge pull request #2925 from OlegHahm/ng_at86_cleanup
at86rf231: minor cleanup
2015-05-08 14:18:11 +02:00
Oleg Hahm
38ed6a8112 doxygen: cosmetics 2015-05-07 20:46:56 +02:00
BytesGalore
a1be18a1d0 net/network_layer/fib: fixed print type for printing routes 2015-05-07 17:13:55 +02:00
b0ebdbfc89 Merge pull request #2913 from kaspar030/hwtimer_compat
sys: add hwtimer compatibility layer for periph timers
2015-05-07 13:08:26 +02:00
Oleg Hahm
c8aff36237 netconf: added option to en/disable the SFD IRQ
Also includes the implementation for the AT86RF231
2015-05-06 15:58:02 +02:00
0921bce5dd sys: add hwtimer layer for periph timers 2015-05-06 12:04:53 +02:00
Martine Lenders
ab21f5dfc1 ng_ipv6: fix debug output 2015-05-06 11:30:54 +02:00
Sebastian Sontberg
d0ea7c2a0c ng_icmpv6_echo: fix call to undefined function 2015-05-04 14:50:18 +02:00
Oleg Hahm
d1bfa2f2ff Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
ng_icmpv6: Initial import
2015-05-01 11:37:42 +02:00
Lotte Steenbrink
3b3eaab98d Merge pull request #2896 from Lotterleben/aodvv2_fix_rreqtable_redundancy_check
aodvv2: fix check for redundant RREQ
2015-05-01 10:29:13 +02:00
Martine Lenders
229f49ad5d shell: add icmpv6_echo shell handler 2015-05-01 08:34:11 +02:00
Martine Lenders
86133b8404 ng_icmpv6_echo: initial import 2015-05-01 08:34:11 +02:00
Martine Lenders
da2ec1b89e ng_icmpv6_error: add preliminary header 2015-05-01 08:34:11 +02:00
Martine Lenders
591ef1826f ng_icmpv6: Initial import 2015-05-01 08:29:01 +02:00
haukepetersen
a4358bfdee sys/auto-init: added mechanism to init network ifs 2015-04-30 15:08:49 +02:00
Hauke Petersen
195a8d88cd Merge pull request #2892 from authmillenon/ng_ipv6/enh/use-netapi-rcv
ng_ipv6: use netapi_receive()
2015-04-30 11:00:52 +02:00
Martine Lenders
4741a01e36 Merge pull request #2721 from authmillenon/ipv6_nc/feat/iterators
ipv6_nc: add iterators
2015-04-30 08:59:44 +02:00
Martine Lenders
af1f7b4336 ng_ipv6: use netapi_receive() 2015-04-29 22:34:55 +02:00
Martine Lenders
188c1a4ca9 shell: add support for nc iterators 2015-04-29 21:22:29 +02:00
Martine Lenders
a767f66d72 ipv6_nc: add iterators 2015-04-29 21:22:28 +02:00
Martine Lenders
398788d638 ng_udp: remove unused variable 2015-04-29 21:10:29 +02:00
Oleg Hahm
832c6a949c Merge pull request #2874 from authmillenon/sixlowpan_frag/fix/rbuf-fixes
ng_sixlowpan: fixes
2015-04-29 15:48:49 +02:00
Lotte Steenbrink
3d4e98eb1d Merge pull request #2833 from authmillenon/ng_net/feat/hdr-print
ng_net: add header print functions
2015-04-29 12:05:04 +02:00
Martine Lenders
90ece67f94 Merge pull request #2880 from authmillenon/ng_udp/fix/csum
ng_udp: fix checksum calculation for extension headers
2015-04-29 12:01:31 +02:00
Oleg Hahm
51ff5e056c Merge pull request #2625 from cgundogan/rpl_remove_global_root_indication
rpl: remove global variable indicating the root node
2015-04-29 10:41:21 +02:00
Martine Lenders
450abe6154 ng_sixlowpan: use ng_pktbuf_remove_snip() 2015-04-29 01:06:32 +02:00
Martine Lenders
4f5995a4cf ng_sixlowpan_frag: add missing return 2015-04-29 01:06:17 +02:00
Martine Lenders
7c0d86e360 ng_sixlowpan_frag: fix reassembly buffer 2015-04-29 01:06:17 +02:00
Martine Lenders
cba4e5b8f1 pktdump: fix printf formatting
%zu would be the correct format string for `size_t`, but with nano-specs
this is not outputted.
2015-04-28 21:16:47 +02:00
Martine Lenders
067a3498c5 netif_hdr: add print function 2015-04-28 21:16:47 +02:00
Martine Lenders
32e27c3ff3 ipv6_hdr: add print function 2015-04-28 21:16:47 +02:00
Martine Lenders
797de13f01 ng_udp: fix setting of length field
udp_slip contains the UDP header already so this line technically adds
the length of the UDP header twice.
2015-04-28 21:02:52 +02:00
Cenk Gündoğan
b557000c20 rpl: remove global variable indicating the root node 2015-04-28 18:13:40 +02:00
Martine Lenders
3ba2a59cf5 ng_udp: fix checksum calculation for extension headers 2015-04-28 17:05:25 +02:00
BytesGalore
2ffe2e6f1f Merge pull request #2633 from cgundogan/rpl_remove_rpl_get_my_dodag_from_parent_delete
rpl: remove rpl_get_my_dodag() dependency in rpl_delete_all_parents()
2015-04-28 16:24:21 +02:00
BytesGalore
2a8aa7add5 net/network_layer/fib: added clearing flags for expired entries 2015-04-28 14:30:04 +02:00
Hauke Petersen
b15b291e0a net: added ng header for ieee802154 2015-04-27 18:56:59 +02:00
haukepetersen
e66e1dcfbe net/ng_netreg: added include of ng_udp.h 2015-04-26 21:53:07 +02:00
haukepetersen
1441e2fd02 sys/auto_init: added initialization of ng_udp 2015-04-26 21:53:07 +02:00
haukepetersen
b1d8752711 net: added NG_UDP implementation 2015-04-26 21:53:07 +02:00
8921a370dc Merge pull request #2582 from authmillenon/shell/feat/ifconfig-ipv6-output
shell: add ng_ipv6 support for ifconfig
2015-04-26 17:58:27 +02:00
Martine Lenders
cb07cd05e2 shell: add ng_ipv6 support for ifconfig 2015-04-26 14:00:48 +02:00
Martine Lenders
8a5e0d7d82 Merge pull request #2781 from authmillenon/ng_sixlowpan_frag/feat/initial
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 03:20:15 +02:00
Martine Lenders
73d9739258 ng_sixlowpan: Initial import of datagram fragmentation 2015-04-26 02:21:20 +02:00
Oleg Hahm
2d8021ac06 Merge pull request #2857 from authmillenon/ipv6_addr/enh/rename-hdr-check
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-25 17:42:12 +02:00
Martine Lenders
e7860a40cc Merge pull request #2846 from haukepetersen/ng_sc_netif_options
sys/shell: added RAWMODE option to netif sc
2015-04-24 19:26:59 +02:00
Martine Lenders
e2f6fb6b0f Merge pull request #2856 from authmillenon/ng_ipv6/enh/1-if-opt
ng_ipv6: optimize multi-interface support
2015-04-24 19:01:29 +02:00
Hauke Petersen
3f7b705379 sys/shell: added option RAWMODE to netif cmds 2015-04-24 14:53:08 +02:00
Martine Lenders
5a0d222dcd shell: add support for (un-)setting 6LoWPAN support on an interface 2015-04-23 16:23:42 +02:00
Martine Lenders
1d744650cf Merge pull request #2614 from authmillenon/ng_sixlowpan/feat/initial
ng_sixlowpan: initial import
2015-04-23 16:17:43 +02:00
Martine Lenders
5412e0e68b ng_sixlowpan: initial import 2015-04-23 11:29:53 +02:00
Martine Lenders
07e2dbaf7e ng_sixlowpan_netif: initial import 2015-04-23 11:29:51 +02:00
Martine Lenders
82a1f53ff0 ng_ipv6: optimize multi-interface support 2015-04-23 10:57:51 +02:00
Lotte Steenbrink
e6e45ad567 Merge pull request #2736 from authmillenon/shell/fix/netif-return
shell: fix netif command for return values
2015-04-23 10:18:11 +02:00
Martine Lenders
3e9db4371f ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly 2015-04-23 02:26:48 +02:00
Martine Lenders
99c190d3ae ng_ipv6: fix scope of netif header in multicast 2015-04-23 01:43:51 +02:00
Martine Lenders
8e4edf2b72 Merge pull request #2454 from authmillenon/ng_ipv6/feat/initial
ng_ipv6: initial import
2015-04-23 01:10:12 +02:00
Martine Lenders
b6c1dda1f4 Merge pull request #2854 from authmillenon/pktbuf/doc/enhance-pktbuf_add-doc
pktbuf: clarify doc of pktbuf_add()
2015-04-23 00:43:31 +02:00
Martine Lenders
a09909585b shell: fix netif command for return values 2015-04-22 23:34:10 +02:00
Oleg Hahm
126eba73a9 Merge pull request #2606 from cgundogan/rpl_remove_multiple_instance_check
rpl: remove unnecessary check for multiple instances
2015-04-22 23:14:27 +02:00
Martine Lenders
02af5da9bb Merge pull request #2778 from authmillenon/shell/feat/netif-promisc
shell: sc_netif: add set/unset for flags
2015-04-22 23:11:39 +02:00
Martine Lenders
a0c6db6591 ng_ipv6: initial import 2015-04-22 22:12:07 +02:00
Martine Lenders
d994908db4 pktbuf: clarify doc of pktbuf_add()
Fixes #2853
2015-04-22 19:22:41 +02:00
Martine Lenders
c9078b44ab Merge pull request #2845 from haukepetersen/ng_add_netconf_rawmode
net/ng_netconf: added option for setting RAW mode
2015-04-22 17:31:46 +02:00
Martine Lenders
9238b33906 Merge pull request #2837 from OlegHahm/yadf
Yet another doxygen fix
2015-04-22 15:30:23 +02:00
Martine Lenders
94dc48da09 shell: sc_netif: add set/unset for promiscous mode 2015-04-22 15:28:27 +02:00
haukepetersen
96a1c6f74b net/ng_netconf: added option for setting RAW mode 2015-04-21 18:58:58 +02:00
Oleg Hahm
2f3f40587a doc: doxygen fix until sixlowpan is merged
* sixlowpan doxygen group does not yet exist
2015-04-21 18:53:37 +02:00
Oleg Hahm
9edf0b76db doc: aodv specific stuff shouldn't show up in core 2015-04-21 18:53:36 +02:00
Martine Lenders
ac25058f26 Merge pull request #2727 from watr-li/unaligned-access-cortex-m0
Fix unaligned access on Samr21/Cortex-M0
2015-04-21 12:18:03 +02:00
Oleg Hahm
d274fc4a83 Merge pull request #2811 from josephnoir/topic/pthread_cond_osx
Add fix for clockid_t on OS X
2015-04-21 11:25:55 +02:00
Martine Lenders
c660fdfdac Merge pull request #2785 from authmillenon/ng_sixlowpan_ctx/feat/initial
ng_sixlowpan: initial import of a context buffer
2015-04-20 10:22:35 +02:00
Oleg Hahm
09c07e918d Merge pull request #2831 from OlegHahm/transceiver_broadcast
Use transceiver specific broadcast
2015-04-20 10:16:08 +02:00
Martine Lenders
79af989ef6 Merge pull request #2829 from authmillenon/ipv6_addr/fix/init-prefix
ipv6_addr: add missing mask to prefix initialization
2015-04-20 10:05:57 +02:00
Oleg Hahm
8926fa2269 rpl: added debug output for DAO default case 2015-04-19 20:56:05 +02:00
Oleg Hahm
3dd3bbb461 transceiver: use transceiver specific broadcast 2015-04-19 20:35:11 +02:00
Martine Lenders
7cbca8064d Merge pull request #2830 from sgso/fix-pktdump-ipv6-header-version-dump
pktdump: fix formatting of snips and false illegal version warning
2015-04-19 18:22:05 +02:00
Sebastian Sontberg
b228e1a936 pktdump: fix formatting of snip dumps 2015-04-19 16:48:25 +02:00
Oleg Hahm
ca3cae112c ps: updated authorship 2015-04-19 16:36:05 +02:00
Oleg Hahm
5e94995bfb ps: removed unnecessary prototype from header 2015-04-19 16:36:05 +02:00
Oleg Hahm
a31aa449a6 ps: added doxygen documentation 2015-04-19 16:36:05 +02:00
Oleg Hahm
89b32aefe3 ps: thread_print_all() had the wrong module prefix 2015-04-19 16:36:05 +02:00
Sebastian Sontberg
a8c55ff844 pktdump: fix mishap in ip version header dump 2015-04-19 15:16:45 +02:00
Martine Lenders
3a72e5346b unittests: add tests for ng_sixlowpan_ctx 2015-04-18 15:42:42 +02:00
Martine Lenders
39ed4baa92 ng_sixlowpan: initial import of a context buffer 2015-04-18 15:42:42 +02:00
Martine Lenders
43d5fe1e8e ipv6_addr: add missing mask to prefix initialization 2015-04-18 15:40:02 +02:00
Lotte Steenbrink
02efbadc48 aodvv2: fix check for redundant RREQ 2015-04-16 09:34:42 -07:00
Martine Lenders
f58eac2188 Merge pull request #2807 from authmillenon/ipv6_addr/fix/prefix-init
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-16 18:06:21 +02:00
Martine Lenders
534a2f93bf Merge pull request #2814 from authmillenon/pktbuf/fix/remove-fix-return
pktbuf: fix snip-was-head case for pktbuf_remove_snip
2015-04-16 15:47:41 +02:00
Martine Lenders
480924afc0 Merge pull request #2741 from authmillenon/pktdump/feat/dump-ipv6
pktdump: add IPv6 header dump
2015-04-16 15:46:40 +02:00
Martine Lenders
798b9c782a Merge pull request #2816 from authmillenon/pktdump/fix/reply-to-getset
pktdump: reply to netapi get/set
2015-04-16 15:44:07 +02:00
Martine Lenders
62c8d6ba8f Merge pull request #2697 from authmillenon/pktdump/feat/snip-dump
pktdump: dump data of packet snips structured
2015-04-16 15:38:34 +02:00
Joseph Noir
e3a5bb25af Add fix for clockid_t on OS X 2015-04-16 11:43:51 +02:00
Oleg Hahm
22689437fb Merge pull request #2764 from Lotterleben/aodvv2_improve_offers_improvement
AODVv2: fix check if a route offers an improvement
2015-04-16 09:50:40 +02:00
Lotte Steenbrink
b1c3ca458a ng_udp: improve debug output
This PR corrects the faulty debug output from ng_udp.c:151 and unifies
all debug messages with the prefix ``udp: cannot send packet``.
2015-04-15 20:09:35 -07:00
Lotte Steenbrink
aca795ddb2 Merge pull request #2810 from Lotterleben/aodvv2_na_mcast_init
AODVv2: rm unnecessary initialization of na_mcast
2015-04-15 16:06:06 +02:00
Lotte Steenbrink
7f4fc9269d Merge pull request #2812 from BytesGalore/fib_shell_return_values
sys/shell: added missing return values for FIB command handler
2015-04-15 16:05:42 +02:00
Oleg Hahm
a18e9bb443 Merge pull request #2809 from authmillenon/netreg_hdr/fix/unused-parameters
netreg: ignore payload on default case in header build
2015-04-15 10:01:48 +02:00
Martine Lenders
cc95939050 pktdump: reply to netapi get/set
Since some layers need to get options from their neighboring layers the
previous behavior is potentially stack breaking when testing with this
module since no reply is given to this requests, reply blocking the
requesting thread in the process.
2015-04-14 17:09:16 +02:00
Martine Lenders
526d9d7ead pktdump: add IPv6 header dump 2015-04-14 14:21:45 +02:00
Martine Lenders
f34df829dc pktdump: dump data of packet snips structured 2015-04-14 14:20:33 +02:00
Martine Lenders
2c46c79fd5 pktbuf: fix snip-was-head case for pktbuf_remove_snip 2015-04-14 13:48:36 +02:00
e9fb853a81 Merge pull request #2804 from authmillenon/pktbuf/api/pktbuf_remove
pktbuf: add helper function to remove snips from packet
2015-04-14 12:30:14 +02:00
Lotte Steenbrink
82caf87128 Merge pull request #2796 from BytesGalore/aodv_return_on_socket_fail
routing/aodv: added return on failed socket creation for receiver thread
2015-04-14 11:43:36 +02:00
BytesGalore
bbaddc756d sys/shell: added missing return values 2015-04-14 11:41:10 +02:00
Martine Lenders
1230fc4070 ipv6_addr: do not null remaining bits in prefix initialization 2015-04-14 11:12:28 +02:00
Cenk Gündoğan
ac5e9af4e5 Merge pull request #2607 from cgundogan/rpl_update_rt_table_for_all_dodags
rpl: update routing table information for all dodags
2015-04-14 11:11:43 +02:00
Martine Lenders
dde61699f0 netreg: ignore payload on default case in header build 2015-04-14 10:43:03 +02:00
Cenk Gündoğan
19c2ab8bc2 rpl: remove rpl_get_my_dodag() dependency in rpl_delete_all_parents() 2015-04-14 10:09:47 +02:00
Martine Lenders
67602bb443 Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
Martine Lenders
37d214ba1a pktbuf: add helper function to remove snips from packet 2015-04-14 02:06:03 +02:00
Cenk Gündoğan
d27cd45a81 rpl: update routing table information for all dodags 2015-04-13 18:59:22 +02:00
BytesGalore
feff423f07 routing/aodv: added return on failed socket cration for receiver thread 2015-04-13 11:59:12 +02:00
BytesGalore
c47563a745 Merge pull request #2789 from Lotterleben/aodvv2_mutex_fix
AODVv2: fix mutex for route message creation
2015-04-13 11:08:44 +02:00
Martine Lenders
d47cd80945 Merge pull request #2779 from kaspar030/fix_ipv6_addr_string_max_length
sys: net: ipv6: fix max ipv6 address string length
2015-04-11 19:26:01 +02:00
Lotte Steenbrink
5de25a7bd7 AODVv2: fix check if route offers improvement 2015-04-11 06:51:08 -07:00
Lotte Steenbrink
ae88d122e4 rm unnecessary initialization of na_mcast 2015-04-11 02:37:43 -07:00
BytesGalore
580ae0a63d Merge pull request #2786 from Lotterleben/fib_typos
FIB: fix documentation typos
2015-04-10 16:41:13 +02:00
BytesGalore
073f117ad6 Merge pull request #2788 from Lotterleben/fib_parenteses_fix
FIB: remove extraneous parentheses
2015-04-10 16:39:29 +02:00
Lotte Steenbrink
436a105ff7 AODVv2: fix mutex for route message creation 2015-04-10 07:13:35 -07:00
Lotte Steenbrink
0666827d25 FIB: remove extraneous parentheses 2015-04-10 04:33:46 -07:00
Peter Kietzmann
821cf81608 Merge pull request #2773 from kaspar030/make_pktdump_internals_static
sys: net: ng_pktdump: mark internal functions as static
2015-04-10 13:15:25 +02:00
Lotte Steenbrink
d2e6e7ba17 FIB: fix some typos 2015-04-10 03:15:20 -07:00
Oleg Hahm
fce1d4538e Merge pull request #2703 from cgundogan/rpl_rm_initializers
rpl: remove needless initializers
2015-04-10 11:48:52 +02:00
Oleg Hahm
bd828f109e Merge pull request #2350 from gebart/pr/sixlowpan-buffer-name
sixlowpan: rename global buffer->sixlowpan_buffer
2015-04-10 11:38:54 +02:00
Martine Lenders
c94094529d Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
687947d3db Merge pull request #2730 from authmillenon/inet_csum/feat/initial
inet_csum: initial import of Internet Checksum module
2015-04-10 07:24:58 +02:00
Lotte Steenbrink
e130b6929c Merge pull request #2553 from authmillenon/net/feat/hdr-csum
ng_net: introduce checksum calculation
2015-04-10 02:01:10 +02:00
Martine Lenders
cdbd06d2d8 ipv6_netif: fix documentation 2015-04-10 01:29:35 +02:00
Martine Lenders
2dd24edcf8 ipv6_netif: auto-add corresponding link-local addresses 2015-04-10 01:29:33 +02:00
Martine Lenders
9c30851b45 ipv6_hdr: Initial import 2015-04-10 00:41:55 +02:00
Martine Lenders
10bff1c8a3 Merge pull request #2775 from kaspar030/fix-nomac-debug-warning
sys: net: ng_nomac: add cast to debug call to fix warning
2015-04-10 00:26:21 +02:00
Oleg Hahm
63c121528a Merge pull request #2624 from cgundogan/rpl_recv_DIS_multiple_dodags
rpl: check all dodags when receiving DIS messages
2015-04-10 00:20:13 +02:00
Oleg Hahm
540ee49e61 Merge pull request #2653 from cgundogan/rpl_remove_get_my_dodag_dependencies
rpl: remove get_my_dodag dependency by passing the dodag as parameter
2015-04-10 00:18:02 +02:00
Peter Kietzmann
7cbc667199 Merge pull request #2774 from kaspar030/fix_pktdump_priority
sys: net: ng_pktdump: make pktdump have higher-than-main priority
2015-04-09 22:41:18 +02:00
Martine Lenders
a83fecd642 Merge pull request #2710 from haukepetersen/ng_scnetif_state
shell/ng_netif: enable to get/set a device's state
2015-04-09 21:47:53 +02:00
cf53d966be sys: net: ipv6: fix max ipv6 address string length 2015-04-09 21:28:04 +02:00
Oleg Hahm
087b51e10b Merge pull request #2500 from fnack/nhdp_optimize_rx
sys/nhdp: Remove temp address lists to optimize hello processing
2015-04-09 18:43:18 +02:00
8c419bbdf5 sys: net: ng_nomac: add cast to debug call to fix warning 2015-04-09 18:17:35 +02:00
4d15482669 sys: net: ng_pktdump: make pktdump have higher-than-main priority 2015-04-09 18:14:11 +02:00
f63109486b sys: net: ng_pktdump: mark static functions as static 2015-04-09 18:11:52 +02:00
Martine Lenders
b8fea1a2c7 Merge pull request #2735 from authmillenon/ipv6_netif/feat/hl
ipv6_netif: expand interface
2015-04-08 12:18:26 +02:00
Martine Lenders
25b568e6d5 ipv6_netif: fix prefix for address flags
Since NDP will introduce interface specific flags this naming might get
confusing
2015-04-08 10:43:14 +02:00
Martine Lenders
05bcdd5398 ipv6_netif: add flags 2015-04-08 10:43:05 +02:00
Oleg Hahm
a532516205 Merge pull request #2757 from Lotterleben/invalid_routes
AODVv2: Broken & Expired routes to Invalid routes
2015-04-08 09:51:10 +02:00