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

2631 Commits

Author SHA1 Message Date
Martine Lenders
fbea5092c3 ng_ipv6_netif: add functions for routing behavior changes 2015-08-11 02:49:18 +02:00
Martine Lenders
4e5fa612c1 ng_ndp: prepare for parallel NDP implementations 2015-08-11 02:49:18 +02:00
Martine Lenders
8aa8b60807 fib: doc fix 2015-08-11 02:29:28 +02:00
Martine Lenders
2e6c974c15 Merge pull request #3568 from haukepetersen/opt_fib_ngprefix
net/fib: removed any ng_'s from the FIB
2015-08-11 02:28:00 +02:00
Martine Lenders
c82dfda445 Merge pull request #3567 from authmillenon/timex/enh/timex_to_str
timex: make timex_to_str more efficient
2015-08-11 02:21:41 +02:00
Martine Lenders
293d0e3b58 ng_netapi: enhance documentation with references 2015-08-11 01:48:28 +02:00
Martine Lenders
ea48b48dd3 timex: make timex_to_str more efficient 2015-08-11 01:33:21 +02:00
Hauke Petersen
85fe67e629 net/fib: removed all ng prefixes from fib 2015-08-10 15:43:55 +02:00
Hauke Petersen
219fd0641f net/ng_pktbuf: added IOVEC export function 2015-08-10 10:37:55 +02:00
Hauke Petersen
b7705feeff net/ng_nettype: added pseudo-type for IOVEC snips 2015-08-10 10:37:55 +02:00
Hauke Petersen
ae83ab52af net/ng_pkt: added function to count snips in pkt 2015-08-10 10:37:55 +02:00
Martine Lenders
a5e039cf4d udp: put UDP header in its own module 2015-08-10 03:18:09 +02:00
Martine Lenders
54fe08feda Merge pull request #3591 from authmillenon/at86rf2xx/api/mv
at86rf2xx: remove ng_ prefix
2015-08-10 02:53:26 +02:00
Martine Lenders
8f9e1656e1 at86rf2xx: remove ng_ prefix 2015-08-10 00:08:21 +02:00
Martine Lenders
f0cb1429f0 native: rename ng_nativenet to dev_eth_tap 2015-08-09 22:04:26 +02:00
Martine Lenders
ca71ae4f59 dev_eth: fix documentation 2015-08-09 22:02:10 +02:00
Oleg Hahm
9e5d717466 ipv6: fix and improve check for global address
* embedded IPv4 addresses are considered as global
* remove check for multicast
* consolidate loopback and unspecified check
2015-08-09 20:22:21 +02:00
Joakim Gebart
0a11d79e9d sys/cpp11-compat: chrono: remove unused include cstdio 2015-08-08 14:44:41 +02:00
Joakim Gebart
d670d6eb51 sys/cpp11-compat: condition variable: fix includes 2015-08-08 14:44:41 +02:00
Joakim Gebart
248fb1c6c0 sys/cpp11-compat: Add C++ runtime helpers
cppsupport.cpp contains functions which are necessary in order to use
some features of the C++ language, e.g. calling static constructors or
virtual functions.

TODO/Not implemented yet:
 - Test virtual functions
 - Handle exceptions (stack unwinding)
 - Run time type identification (RTTI)
2015-08-08 14:44:41 +02:00
Cenk Gündoğan
e24754b6eb Merge pull request #3545 from cgundogan/pr/fib/shell
sys/shell: make dev parameter optional for fibroute
2015-08-08 09:22:50 +02:00
Cenk Gündoğan
6b36a0760b sys/shell/commands/sc_fib.c: make dev param optional 2015-08-08 08:48:56 +02:00
Cenk Gündoğan
1168b1020d ng_fib: pretty print ipv6 addresses 2015-08-08 08:17:39 +02:00
Martine Lenders
b256b9c256 Merge pull request #3579 from authmillenon/ether/api/mv-ether
ethernet/ethertype: remove ng_ prefix
2015-08-07 18:20:14 +02:00
Martine Lenders
9607ade1a1 Merge pull request #3582 from authmillenon/ieee802154/api/mv
ieee802154: remove ng_ prefix
2015-08-07 17:42:02 +02:00
Martine Lenders
59475feaff Merge pull request #3583 from authmillenon/inet_csum/api/mv
inet_csum: remove ng_ prefix
2015-08-07 17:38:26 +02:00
Martine Lenders
0046d8fffb Merge pull request #3572 from cgundogan/pr/sc_ipv6_nc/iface_optional_and_reset
sc_ipv6_nc: make iface optional and add reset function
2015-08-07 17:37:58 +02:00
Martine Lenders
472ee315f0 ethernet/ethertype: remove ng_ prefix 2015-08-07 17:09:19 +02:00
Martine Lenders
5c03268516 inet_csum: remove ng_ prefix 2015-08-07 16:59:13 +02:00
Martine Lenders
e8d5d5576a gnrc: piggy-back some code style changes 2015-08-07 16:53:05 +02:00
Martine Lenders
b7545365df protnum: remove ng_ prefix 2015-08-07 16:02:09 +02:00
Martine Lenders
9cf5e5fb6a ieee802154: remove ng_ prefix 2015-08-07 14:36:04 +02:00
Peter Kietzmann
6908e07322 Merge pull request #3578 from tfar/sandbox/tobias/2015/08/cbor_bytestring_api
cbor: add API to encode non null-terminated byte strings
2015-08-07 09:34:59 +02:00
Oleg Hahm
1373795ec5 Merge pull request #3575 from OlegHahm/ipv6_more_address_types
Ipv6: more address types
2015-08-07 09:22:50 +02:00
Oleg Hahm
7845110369 ipv6: added checks for more address types
Added checks for:
* Global Unicast Addresses
* IPv6 Addresses with Embedded IPv4 Addresses
  * IPv4-Compatible IPv6 Address
  * IPv4-Mapped IPv6 Address
