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

2075 Commits

Author SHA1 Message Date
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
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
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
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
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