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 USEMODULE
s 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