* Site-Local IPv6 Unicast Addresses
2015-08-07 08:15:05 +02:00
Martine Lenders
73a42314a5 Merge pull request #3576 from haukepetersen/mv_netopt
net: remove ng_ from netopt header
2015-08-07 07:17:42 +02:00
Tobias Markmann
f5418fa666 cbor: add API to encode non null-terminated byte strings 2015-08-06 22:30:44 +02:00
Oleg Hahm
edfd8012ed ipv6: removed null-pointer reference in debug 2015-08-06 16:48:17 +02:00
Hauke Petersen
38956457a1 sys: adapted to renamed netopt header 2015-08-06 15:37:11 +02:00
Hauke Petersen
327de5ec06 net: made NETOPT independent from the gnrc stack 2015-08-06 15:24:52 +02:00
2633352f30 sys: make: remove obsolete ieee802154 2015-08-06 12:13:54 +02:00
a5642efc23 sys: net: remove ccnlite-ext-appserver 2015-08-06 12:13:19 +02:00
8fd237d550 sys: make: remove obsolete network Makefile includes 2015-08-06 12:13:19 +02:00
00a44c9147 sys: net: remove AODVv2
(will be upgraded to gnrc soon)
2015-08-06 12:13:19 +02:00
8f51256be8 sys: net: pnet: turn into dummy implementation based on gnrc 2015-08-06 12:13:19 +02:00
c60cd298c5 sys: net: get back socket_base 2015-08-06 12:13:19 +02:00
a227b7334f sys: get back net_help include path 2015-08-06 12:13:19 +02:00
544cf33b17 sys: config: remove saving of obsolete transceiver config 2015-08-06 12:13:18 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Cenk Gündoğan
c7f9bce644 sc_ipv6_nc: add ncache reset functionality 2015-08-05 22:43:04 +02:00
Cenk Gündoğan
fa0b1ba441 sc_ipv6_nc: make iface optional for add 2015-08-05 22:37:25 +02:00
Hauke Petersen
ce73a7d1ca Merge pull request #3558 from OlegHahm/initialize_pointer
ccn-lite: initialize pointer
2015-08-05 18:25:55 +02:00
Martine Lenders
6d9b928818 Merge pull request #3536 from cgundogan/pr/doc/todo
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
Martine Lenders
0aef65bd76 Merge pull request #3559 from OlegHahm/channel_26_as_default
ieee802.15.4: switch to 26 as default channel
2015-08-05 15:51:57 +02:00
Oleg Hahm
9355f05cb7 Merge pull request #3560 from gebart/pr/newlib-getpid_r
sys/newlib: Small fixes
2015-08-05 15:50:08 +02:00
Cenk Gündoğan
71e57aa5bf ng_ipv6: minor debug output fix 2015-08-05 14:17:25 +02:00
Cenk Gündoğan
09aeb31f1a ng_ndp: minor doc fix 2015-08-05 14:16:59 +02:00
Peter Kietzmann
1e2fd34d1e Merge pull request #3557 from OlegHahm/debug_cleanup
debug cleanup
2015-08-05 08:26:13 +02:00
Joakim Gebart
05fd5c16eb sys/newlib/syscalls.c: Clean up _sbrk_r implementation 2015-08-04 21:05:08 +02:00
Joakim Gebart
e7bb223eaa sys/newlib/syscalls.c: Clean up function prototypes 2015-08-04 21:04:34 +02:00
Joakim Gebart
b52c93fdc2 sys/newlib/syscalls.c: Add _getpid_r implementation 2015-08-04 19:55:49 +02:00
Oleg Hahm
761183bfd7 ieee802.15.4: switch to 26 as default channel
In order to avoid collisions with IEEE 802.11b networks, channel 25 or
26 is the best choice.

See for instance https://www.cs.umd.edu/~ctas/bibs/2007/4.pdf
2015-08-04 18:02:27 +02:00
Oleg Hahm
ebd68b21f4 ccn-lite: initialize pointer 2015-08-04 17:54:27 +02:00
Oleg Hahm
4f4b924e6f crypto: replaced printf with DEBUGF
also getting rid of non-ISO compliant __FUNCTION__ macros
2015-08-04 17:47:40 +02:00
Joakim Gebart
e6a1366bec ng_sixlowpan: Fix typo in preprocessor condition for calling pktbuf statistics 2015-08-04 17:25:21 +02:00
Benoît Canet
22da1f834b native: ng: net: Close tap device and cleanup on reboot 2015-08-03 18:17:53 +02:00
Oleg Hahm
64544ee927 Merge pull request #3543 from cgundogan/pr/universal_address/cleanup
sys/universal_address: Makefile cleanup
2015-08-03 12:23:36 +02:00
BytesGalore
f3494b12f5 Merge pull request #3542 from cgundogan/pr/trickle/cleanup
sys/trickle: Makefile and include guards cleanup
2015-08-03 11:22:39 +02:00
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