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

2048 Commits

Author SHA1 Message Date
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
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
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
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
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
c944d54171 core: log: introduce logging API 2015-05-17 21:49:22 +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