Martine Lenders
e9bbd54f58
Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
...
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Aaron Sowry
384fce3ae7
shell: Enable setting acknowledgement request flag from shell
2016-06-07 23:08:00 +12:00
Yonezawa-T2
0de34c91c6
gnrc_ipv6: validates payload size
2016-06-07 10:01:23 +09:00
Martine Lenders
a7d7b1188d
Merge pull request #5517 from aabadie/saul_luminosity
...
sys/phydat: adding luminosity unit (Lux)
2016-06-06 11:38:54 +02:00
e2e3704973
sys/phydat: adding illuminance unit (Lux)
2016-06-06 11:04:11 +02:00
Cenk Gündoğan
7c5c3f2673
gnrc_rpl: doc fix
2016-06-05 23:05:59 +02:00
Martine Lenders
3c9e8ac80d
csma_sender: allow for multi-interface configuration
2016-06-05 14:29:03 +02:00
Martine Lenders
90201bfb6e
csma_sender: assure preconditions
2016-06-05 14:28:31 +02:00
Martine Lenders
a3f2cdd6ea
csma_sender: port to netdev2
2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c
csma_sender: doc fixes
2016-06-05 13:57:10 +02:00
Martine Lenders
26acd3b7ae
csma_sender: some style fixes
2016-06-05 13:57:09 +02:00
Martine Lenders
70b3b1426b
csma_sender: proper prefixing for public functions and macros
2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c
csma_sender: adapt for changes in master
2016-06-05 13:57:09 +02:00
Martine Lenders
1b74fcab6e
csma_sender: fix dependencies
2016-06-05 13:57:02 +02:00
Martine Lenders
8426ca99ca
Merge pull request #4178 from rousselk/csma-sender
...
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
Martine Lenders
98949f5cb4
Merge pull request #5498 from kaspar030/make_msg_content_ptr_void_star
...
core: change msg.content.ptr type to void *
2016-06-03 13:59:25 +02:00
Martine Lenders
c3dcfcf640
Merge pull request #5504 from Yonezawa-T2/sixlowpan_print_elided_address
...
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 12:28:25 +02:00
Yonezawa-T2
7a030004ad
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 18:56:05 +09:00
Peter Kietzmann
e8e9619f01
Merge pull request #5501 from Yonezawa-T2/gnrc_sixlowpan_iphc_propagate_error
...
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 10:07:06 +02:00
Peter Kietzmann
c6e18a91d0
Merge pull request #5500 from Yonezawa-T2/gnrc_sixlowpan_iphc_debug_format
...
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 09:46:58 +02:00
Yonezawa-T2
ba4b099d93
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 11:35:22 +09:00
Yonezawa-T2
a6c14dadb3
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 11:33:08 +09:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Martine Lenders
35077bb224
Merge pull request #4871 from kaspar030/remove_netdev2_isr_arg
...
drivers: netdev2: remove netdev2 event_callback isr_arg
2016-06-02 13:30:30 +02:00
Martine Lenders
9b1ad7820c
Merge pull request #5491 from MohmadAyman/isr_stack_usage
...
cpu: add capability to show stack usage of ISR
2016-06-02 12:31:06 +02:00
aee6a6ad60
Merge pull request #5307 from kaspar030/add_fmt_types
...
sys: fmt: add fmt_u64_dec(), print_u64_dec()
2016-06-02 11:12:40 +02:00
3ad195963d
drivers: netdev2: rename isr_arg
2016-06-02 11:11:40 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
5923f6b137
sys: fmt: add fmt_u64_dec()
2016-06-02 10:40:19 +02:00
MohmadAyman
8da1eb9f7a
ps: provide ISR stackusage information
2016-06-02 09:48:37 +02:00
Oleg Hahm
cc0e8d5b36
Merge pull request #5474 from aabadie/iotlab_no_shell
...
sys/shell: fix build issue when deactivating shell echo (iotlab)
2016-06-01 23:01:34 +02:00
Joakim Nohlgård
92370e846d
sys/cpp11-compat: Add braces around mutex initializer
...
Fixes Clang warning/error:
In file included from .../riot/sys/cpp11-compat/thread.cpp:26:
In file included from .../riot/sys/cpp11-compat/include/riot/thread.hpp:39:
.../riot/sys/cpp11-compat/include/riot/mutex.hpp:47:45: error:
suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
inline constexpr mutex() noexcept : m_mtx{0} {}
^
{}
1 error generated.
2016-06-01 16:21:18 +02:00
Cenk Gündoğan
4a70299d6a
Merge pull request #5300 from cgundogan/pr/gnrc_rpl/without_validation
...
gnrc_rpl: validation configurable on compile-time
2016-06-01 14:10:55 +02:00
4a595d7b19
drivers/bmp180: add saul adaptation
2016-06-01 11:15:01 +02:00
Cenk Gündoğan
0613c8faf4
gnrc_rpl: validation configurable on compile-time
2016-06-01 09:07:55 +02:00
Cenk Gündoğan
25baea1e50
gnrc_rpl: separate validation from msg handling
2016-06-01 09:05:24 +02:00
Cenk Gündoğan
2f9a37a624
gnrc_rpl: move len macros to header file
2016-06-01 09:05:24 +02:00
Cenk Gündoğan
a10151d5f0
Merge pull request #5440 from cgundogan/pr/auto_init/rpl
...
auto_init: initialize gnrc_rpl
2016-06-01 07:59:41 +02:00
Aaron Sowry
63a87fb639
Implement NETOPT_ACK_REQ configuration option.
...
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
Peter Kietzmann
a81a7cea44
Merge pull request #5482 from brummer-simon/random-init-by-seed
...
Added random_init_by_array(uint32_t init_key[], int key_length) ...
2016-06-01 00:02:38 +02:00
Oleg Hahm
5ed98da18a
Merge pull request #5324 from cgundogan/pr/trickle/enhance
...
trickle: uses random.h and includes some enhancements
2016-05-31 23:36:35 +02:00
Oleg Hahm
d1d1c4ee6d
Merge pull request #5377 from miri64/shell/fix/icmpv6-cmd-cast
...
shell: commands: ping6: fix operator order for casting
2016-05-31 22:56:37 +02:00
Cenk Gündoğan
e33011248f
gnrc_rpl: doc: add note about auto-initialization
2016-05-31 22:13:32 +02:00
Cenk Gündoğan
1b4607ab43
auto_init: initialize gnrc_rpl
2016-05-31 22:13:32 +02:00
Simon Brummer
5e20cd9b67
Added random_init_by_array to tinymt32 wrapper
2016-05-31 20:12:24 +02:00
Cenk Gündoğan
6ee680d1f2
Merge pull request #5478 from cgundogan/pr/rpl_p2p/fix
...
rpl_p2p: rm non-existing fib flag
2016-05-31 19:58:19 +02:00
chrysn
e348a8df80
PS: Display waiting for flags
...
This adds support for the recently introduced thread flags mechanism to
the `ps` module; while previously it would show a thread in state
"(null)" when it is blocked on thread_flags_wait_any or
thread_flags_wait_all, it now shoes the state "bl anyfl" or "bl allfl",
respectively. The labels are kept that short to not mess with the
fixed-width layout.
2016-05-31 18:27:14 +02:00
Martine Lenders
a3a02a09be
shell: commands: ping6: fix operator order for casting
2016-05-31 18:04:19 +02:00
Cenk Gündoğan
5c42d430ec
rpl_p2p: rm non-existing fib flag
2016-05-31 11:03:19 +02:00
0c4b760f11
sys/shell: fix build issue when deactivating shell echo (iotlab)
2016-05-29 14:21:11 +02:00
Oleg Hahm
16daabbcfb
Merge pull request #5418 from OlegHahm/tlsf_stats
...
pkg tlsf: statistics
2016-05-27 14:06:15 +02:00
Oleg Hahm
1777409472
ps: add heap statistics for TLSF (if enabled)
2016-05-27 13:48:06 +02:00
fdf12d01b3
sys/shell: adding definition for deactiving prompt and/or echo in shell
2016-05-26 09:36:23 +02:00
Oleg Hahm
b3a4a0f542
Merge pull request #5178 from OlegHahm/netstats_l3
...
net: introduce IPv6 netstats
2016-05-25 15:12:46 +02:00
Oleg Hahm
6707c20b7d
netstats: initial import of IPv6 netstats
2016-05-25 14:44:53 +02:00
Oleg Hahm
ad5ad76db2
Merge pull request #5430 from mtausig/hash_interface
...
Unified interface of hashing functions
2016-05-24 17:12:25 +02:00
Mathias Tausig
ca5564f643
Cleanup: Corrected code style with uncrustify
2016-05-24 16:57:06 +02:00
Mathias Tausig
b30945a2f8
hashes: Cleanup (removed unneccesary increment operator)
2016-05-24 16:57:06 +02:00
Mathias Tausig
dfee5c3274
hashes: Unified the cryptographic hash functions
...
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
Andreas "Paul" Pauli
c805853c34
Merge pull request #5376 from OlegHahm/doxy_fixes
...
doc: document THREAD_STACKSIZE correctly and fix PRNG documentation
2016-05-18 15:00:10 +02:00
Cenk Gündoğan
4303847333
trickle: use random_uint32_range
2016-05-18 08:11:36 +02:00
Cenk Gündoğan
218ec47426
Merge pull request #5447 from cgundogan/pr/ndp/check_null
...
gnrc_ndp: check nc_entry before using it
2016-05-18 07:30:21 +02:00
Oleg Hahm
00ebb4b2ed
gnrc: netapi: assert for correct ACK msg type
2016-05-17 22:33:49 +02:00
Cenk Gündoğan
1791ef5581
gnrc_ndp: check nc_entry before using it
2016-05-17 09:52:16 +02:00
Ian Martin
31c6bcc4d8
xtimer: return after xtimer_spin() when within an ISR
2016-05-10 13:30:40 -04:00
Martine Lenders
4a13324abb
Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
...
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Oleg Hahm
b5bec6a58b
doc: xtimer: be a bit more precise
2016-04-26 13:55:54 +02:00
Martine Lenders
b8787b64c4
Merge pull request #5267 from cgundogan/pr/gnrc_rpl/reduce_scope_now
...
gnrc_rpl: reduce scope of now
2016-04-22 18:23:37 +02:00
Martine Lenders
bf135c4750
Merge pull request #5362 from cgundogan/pr/gnrc_ipv6/remove_unnecessary_check
...
gnrc_ipv6: remove superfluous check for if_entry
2016-04-22 18:18:43 +02:00
Martine Lenders
82a3aae8be
gnrc_ipv6: fix asserts for NHC
2016-04-22 10:11:38 +02:00
Yonezawa-T2
3e70191aee
Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
...
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Oleg Hahm
f6e9a789ed
random: doc: document generic PRNG interface
...
The header was still referring to the Mersenne Twister only
2016-04-20 18:47:04 +02:00
Francesco Ermini
9fa4684203
drivers/xbee: encryption support
...
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix sc_netif.c
fix rebase master interactive
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix rebase conflict 4
fix same missing in patches changes
fix ascii to hex index parser
fix syntax rules
fix syntax issue 2
add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY
fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
452fc917c6
Merge pull request #5352 from authmillenon/gnrc_netdev/doc/add-deprecation
...
gnrc_netdev: add deprecation note
2016-04-20 15:11:25 +02:00
kYc0o
d071b2a23d
Merge pull request #5309 from authmillenon/gnrc_ndp/fix/gua-hack
...
gnrc_ndp: don't let addresses timeout
2016-04-20 14:36:51 +02:00
Hauke Petersen
4ace70199e
Merge pull request #5326 from authmillenon/gnrc_ipv6/fix/revert5179
...
gnrc_ipv6: Revert #5179
2016-04-20 14:34:07 +02:00
Martine Lenders
6dbb51553b
gnrc_netdev: add deprecation note
2016-04-20 14:00:58 +02:00
Martine Lenders
8968b7602f
gnrc_ndp: don't let addresses timeout
...
This is a temporary quick-fix for #5122 to not have GUAs removed on an
interface.
It solves the issue by both not letting the registration run out on the router
and by not letting the lifetime of an auto-configured address expire.
2016-04-20 13:31:53 +02:00
Cenk Gündoğan
66507c8cfe
gnrc_ipv6: remove superfluous check for if_entry
2016-04-20 09:41:45 +02:00
Martine Lenders
84a9ddb2db
gnrc_sixlowpan_iphc: fix comparison signage
2016-04-20 06:55:24 +02:00
Oleg Hahm
5d65d59b34
Merge pull request #5232 from gebart/pr/jfischer-nhc-fix
...
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-19 14:09:11 +02:00
Cenk Gündoğan
7b8e2d5231
Merge pull request #5330 from authmillenon/gnrc_rpl/fix/non-stack-ll
...
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 23:13:54 +02:00
Ian Martin
963f8a495d
sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE
2016-04-18 12:06:20 -04:00
Martine Lenders
f86bf8c9cd
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 17:14:27 +02:00
Martine Lenders
f90b607180
Merge pull request #5320 from cgundogan/pr/shell/icmpv6_without_nc
...
shell: icmpv6_echo: guard call to *_nc_still_reachable
2016-04-17 16:32:19 +02:00
Oleg Hahm
8690a888f5
Merge pull request #5295 from OlegHahm/msg_init_queue_assert
...
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Martine Lenders
85dfed3249
Merge pull request #5283 from kaspar030/make_msg_use_list
...
core: msg: use new list instead of priority_queue
2016-04-17 14:48:50 +02:00
Martine Lenders
d64b922db0
Revert "gnrc ipv6: replace check by assert"
...
This reverts commit 856e1ee0d2
.
2016-04-17 14:06:54 +02:00
Martine Lenders
9789eb249e
Revert "doc: mandatory netif snip for gnrc_ipv6 receive()"
...
This reverts commit f15e038efe
.
2016-04-17 14:06:41 +02:00
Oleg Hahm
bb35913840
core: assert correct msq queue size on creation
...
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
Cenk Gündoğan
1e6b2bcd5d
trickle: uses random.h and includes some enhancements
2016-04-15 15:30:28 +02:00
Hauke Petersen
190c144ac6
sys/saul_reg: fixed return value for rm()
2016-04-15 15:06:25 +02:00
Cenk Gündoğan
2d8c3b47df
shell: icmpv6_echo: guard call to *_nc_still_reachable
2016-04-14 22:05:23 +02:00
592558ff33
sys: net: gnrc: fix IS_WIRED netopt call
2016-04-13 15:22:36 +02:00
Hauke Petersen
5fe57b4659
Merge pull request #4725 from kaspar030/ethos_br_hack
...
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
21edec412a
posix: Remove _t from struct names
2016-04-11 21:46:54 +02:00
DipSwitch
af96279c40
gnrc/nhdp: Remove _t from struct names
2016-04-11 21:46:54 +02:00
DipSwitch
4275e18c08
doc: Fix minior doxygen errors in fib
2016-04-11 21:46:53 +02:00
DipSwitch
54413ece9f
fib: Remove _t from struct names
2016-04-11 21:46:53 +02:00
DipSwitch
7714133f7d
universal_address: Remove _t from struct names
2016-04-11 21:46:53 +02:00
DipSwitch
cd04690070
saul: Remove _t from struct names
2016-04-11 21:46:53 +02:00
edb5f08e5f
sys: net: gnrc_uhcpc: use IS_WIRED for border interface, fix log prefix
2016-04-11 17:03:28 +02:00
8f2e1d2a3f
sys: net: gnrc: uhcp: consider non-ethernet device as wireless
2016-04-11 17:03:28 +02:00
228d642abe
sys: net: gnrc: uhcpc: only start if multiple interfaces found
2016-04-11 17:03:28 +02:00
376b5646ea
sys: net: gnrc: uhcpc: fix pedantic errors
2016-04-11 17:03:28 +02:00
4fb07a852d
sys: net: add UHCP protocol code and gnrc client implementation
2016-04-11 17:03:28 +02:00
Hauke Petersen
7c02c616bd
Merge pull request #4863 from gebart/pr/saul-adc
...
SAUL: Add periph/adc support
2016-04-11 13:13:25 +02:00
Cenk Gündoğan
c0790aaa52
gnrc_sixlowpan_ctx: use correct member for ctx id in debug
2016-04-11 01:26:18 +02:00
kYc0o
82696da9f1
Merge pull request #5191 from malosek/inet_csum_16bit_fix
...
sys: net: crosslayer: fixed inet csum for 16bit platforms
2016-04-10 18:00:09 +02:00
kYc0o
6df58ac767
gnrc: use correct l2addr print len
2016-04-10 16:31:38 +02:00
3f021d4db6
sys: cpp11-compat: add missing priority_queue.h include
2016-04-10 02:32:46 +02:00
Martine Lenders
627b80e4c3
netopt: fix typo in documentation
2016-04-09 13:25:36 +02:00
Cenk Gündoğan
8a07982645
seq: bitwise and instead of mod
2016-04-08 23:53:46 +02:00
Cenk Gündoğan
6f9d3a15ac
gnrc_rpl: reduce scope of now
2016-04-08 19:55:07 +02:00
Joakim Nohlgård
50b48c28eb
sys/saul: Add analog inputs to SAUL via periph/adc
2016-04-08 10:18:12 +02:00
Joakim Nohlgård
bc5ededbbe
sys/newlib: Update _read_r and _write_r to match newlib prototypes in reent.h
2016-04-06 07:46:19 +02:00
Oleg Hahm
a59e100d41
ieee802154: replace literals for lengths by macros
2016-04-04 15:24:47 +02:00
Lotte Steenbrink
5f6cc67c23
Merge pull request #5222 from BytesGalore/fib_use_universal_address_return_values
...
fib: use return constants for `universal_address_compare()`
2016-04-03 13:46:03 +01:00
BytesGalore
8589e8f5bc
fib: removed obsolete check for default route match
2016-04-02 23:15:33 +02:00
BytesGalore
2bbd2d14d3
fib: use return constants for universal_address_compare()
2016-04-02 10:02:09 +02:00
Johann Fischer
f405891b68
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-02 07:52:47 +02:00
Cenk Gündoğan
909c018b24
Merge pull request #5131 from jia200x/newlib_makefile_fix
...
Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN
2016-04-01 15:16:32 +02:00
José Ignacio Alamos Aste
36a7d2962d
Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN
2016-04-01 14:55:28 +02:00
Martine Lenders
8ab89c473a
Merge pull request #4713 from authmillenon/pkg/port/emb6
...
pkg: initial import of emb6 stack
2016-04-01 00:35:54 +02:00
Martine Lenders
0620028e90
xtimer: doc: document required initialization of target fields
2016-03-31 19:08:53 +02:00
kYc0o
ecf7b46155
Merge pull request #4443 from Yonezawa-T2/native_tty_uart
...
native: add UART driver based on /dev/tty
2016-03-31 12:50:13 +02:00
Joakim Nohlgård
be8cf8b7fb
sys/newlib: Fix function definitions to match newlib prototypes
2016-03-31 10:32:51 +02:00
Yonezawa-T2
c4bc42419b
netdev2_tap: continue reading even if no spaces left in pktbuf
...
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.
With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Martine Lenders
0ab8aae529
emb6: add conn_udp wrapper
2016-03-30 18:56:02 +02:00
Martine Lenders
4dbc26fd4e
Merge pull request #3551 from authmillenon/pkg/port/lwip
...
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Martine Lenders
c5dc5b2d24
Merge pull request #5208 from kaspar030/fix_ethos_compile
...
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +02:00
Martine Lenders
5431df6a7e
lwip: initial import of conn_udp wrapper
2016-03-30 17:35:51 +02:00
Martine Lenders
410f44f07d
lwip: initial import of conn_ip wrapper
2016-03-30 17:35:50 +02:00
036e7f248d
drivers: ethos: fix compile errors
2016-03-30 17:09:58 +02:00
Peter Kietzmann
dcafbb8d0c
Merge pull request #4835 from authmillenon/netdev2_test/feat/init
...
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
97de8aa52b
netdev2_test: initial import
...
Imports a generic framework to test and experiment with netdev2-based
modules.
2016-03-30 15:56:25 +02:00
Toon Stegen
eae002c957
sys/include: include stdint when using uint8_t
2016-03-30 15:34:25 +02:00
Peter Kietzmann
3fa8a267b3
Merge pull request #5155 from OlegHahm/diskio_cleanup
...
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
230e105599
Merge pull request #4738 from authmillenon/gnrc_ipv6/fix/accept-dst-for-all-if
...
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 15:05:35 +02:00
Martine Lenders
5532f92057
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 14:54:48 +02:00
Oleg Hahm
1f4d73dde1
Merge pull request #4801 from OlegHahm/netstats
...
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
3dfedd3fc7
Merge pull request #5198 from Yonezawa-T2/fix_compile_auto_init_slip
...
auto_init_slip: fix comparison between signed and unsigned
2016-03-30 13:41:06 +02:00
Oleg Hahm
0925737e28
doc diskio: RIOTized style and added doxygen
2016-03-30 12:54:51 +02:00
Yonezawa-T2
266ed4a2c8
auto_init_slip: fix comparison between signed and unsigned
2016-03-30 19:08:43 +09:00
Cenk Gündoğan
9dbfdcac0b
Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
...
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
38d5fc2476
universal_address: replaced returned literals by defined constants
...
* added and adjusted doxy for the new defined return values
* stripped whitespaces for statements in the compare functions
2016-03-30 10:29:00 +02:00
BytesGalore
1bc9c3bfd2
fib: changed handling of the net prefix
...
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Yonezawa-T2
35cf255330
rpl: fix compile error in DEBUG
2016-03-30 14:16:06 +09:00
Martine Lenders
932bec50ed
lwip: add port for RIOT
2016-03-30 00:10:38 +02:00
malo
06f0d4ea17
sys: net: crosslayer: fixed inet csum for 16bit platforms
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-29 23:31:10 +02:00
Oleg Hahm
4d70c0d52b
shell: introduce parameter to reset netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
021e94ee6a
netdev2: introduce linklayer netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67
netstats: netapi_get and shell command
2016-03-29 22:29:58 +02:00
f626ee5969
Merge pull request #4557 from kaspar030/introduce_intrusive_singly_linked_list
...
core: mutex: several optimizations
2016-03-29 22:25:43 +02:00
3d9020eb46
sys: cpp11-compat: adapt to changed mutex implementation
2016-03-29 21:50:18 +02:00
c0f39bb55f
sys: posix: pthread: fix mutex usage
2016-03-29 21:50:17 +02:00
Martine Lenders
6504671a33
Merge pull request #5179 from OlegHahm/ipv6_recv_assert_instead_check
...
gnrc ipv6: replace check by assert
2016-03-29 19:42:00 +02:00
Oleg Hahm
376874284b
Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
...
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Oleg Hahm
f15e038efe
doc: mandatory netif snip for gnrc_ipv6 receive()
2016-03-29 18:42:58 +02:00
Cenk Gündoğan
ed208c2da8
Merge pull request #4668 from haukepetersen/add_phydat_ffp
...
sys/phydat: dump function can handle fixed floating points
2016-03-29 15:51:00 +02:00
Hauke Petersen
2a4b7cbc91
sys/phydat: dump function can handle fixed floats
2016-03-29 15:23:04 +02:00
Hauke Petersen
95d26d3b94
sys/fmt: added format for fixed floating points
2016-03-29 15:23:04 +02:00
kYc0o
87175905da
Merge pull request #5144 from Yonezawa-T2/fix_pointer_debug_output
...
debug: fix compilation error for %p formatter
2016-03-29 13:44:29 +02:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
Oleg Hahm
48735dc22c
auto_init: fix typo
2016-03-28 23:00:50 +02:00
Oleg Hahm
ccc7b38ada
auto_init: fixup for #5185
2016-03-28 22:50:12 +02:00
Oleg Hahm
34d2940afb
Merge pull request #5185 from OlegHahm/netdev_setup_params
...
netdev2: use params parameter for setup
2016-03-28 22:34:10 +02:00
Oleg Hahm
59674a679b
netdev2: use params parameter for setup
2016-03-28 20:22:20 +02:00
Oleg Hahm
3ba99aabe4
xbee: fix naming inconsistency
2016-03-28 20:22:20 +02:00
Oleg Hahm
028c9d8029
Merge pull request #5139 from authmillenon/gnrc_ndp/fix/unset-isrouter-on-rtr-sol
...
gnrc_ndp: unset isRouter flag for neighbor sending RS
2016-03-28 19:29:33 +02:00
Martine Lenders
802136dd9a
gnrc_ndp: unset isRouter flag for neighbor sending RS
2016-03-28 19:16:51 +02:00
Martine Lenders
6aacfa8a42
Merge pull request #5176 from OlegHahm/netstats_only
...
net: introduce netstats
2016-03-26 11:29:52 +01:00
Oleg Hahm
d6498162f2
netdev2: introduce netstats
2016-03-25 21:43:16 +01:00
Oleg Hahm
856e1ee0d2
gnrc ipv6: replace check by assert
...
The existence of netif is mandatory here.
2016-03-25 17:30:50 +01:00
Cenk Gündoğan
30217f8a7b
Merge pull request #5040 from kYc0o/rid_of_vtimer
...
sys/compat/vtimer: get rid of
2016-03-25 14:35:35 +01:00
Oleg Hahm
9370e49375
Merge pull request #5142 from Yonezawa-T2/native_rename_enable_irq
...
native: fix build on OS X
2016-03-25 14:17:27 +01:00
Oleg Hahm
5db537fbab
ccn-lite: add shell function to remove FIB entry
2016-03-24 18:48:08 +01:00
Oleg Hahm
d3ddbf3223
shell: adapt ccnl commands to changed API
...
Also removes some code duplication
2016-03-24 18:48:08 +01:00
Oleg Hahm
279de8ebe6
pkg ccn-lite: added CCN-Lite FIB shell command
2016-03-24 18:48:08 +01:00
Oleg Hahm
587a435a71
pkg ccn-lite: adapt to updated CCN-Lite version
2016-03-24 18:48:08 +01:00
Martine Lenders
9dcb5cc476
Merge pull request #5134 from OlegHahm/netif_default
...
make: introduce netdev_default pseudomodule
2016-03-24 18:23:49 +01:00
kYc0o
f92b025b85
vtimer: get rid of
2016-03-24 17:10:54 +01:00
Oleg Hahm
10f5f1aa33
make: introduce netif_default pseudomodule
...
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Cenk Gündoğan
c7a29918ca
Merge pull request #5169 from cgundogan/pr/gnrc_netif/DELETE_ALL_INTERFACES
...
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:34:54 +01:00
Cenk Gündoğan
8bc65a9626
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:10:51 +01:00
Hauke Petersen
2510fe03f5
Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
...
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00
Cenk Gündoğan
c8c8a183d9
rpl: p2p-rpl shell extension
2016-03-24 12:12:07 +01:00
Cenk Gündoğan
b5c09bfc41
rpl: introducing p2p-rpl
2016-03-24 12:12:07 +01:00
Martine Lenders
1724ab50fc
Merge pull request #4654 from Yonezawa-T2/fix_ipv6_ext
...
ipv6_ext: fixed extension header handling
2016-03-24 10:53:00 +01:00
Yonezawa-T2
6443a2bb5c
gnrc_pktbuf: Adds a function to duplicate packet chain
2016-03-24 18:20:28 +09:00
Oleg Hahm
826a089419
net ipv6: use full include path
...
Using an "absolute" instead of a relative include path, make the doxygen output less confusing.
2016-03-23 22:39:46 +01:00
Martine Lenders
16e1110c5f
auto_init: adapt autoinitialization of at86rf2xx
2016-03-23 17:45:17 +01:00
Oleg Hahm
a65e6aad59
Merge pull request #5118 from OlegHahm/udp_build_hdr_simplification
...
gnrc: simplify hdr_build functions
2016-03-23 15:31:58 +01:00
Martine Lenders
9a60fb30b7
Merge pull request #5136 from cgundogan/pr/gnrc_rpl/netif_addr
...
gnrc_rpl: add netif_addr to DODAG
2016-03-23 15:27:42 +01:00
Oleg Hahm
cba3ba71ab
gnrc netreg: remove generic hdr build function
2016-03-23 15:20:12 +01:00
Oleg Hahm
32af3f962e
gnrc ipv6: make address parameters const
2016-03-23 15:20:12 +01:00
Oleg Hahm
991c71cf27
gnrc ipv6: use ipv6_addr_t ptr for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
fc919ea28e
netreg: assert correct param length for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
952bd0c7ef
ping: use IPv6 header build instead of generic one
2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033
gnrc ipv6 hdr: remove len params from hdr_build
2016-03-23 15:20:11 +01:00
Oleg Hahm
487f6e480f
gnrc udp: simplify gnrc_udp_hdr_build
...
Directly using 16 bit port numbers instead of casting uint8_t pointers.
2016-03-23 15:20:11 +01:00
Cenk Gündoğan
c0a8ce39ac
Merge pull request #5141 from cgundogan/pr/gnrc_rpl/remove_parent_create_new_fib_entry
...
gnrc_rpl: new default route when old one was deleted
2016-03-23 15:13:53 +01:00
Oleg Hahm
ec78d1308e
Merge pull request #5146 from cgundogan/pr/gnrc_rpl/remove_superfluous_trickle_reset
...
gnrc_rpl: remove superfluous trickle reset
2016-03-23 11:41:39 +01:00
Cenk Gündoğan
eae0e4c724
gnrc_rpl: new default route when old one was deleted
2016-03-23 11:37:33 +01:00
Cenk Gündoğan
b280984862
gnrc_rpl: add netif_addr to DODAG
2016-03-23 10:37:38 +01:00
Cenk Gündoğan
095e4558df
Merge pull request #5135 from cgundogan/pr/gnrc_rpl/proper_iface_handling
...
gnrc_rpl: proper interface handling
2016-03-23 10:34:47 +01:00
Cenk Gündoğan
40349dfa9b
gnrc_rpl: shell: show iface of dodag
2016-03-23 10:12:01 +01:00
Cenk Gündoğan
3b9fda6d03
gnrc_rpl: proper interface handling
2016-03-23 10:12:01 +01:00
Cenk Gündoğan
b1249a5db1
gnrc_rpl: remove superfluous trickle reset
2016-03-23 10:06:04 +01:00
Yonezawa-T2
f0acefd0af
gnrc_ipv6_nc: fix compilation error at debug output
2016-03-23 13:32:38 +09:00
Yonezawa-T2
60c1322505
ps: fix compile error on clang 7.3.0
2016-03-23 12:25:14 +09:00
Cenk Gündoğan
cf94b5016e
gnrc_rpl: thread prio greater than gnrc_ipv6
2016-03-22 18:27:28 +01:00
Oleg Hahm
d1ccfea80a
Merge pull request #5129 from cgundogan/pr/gnrc_rpl/minor_cleanup
...
gnrc_rpl: minor enhancements
2016-03-22 17:26:21 +01:00
Oleg Hahm
1787cb6ed2
Merge pull request #5019 from cgundogan/pr/fib/flush
...
fib: flush entries
2016-03-22 17:16:48 +01:00
Cenk Gündoğan
fc75ff9b29
gnrc_rpl: minor fixes and enhancements
2016-03-22 16:50:16 +01:00
DipSwitch
5b5810ab7b
Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
...
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Joakim Nohlgård
9f6d5c3d34
Merge pull request #4183 from gebart/pr/xtimer-spin-overflow
...
xtimer: Handle overflows in xtimer_spin()
2016-03-22 06:38:19 +01:00
Yonezawa-T2
bc5b0c3140
ipv6_ext: fixed extension header handling
2016-03-22 12:45:08 +09:00
Cenk Gündoğan
771757c84f
Merge pull request #5082 from cgundogan/pr/gnrc_rpl/dodag_conf_optional_on_join
...
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-21 18:22:44 +01:00
Cenk Gündoğan
7d35c06ba4
sys/auto_init: added initialization of mma8652
2016-03-21 16:16:11 +01:00
e1fcee67c0
arm/newlib: Add pseudomodule to enable floating point printf support
2016-03-21 11:47:38 +01:00
Joakim Nohlgård
4fad0394ca
Merge pull request #5119 from gebart/pr/newlib-nano-pmod
...
newlib: Introduce newlib_nano pseudomodule
2016-03-21 10:04:15 +01:00
Joakim Nohlgård
2b51e4b116
newlib: Introduce newlib_nano pseudomodule
2016-03-21 07:41:23 +01:00
5739dbf951
Merge pull request #5116 from mfrey/sys-include
...
make: removed obsolete 'sys/net/include'
2016-03-20 21:12:27 +01:00
Michael Frey
8139749aee
make: removed obsolete 'sys/net/include'
2016-03-20 20:54:09 +01:00
Oleg Hahm
d83f77531e
shell: fix condition for ping command
2016-03-20 18:48:00 +01:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
Joakim Nohlgård
84eb6e9f8f
Merge pull request #5100 from gebart/pr/target-triple-rename
...
make: Rename TARGET_TRIPLE -> TARGET_ARCH
2016-03-20 09:44:29 +01:00
Joakim Nohlgård
bc88a4aec7
sys/xtimer: Fix doxygen for XTIMER_SHIFT
2016-03-19 13:43:16 +01:00
Hauke Petersen
d79a66205c
Merge pull request #4862 from haukepetersen/opt_periph_gpio_mode
...
periph/gpio: merged dir and pushpull parameters
2016-03-18 10:13:28 +01:00
Joakim Nohlgård
7e3c67b654
make: Rename TARGET_TRIPLE -> TARGET_ARCH
2016-03-17 21:55:17 +01:00
Joakim Nohlgård
d4f577238e
gnrc/nettype: Add missing closing Doxygen brace
2016-03-17 20:57:54 +01:00
Hauke Petersen
013eed7fa0
sys: adapted to GPIO changes
2016-03-17 14:55:30 +01:00
Martine Lenders
f42738ed22
gnrc_netdev2: do not override res for for ieee802154
...
`res` is used to set the frame header iovec's length afterwards so overriding
it with a negative number is kind of a bad idea ;-).
2016-03-17 00:20:39 +01:00
Cenk Gündoğan
39255ee8f8
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-16 14:31:49 +01:00
Joakim Nohlgård
3f5bf480fb
Merge pull request #4304 from authmillenon/shell/fix/address-ltime
...
shell: sc_netif: set valid lifetime for manual addresses to infinity
2016-03-16 14:26:57 +01:00
Cenk Gündoğan
46e983afc7
Merge pull request #5081 from cgundogan/pr/gnrc_rpl/rename_req_opts_to_dio_opts
...
gnrc_rpl: shell: rename req_opts to dio_opts
2016-03-16 14:20:46 +01:00
Cenk Gündoğan
3e51233341
sc_gnrc_rpl.c: rename req_opts to dio_opts
2016-03-16 14:16:15 +01:00
Cenk Gündoğan
b15c1a2bd1
gnrc_rpl: rename req_opts to dio_opts
2016-03-16 14:16:15 +01:00
Martine Lenders
480354f4ce
shell: sc_netif: set valid lifetime for manual addresses to infinity
2016-03-16 13:59:59 +01:00
Cenk Gündoğan
6f6ec3c8a5
gnrc_ipv6_nc: refactor nc_remove function
2016-03-16 13:51:21 +01:00
Martine Lenders
0a3b56e0b4
Merge pull request #5006 from immesys/fix-rtr-adv
...
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00
Martine Lenders
312047fa84
Merge pull request #5029 from gebart/pr/6lo-decoded-hdr-snip-ordering
...
gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header
2016-03-16 11:53:53 +01:00
Martine Lenders
2305b9dca7
Merge pull request #5084 from brummer-simon/devel-color
...
RGB color inversion and complementary color calculation added
2016-03-16 11:47:34 +01:00
Simon Brummer
1af9612b34
sys/color: added RGB inversion and complementary color
2016-03-16 11:43:26 +01:00
Joakim Nohlgård
ad40c208c1
Merge pull request #5070 from cgundogan/pr/gnrc_ipv6_nc/remove_timers
...
gnrc_ipv6_nc: remove nc_entry timers
2016-03-16 11:28:52 +01:00
Joakim Nohlgård
373a4d9e2c
Merge pull request #5073 from cgundogan/pr/gnrc_rpl/trickle_parameters_compile_time
...
gnrc_rpl: make trickle parameters configurable
2016-03-16 11:25:46 +01:00
Martine Lenders
cb4df81bd3
Merge pull request #5087 from gebart/pr/br-preferred-lifetime
...
gnrc_ipv6: Set preferred lifetime infinite on addresses in border router scenario.
2016-03-16 11:16:35 +01:00
Joakim Nohlgård
f2883792e0
gnrc_ipv6: Set preferred lifetime infinite on addresses in border router scenario.
2016-03-16 10:59:19 +01:00
Martine Lenders
1caf0bcc8a
Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
...
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6
gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4
2016-03-15 17:11:22 +01:00
Hauke Petersen
236bd201ca
sys/arduino: adapted to changed UART cb type
2016-03-15 14:24:48 +01:00
Cenk Gündoğan
370105760c
gnrc_rpl: make trickle parameters configurable
2016-03-15 14:23:08 +01:00
Hauke Petersen
e855d63d84
net/slip: adapted to uart cb type change
2016-03-15 11:59:20 +01:00
Hauke Petersen
4b67fccf2b
sys/uart_stdio: adapted to cb type change
2016-03-15 11:02:06 +01:00
Cenk Gündoğan
f91e4bde9d
gnrc_ipv6_nc: remove nc_entry timers
2016-03-14 23:45:17 +01:00
Hauke Petersen
a1e3bb1bfc
sys: s/adc_util/analog_util/ and added DAC mapping
2016-03-14 20:39:31 +01:00
Martine Lenders
d66625b6ca
Merge pull request #4430 from haukepetersen/opt_periph_adc
...
drivers/periph: reworked the ADC driver
2016-03-14 14:45:23 +01:00
Martine Lenders
1659b9cc07
Merge pull request #5050 from gebart/pr/ipv6-rm-netif
...
gnrc_ipv6: Strip netif header and nothing else
2016-03-14 13:14:43 +01:00
Joakim Nohlgård
d95e7a3572
xtimer: Handle overflows in xtimer_spin()
2016-03-14 11:19:58 +01:00
Hauke Petersen
5b57bc80b0
sys: added module for simple ADC value converion
2016-03-14 10:38:42 +01:00
Joakim Nohlgård
c3b7f640a0
sys/xtimer: Remove unused XTIMER_USLEEP_UNTIL_OVERHEAD
2016-03-14 08:26:44 +01:00
Ludwig Knüpfer
3955f59f17
Merge pull request #5053 from gebart/pr/newlib-includes-fix
...
sys/newlib: Improve robustness in include path search
2016-03-13 18:28:46 +01:00
Joakim Nohlgård
37ad45d3e9
sys/newlib: Place newlib includes first of the system includes
2016-03-13 07:57:48 +01:00
Joakim Nohlgård
44fee9fc12
sys/newlib: Add include path fallback for non-standard cross toolchain installation locations
2016-03-13 07:57:47 +01:00
Joakim Nohlgård
d770d6ab31
gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header
2016-03-12 11:36:24 +01:00
Joakim Nohlgård
61e2626779
gnrc_ipv6: Strip netif header and nothing else
2016-03-12 11:13:53 +01:00
Martine Lenders
178c3169d7
gnrc_sixlowpan_frag: use IPv6 type for reassembled packet
2016-03-12 10:45:03 +01:00
Oleg Hahm
8baf8f839d
Merge pull request #5047 from Lotterleben/fib_FIB_MSG_RP_SIGNAL_UNREACHABLE_DESTINATION_doc
...
fib: extend FIB_MSG_RP_SIGNAL documentation
2016-03-12 01:52:58 +01:00
Martine Lenders
b3b880be6a
Merge pull request #4903 from kaspar030/xtimer_fixes
...
sys: xtimer: fix some race conditions
2016-03-12 00:18:56 +01:00
Lotte Steenbrink
52cfa865a9
fib: extend FIB_MSG_RP_SIGNAL documentation
2016-03-11 14:10:01 -08:00
Martine Lenders
ae8e0ce787
Merge pull request #5039 from kYc0o/nhdp_without_vtimer
...
sys/net/routing/nhdp: get rid of vtimer
2016-03-11 22:50:36 +01:00
Ludwig Knüpfer
e58786385e
Merge pull request #5022 from cgundogan/pr/rpl/do_not_use_PRIu8
...
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-11 19:08:02 +01:00
kYc0o
6e8d574534
sys/net/routing/nhdp: get rid of vtimer
...
sys/net/routing/nhdp/nhdp.c: fix identation
sys/net/routing/nhdp/nhdp.h: fix typo
2016-03-11 17:47:03 +01:00
Cenk Gündoğan
ba7d6230c0
Merge pull request #4935 from authmillenon/gnrc_sixlowpan_iphc_nhc/fix/frag
...
gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets
2016-03-11 16:41:27 +01:00
Cenk Gündoğan
f5df674a4f
gnrc_pktdump: make pid global
2016-03-11 14:22:20 +01:00
Joakim Nohlgård
dc303a4f0b
sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header
2016-03-11 12:04:00 +01:00
Cenk Gündoğan
a9bacc724f
shell_commands.c: more generic rpl info text
2016-03-11 08:46:03 +01:00
Cenk Gündoğan
57210f6e17
gnrc_rpl: use global ipv6_addr_unspecified
2016-03-11 01:01:52 +01:00
Cenk Gündoğan
1226941be6
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-10 22:51:12 +01:00
René Kijewski
818d703810
Merge pull request #5004 from OlegHahm/core_kernel_macros_attributs_merge
...
core: merge kernel_macros.h and attributes.h into kernel_defines.h
2016-03-10 16:47:10 +01:00
Oleg Hahm
bdcf8879fd
core: merged kernel_macros.h and attributes.h
...
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
Martine Lenders
71b6221b57
Merge pull request #4991 from OlegHahm/gnrc_netdev_cleanup
...
gnrc_netdev: cleanup
2016-03-09 19:30:41 +01:00
Cenk Gündoğan
60f917b3d1
sc_fib.c: add shell command to flush the fib
2016-03-09 17:31:48 +01:00
Cenk Gündoğan
2991addea8
fib: add flush function
2016-03-09 17:30:56 +01:00
Joakim Nohlgård
28aba6f2ab
Merge pull request #5013 from gebart/pr/gnrc-valid-uint32-max
...
gnrc: Set address valid lifetime to UINT32_MAX for border router scenario
2016-03-09 16:27:49 +01:00
Cenk Gündoğan
cfe47585f1
Merge pull request #5000 from OlegHahm/shell_txtsend_help
...
shell: improved online documentation for txtsnd
2016-03-09 15:25:07 +01:00
Joakim Nohlgård
ea8b0325eb
gnrc: Set address valid lifetime to UINT32_MAX for border router scenario
2016-03-09 14:26:17 +01:00
Oleg Hahm
6df4111e49
shell: improved online documentation for txtsnd
2016-03-09 13:41:21 +01:00
Michael Andersen
2f001776db
ndp: fix stub parameters
2016-03-08 23:21:16 -08:00
Michael Andersen
60f6aeaf70
ndp: change rtr adv src to link local
2016-03-08 21:33:35 -08:00
9e3081849e
sys: xtimer: fix some race conditions
2016-03-09 01:51:59 +01:00
Oleg Hahm
b61b8e9f00
sockets: add documentation about implicite binding
2016-03-08 19:48:20 +01:00
Oleg Hahm
ee0f31df9a
conn_udp: document correct create & recv usage
...
Both functions must be called from the same thread.
2016-03-08 19:48:20 +01:00
Oleg Hahm
7552867858
make: removed non-existing gnrc_netdev_eth
2016-03-08 16:33:57 +01:00
Oleg Hahm
c2ebeb1281
gnrc: removed deprecated and unused header
2016-03-08 16:33:12 +01:00
Martine Lenders
d8c3301492
gnrc_netdev_eth: handle error on iovec initialization.
2016-03-07 21:36:35 +01:00
Martine Lenders
32e0c7ae66
Merge pull request #4636 from authmillenon/ieee802154/enh/general-hdr
...
ieee802154: provide general header build and read functions
2016-03-07 21:02:52 +01:00
Martine Lenders
399b8026d3
ieee802154: provide general header build and read functions
2016-03-07 16:40:30 +01:00
Martine Lenders
cba05cc028
Merge pull request #4873 from Yonezawa-T2/zero_udp_checksum
...
udp: fixed a corner case for checksum computation.
2016-03-07 09:21:24 +01:00
Yonezawa-T2
b1dd2818fe
udp: discard UDP packets with zero checksum.
...
RFC 2460 Section 8.1
> IPv6 receivers must discard UDP packets containing a zero checksum,
> and should log the error.
2016-03-07 15:46:29 +09:00
Martine Lenders
c72bae6dba
Merge pull request #4968 from immesys/fix-ndp
...
ndp: fix neighbor advertisement byte ordering
2016-03-06 21:18:28 +01:00
Michael Andersen
1082a93a42
ndp: fix neighbor advertisement byte ordering
2016-03-05 13:39:50 -08:00
c3fe4615bd
sys: posix: posix_semaphore: adapt to thread.h
2016-03-05 18:20:17 +01:00
0bf305e0e7
sys: cpp11-compat: adapt to thread.h
2016-03-05 18:20:17 +01:00
67d3d44927
sys: newlib: include fix
2016-03-05 18:20:17 +01:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
Martine Lenders
ae52bf9a12
gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets
2016-03-04 16:40:45 +01:00
Cenk Gündoğan
4f6d92a5a7
Merge pull request #4951 from authmillenon/auto_init/fix/debug-output
...
auto_init: Print correct SPI bus in DEBUG output
2016-03-04 10:11:08 +01:00
Martine Lenders
4504e40fe0
Merge pull request #4771 from Yonezawa-T2/rbuf_gc_improvement
...
rbuf: does not remove oldest entry if we have entry for current fragment
2016-03-04 05:40:00 +01:00
Cenk Gündoğan
e70c5d416e
Merge pull request #4787 from BytesGalore/doc_crypto_add_word_on_required_cflags
...
doc crypto: add word on using required `CFLAGS`
2016-03-03 13:36:27 +01:00
Martine Lenders
5a97eb3666
auto_init: Print correct SPI bus in DEBUG output
2016-03-03 12:44:51 +01:00
kYc0o
e730f1bdc3
Merge pull request #4878 from locicontrols/cc2538-periph-timer
...
cpu/cc2538/periph/timer overhaul
2016-03-03 11:11:57 +01:00
Martine Lenders
5c8ae83660
Merge pull request #3544 from authmillenon/ng_icmpv6_error/feat/send+neterr
...
gnrc_icmpv6_error: Initial import of IPv6 error convenience functions
2016-03-03 04:29:34 +01:00
Yonezawa-T2
31fa3404ca
rbuf: does not remove oldest entry if we have entry for current fragment
...
If all rbuf slots are in use, `_rbuf_gc` removes the oldest entry even if the
entry for the current fragment exists. This effectively decreases usable slots
by one. This patch makes `_rbuf_gc` removes the oldest entry only if there is
no entry for the current fragment.
2016-03-03 11:19:48 +09:00
Martine Lenders
e76fef89b8
Merge pull request #4936 from OlegHahm/sixlowpan_nalp_fix
...
sixlowpan: check the first 2 bits of dispatch byte
2016-03-03 00:54:37 +01:00
Cenk Gündoğan
10cb4d66bf
Merge pull request #4870 from authmillenon/ipv6_addr/enh/opt
...
ipv6_addr: optimize for size
2016-03-02 22:04:32 +01:00
Hauke Petersen
af48dadb26
Merge pull request #4807 from gebart/pr/saul-lis3dh
...
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
Martine Lenders
ac07862363
Merge pull request #4796 from gebart/pr/udp-nhc-typo
...
6lo: Fix typo in UDP NHC checksum elision bit define
2016-03-01 21:54:32 +01:00
Ian Martin
856c5e1539
s/XTIMER_RSHIFT/XTIMER_USEC_TO_TICKS/g
...
s/XTIMER_LSHIFT/XTIMER_TICKS_TO_USEC/g
2016-03-01 15:18:45 -05:00
Ian Martin
3c275370c3
xtimer: support a negative XTIMER_SHIFT.
2016-03-01 15:15:19 -05:00
Ian Martin
f86c118594
xtimer: define XTIMER_RSHIFT() and XTIMER_LSHIFT() macros to avoid using XTIMER_SHIFT directly.
2016-03-01 15:15:19 -05:00
Martine Lenders
43f84878ec
gnrc_icmpv6_error: Initial import of IPv6 error convenience functions
2016-03-01 20:42:27 +01:00
Oleg Hahm
e8d18c1856
sixlowpan: check the first 2 bits of dispatch byte
2016-03-01 18:33:29 +01:00
Martine Lenders
0e32745b8a
gnrc: replace static initializers with constants where sensible
2016-03-01 18:29:15 +01:00
Martine Lenders
2082296d5b
ipv6_addr: optimize for size
2016-03-01 18:29:15 +01:00
Martine Lenders
754a028929
Merge pull request #4907 from haukepetersen/opt_saul_reg_globalvar
...
sys/saul_reg: made registry a global variable
2016-03-01 14:23:07 +01:00
Martine Lenders
327f7c442c
Merge pull request #4816 from kaspar030/rename_genrand
...
sys: random: rename genrand_* to random_*
2016-03-01 13:58:39 +01:00
Joakim Nohlgård
647c87c9a5
6lo: Fix typo in UDP NHC checksum elision bit define
2016-03-01 12:35:14 +01:00
Peter Kietzmann
c8829a49b8
Merge pull request #4838 from haukepetersen/fix_periph_timerarg
...
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Joakim Nohlgård
3af809bdfc
Merge pull request #4910 from kaspar030/core_header_cleanup
...
core: header cleanup
2016-02-29 22:48:35 +01:00
ded39b461e
sys: random: rename genrand_* to random_*
2016-02-29 21:33:17 +01:00
Oleg Hahm
1e14d6d5d5
Merge pull request #4354 from kaspar030/add_prng_tinymt32
...
sys: random: import tinymt32 PRNG, make it default
2016-02-29 17:53:27 +01:00
Peter Kietzmann
a8b6fba69c
Merge pull request #4664 from haukepetersen/opt_driver_dhtinit
...
drivers/dht: numerous improvements
2016-02-29 16:23:31 +01:00
Hauke Petersen
e9d79a37d6
sys/xtimer: adapted to timer API changes
2016-02-29 14:45:00 +01:00
d9cf871e2e
sys: random: import tinymt32 PRNG
2016-02-29 12:05:31 +01:00
Yonezawa-T2
984e02a7ff
rbuf: made RBUF_INT_SIZE
configurable
2016-02-29 13:02:32 +09:00
2567feebf2
sys: fmt: fix includes
2016-02-28 22:46:28 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
Martine Lenders
2ea563cd8f
sc_netif: check for NULL pointers on send
2016-02-28 06:44:03 +01:00
Cenk Gündoğan
0ac4ee705c
ipv6: rpl: add source routing header for RPL
2016-02-27 20:39:12 +01:00
Oleg Hahm
aeed55a334
Merge pull request #4894 from malosek/malo-xtimer-fixes
...
xtimer: Malo xtimer fixes
2016-02-26 19:17:17 +01:00
Hauke Petersen
3d63db5aed
sys/saul_reg: made registry a global variable
2016-02-26 16:37:02 +01:00
malo
9b8fe52d5d
xtimer: Fixed _add_timer_to_long_list since timer could be added at the wrong position.
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-02-26 12:32:45 +01:00
malo
93eb56c612
xtimer: Fixed case when _xtimer_set_absolute called with target < now and target has _this_high_period .
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-02-26 12:27:15 +01:00
bapclenet
b71dee2593
Merge pull request #4900 from OlegHahm/libcoap_dep
...
libcoap: fix missing dependencies and includes
2016-02-25 13:53:53 +01:00
Martine Lenders
3023ae1a51
Merge pull request #4897 from authmillenon/sixlowpan/fix/missing-headers
...
sixlowpan: include missing headers
2016-02-25 12:38:10 +01:00
Oleg Hahm
94231241ec
posix sockets: missing includes for conn
2016-02-25 10:42:50 +01:00
Martine Lenders
24ffa767ef
sixlowpan: include missing headers
2016-02-25 00:42:02 +01:00
BytesGalore
f0245bd648
hashes/sha256: add sha256-chain computation and verification functions
...
* also added unittetst for it
x[SQUASH ME] separated out all waypoints test and increased waypoints
2016-02-24 19:04:17 +01:00
Oleg Hahm
e0732a5a81
Merge pull request #4701 from OlegHahm/sha1
...
hashes: Import of SHA-1 algorithm
2016-02-23 12:23:21 +01:00
Oleg Hahm
6afd629d1a
hashes: add SHA-1 hashing algorithm
2016-02-23 12:09:37 +01:00
Martine Lenders
8db42427cb
native/drivers/sys: adapt ethernet netdev2 for info struct
2016-02-22 12:37:26 +01:00
Yonezawa-T2
e92c355aba
udp: fixed a corner case for checksum computation.
...
Fixes #4842 .
RFC 2460 section 8.1 (https://tools.ietf.org/html/rfc2460#section-8.1 )
states:
> if that computation yields a result of zero, it must be changed to hex
> FFFF for placement in the UDP header.
2016-02-22 20:30:31 +09:00
Cenk Gündoğan
e0311c85cf
color: add hex2color, color2hex, str2rgb, rgb2str
2016-02-21 20:18:25 +01:00
Hauke Petersen
c5a0589332
sys/auto_init: added intialization of DHT devices
2016-02-20 18:19:20 +01:00
Cenk Gündoğan
847c4868a3
Merge pull request #4851 from cgundogan/pr/icmpv6/debug_fix
...
gnrc_icmpv6: fix debug outputs
2016-02-19 08:13:58 +01:00
Cenk Gündoğan
ee4553e176
gnrc_icmpv6: fix debug outputs
2016-02-19 07:51:10 +01:00
Oleg Hahm
fc398d857d
ndp: fix NCE creation on RA reception
...
RFC4861 says: "If a Neighbor Cache entry is created for the router
[while processing route advertisements], its reachability state MUST be
set to STALE as specified in Section 7.3.3."
2016-02-18 19:53:39 +01:00
Oleg Hahm
0a65d8c558
Merge pull request #4770 from Yonezawa-T2/rbuf_usec
...
rbuf: change arrival time unit from seconds to microseconds
2016-02-16 11:38:06 +01:00
Yonezawa-T2
d5a02b6de1
rbuf: change arrival time unit from seconds to microseconds
2016-02-16 17:22:25 +09:00
Joakim Nohlgård
e2f7ac78f0
Merge pull request #4040 from gebart/pr/periph-timer-init-freq
...
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Martine Lenders
a66ce9c3eb
Merge pull request #4784 from authmillenon/gnrc_pkt/api/search-type-function
...
gnrc_pkt: provide type search function
2016-02-15 13:33:45 +01:00
Ludwig Knüpfer
be4ac58e0c
sys/hashes, sys/checksum: mv fletcher* checksum
2016-02-15 09:29:04 +01:00
Ludwig Knüpfer
1fedd456ce
Revert "crc: rename checksum to CRC"
...
This reverts commit 3f645884a4
.
2016-02-15 09:28:57 +01:00
Joakim Nohlgård
df416c1b76
sys/xtimer: Update to match timer_init API changes
2016-02-13 21:29:36 +01:00
Joakim Nohlgård
2108b85d85
saul: add missing doxygen opening comment
2016-02-13 21:25:13 +01:00
Joakim Nohlgård
8d11fab8bd
drivers/lis3dh: Add SAUL support
2016-02-13 21:25:07 +01:00
Cenk Gündoğan
f93ee8d49d
sc_gnrc_rpl: show state of PIO transmission
2016-02-13 11:29:18 +01:00
Joakim Nohlgård
d414f30b22
Merge pull request #4791 from gebart/pr/small-cleanups
...
misc: small cleanups
2016-02-12 09:14:06 +01:00
Cenk Gündoğan
8da37a4aae
Merge pull request #4793 from cgundogan/pr/gnrc_ipv6/debug
...
gnrc_ipv6: make the DEBUG output useful
2016-02-12 08:55:04 +01:00
BytesGalore
d09ae8f384
doc crypto: add word on using required CFLAGS
2016-02-12 08:41:53 +01:00
Martine Lenders
e52f16bbe0
Merge pull request #4786 from OlegHahm/crypto_doc_fix
...
doc crypto: fixed typo and improved example
2016-02-12 00:11:04 +01:00
Oleg Hahm
4824a45c8a
Merge pull request #4732 from cgundogan/pr/rpl/pio_control
...
rpl: make PIOs in DIOs configurable and send them out always or never
2016-02-11 23:53:51 +01:00
Oleg Hahm
30e9bddee5
Merge pull request #4790 from OlegHahm/ping6_netif_init
...
shell ping6: initialize netif header
2016-02-11 22:14:02 +01:00
Cenk Gündoğan
27a4770601
gnrc_ipv6: make the DEBUG output useful
2016-02-11 16:46:16 +01:00
Joakim Nohlgård
0e316c3159
sys/net/gnrc/zep: Remove unused (static) getter function
2016-02-11 15:13:41 +01:00
Oleg Hahm
141ffac487
Merge pull request #4777 from OlegHahm/netif_retrans
...
shell: netif retransmissions
2016-02-11 15:11:19 +01:00
Oleg Hahm
3b46ddf0f4
shell ping6: initialize netif header
2016-02-11 14:52:25 +01:00
BytesGalore
95de31b4b9
Revert "doc crypto: add word on using CFLAGS
"
...
This reverts commit 30ab688339
.
2016-02-11 13:24:07 +01:00
BytesGalore
30ab688339
doc crypto: add word on using CFLAGS
2016-02-11 13:06:51 +01:00
Oleg Hahm
825ba72751
doc crypto: fixed typo and improved example
2016-02-11 11:44:57 +01:00
Martine Lenders
379703ae3a
gnrc: use gnrc_pkt_search_type instead of LL_SEARCH_SCALAR
2016-02-11 01:05:02 +01:00
Martine Lenders
e8a1fab07d
gnrc_pkt: provide type search function
2016-02-11 01:05:02 +01:00
Cenk Gündoğan
03f34927cd
pktbuf: do not inline gnrc_pktbuf_remove_snip
2016-02-10 16:38:40 +01:00
Kévin Roussel
eaecf17891
Adding an helper 'csma_sender' module, to be able to send packets in CSMA/CA
...
mode, without having to guess if network device does it automatically or not
and being forced to handle it in your (higher level) code
(Corrected, compilation-errors free version)
2016-02-10 11:43:47 +01:00
Oleg Hahm
ea0a913d71
shell: reorder netif output
2016-02-09 17:57:03 +01:00
Oleg Hahm
514cbccfa3
shell: add option for link layer retransmissions
2016-02-09 17:54:00 +01:00
Yonezawa-T2
f638d68ebb
rbuf: drop overlapped fragment only if offset or size differs from previous one.
...
https://tools.ietf.org/html/rfc4944#section-5.3 says:
> If a link fragment that overlaps another fragment is received, as
> identified above, and differs in either the size or datagram_offset
> of the overlapped fragment, the fragment(s) already accumulated in
> the reassembly buffer SHALL be discarded. A fresh reassembly may be
> commenced with the most recently received link fragment.
2016-02-09 11:15:22 +09:00
8cf5ffdabc
Merge pull request #4332 from marshall/customSyscalls
...
cpu/cortexm_common: enable custom newlib syscalls w/ newlib_syscalls_X
2016-02-08 21:46:16 +01:00
Hauke Petersen
f3ac84d43a
drivers: s/CPUID_ID_LEN/CPUID_LEN/
2016-02-08 11:10:59 +01:00
Yonezawa-T2
13a49efce6
shell: rewrote to use new ipv6_addr_split function
2016-02-08 12:43:22 +09:00
kYc0o
66dab58b8a
Merge pull request #4438 from kaspar030/add_eth_over_serial
...
drivers: add ethernet over serial driver
2016-02-08 00:09:03 +01:00
9e3e485ec0
drivers: net: add ethos (ethernet over serial) driver
2016-02-07 19:15:14 +01:00
Marshall Culpepper
160da3fab1
cpu/cortexm_common: enable custom newlib syscalls w/ newlib_syscalls_X
2016-02-06 08:20:42 -05:00
Oleg Hahm
b377491d7c
Merge pull request #4679 from BytesGalore/add_hmac_sha256
...
hashes/sha256: initial commit for hmac-sha256 computation
2016-02-06 12:36:02 +01:00
BytesGalore
b1537bc17c
hashes/sha256: initial commit for hmac-sha256 computation
2016-02-06 08:11:37 +01:00
Martine Lenders
0e40350d81
Merge pull request #4759 from kaspar030/fix_gnrc_netdev2_ipv6_multicast
...
sys: net: gnrc_netdev2_eth: fix ethernet multicast MAC address creation
2016-02-05 23:37:47 +01:00
0fc19f723d
sys: net: gnrc_netdev2_eth: fix ethernet multicast MAC address creation
2016-02-05 23:20:33 +01:00
951f1300a0
sys: shell: ping6: require device parameter for link-local addresses
2016-02-05 18:13:34 +01:00
44e985bf8c
sys: net: ipv6: add print_ipv6_addr()
2016-02-05 14:06:36 +01:00
b9c97d86c2
sys: net: add ipv6 split prefix/interface from address functions
2016-02-05 13:24:45 +01:00
Hauke Petersen
84b44f03dd
Merge pull request #4740 from cgundogan/pr/saul/pull_modes
...
saul: make pull-up/pull-down mode configurable
2016-02-04 16:34:40 +01:00
Oleg Hahm
6ace8234cf
Merge pull request #4715 from OlegHahm/crypto_to_hashes
...
hashes: cleanup
2016-02-04 15:46:41 +01:00
Oleg Hahm
3f645884a4
crc: rename checksum to CRC
2016-02-04 14:58:34 +01:00
Oleg Hahm
6823b47623
doc: add starting page for hash functions
2016-02-04 14:58:34 +01:00
Oleg Hahm
906e2176a9
hashes: some improvements on documentation
2016-02-04 14:58:34 +01:00
Oleg Hahm
809217cf26
checksum: move doc page from include to code path
2016-02-04 14:58:34 +01:00
Oleg Hahm
51db509f7c
sha256: move from crypto to hashes
2016-02-04 14:58:34 +01:00
Cenk Gündoğan
b860ad3715
saul: make pull-up/pull-down mode configurable
2016-02-04 14:57:00 +01:00
Cenk Gündoğan
3a16d021a6
conn: udp: doc fix
2016-02-04 10:51:47 +01:00
Cenk Gündoğan
b654dc3167
rpl: doc: add configuration hints
2016-02-03 13:32:26 +01:00
Oleg Hahm
ca8dbbac20
Merge pull request #4714 from OlegHahm/6lo_nd_lookup
...
6lo nd: prefer NCEs over FIB entries
2016-02-03 11:11:49 +01:00
Cenk Gündoğan
d8f30150b4
rpl: shell: adjust style of commands output
2016-02-03 09:00:30 +01:00
Cenk Gündoğan
73fac82b58
rpl: shell: don't compile PIO code dependent on CFLAGS
2016-02-03 08:59:51 +01:00
Cenk Gündoğan
288212af36
rpl: shell: make PIO transmission configurable via shell
2016-02-03 08:59:27 +01:00
Cenk Gündoğan
11e2ae20b0
rpl: make PIO transmission configurable
2016-02-03 07:32:40 +01:00
Cenk Gündoğan
2242970cad
rpl: don't change status of PIO transmissions
2016-02-03 07:29:36 +01:00
Cenk Gündoğan
50aff7fca0
rpl: unify requested option flags into one byte
2016-02-03 07:13:24 +01:00
Cenk Gündoğan
cb68c01325
ipv6/nc: doc fix and removed unused macro
2016-01-30 15:26:49 +01:00
Oleg Hahm
ae086aeed1
IPv6: cosmetic improvement
...
New condition -> new line
2016-01-29 18:56:03 +01:00
Oleg Hahm
250c288929
6lowpan nd: prefer NCEs over FIB entries
...
If an address can be found in the neighbor cache, it should be used - whatever the FIB may return.
2016-01-29 18:56:03 +01:00
Hauke Petersen
35eb99a46e
Merge pull request #3984 from kaspar030/simplify_reboot
...
core: cpu: sys: simplify reboot()
2016-01-29 14:24:08 +01:00
Martine Lenders
d87ed59e39
auto_init: disable DEBUG
2016-01-29 01:27:28 +01:00
BytesGalore
10ea1226bc
gnrc/ipv6: add blacklisting of IPv6 addresses
2016-01-28 21:50:43 +01:00
Ludwig Knüpfer
1df395f364
Merge pull request #4647 from LudwigKnuepfer/pr/sys-checksum
...
sys/checksum: initial import including CRC16-CCITT
2016-01-28 18:11:35 +01:00
Oleg Hahm
ae8e0957cb
Merge pull request #4705 from cgundogan/pr/ndp/pio_fix
...
ndp/internal: fix pio flags for rtr adv
2016-01-28 16:27:44 +01:00
Oleg Hahm
58eb00e867
Merge pull request #4709 from OlegHahm/remove_hash_string
...
sys: remove hash_string module
2016-01-28 16:12:51 +01:00
Cenk Gündoğan
11e7160b90
Merge pull request #4707 from BytesGalore/change_whitelist_use_memcpy
...
gnrc_ipv6/whitelist: switch assignment operation to `memcpy()`
2016-01-28 14:23:21 +01:00
Oleg Hahm
a57e77e46a
sys: remove hash_string module
...
hash_string implements djb2 which is already part of `sys/hashes/`
2016-01-28 14:20:54 +01:00
Cenk Gündoğan
d58e1385b2
ndp/internal: fix pio flags for rtr adv
2016-01-28 14:03:19 +01:00
BytesGalore
2d1671473b
gnrc_ipv6/whitelist: switch assignment operation to memcpy()
2016-01-28 06:23:31 +01:00
Ludwig Knüpfer
430b4aa600
sys/checksum: initial import including CRC16-CCITT
...
Adds a checksum module which includes an implementation "the CCITT"
variant of the CRC16 algorithm.
2016-01-27 19:28:05 +01:00
Oleg Hahm
dae4253618
Merge pull request #4519 from OlegHahm/fib_remove_superfluous_things
...
FIB: remove superfluous things
2016-01-27 16:12:08 +01:00
938ff5c5e7
core: cpu: sys: simplify reboot()
2016-01-27 13:30:01 +01:00
Martine Lenders
94bbd055a5
Merge pull request #4640 from cgundogan/pr/random/initval
...
sc_random: use a default seed if no xtimer is present
2016-01-27 02:20:11 +01:00
Oleg Hahm
a1ece30c55
fib: remove superfluous parameter
2016-01-26 23:52:18 +01:00
Cenk Gündoğan
d2555af269
sc_random.c: use a default seed if no xtimer is present
2016-01-26 23:28:18 +01:00
Martine Lenders
5ddcf09627
gnrc_ipv6_netif: don't advertise routers without GUAs
2016-01-26 23:25:07 +01:00
Martine Lenders
131cae626c
Merge pull request #3362 from authmillenon/ng_neterr/feat/initial
...
[RFC] gnrc: initial import of an asynchronous error reporting API
2016-01-26 21:35:30 +01:00
Cenk Gündoğan
617796241e
Merge pull request #4295 from authmillenon/gnrc_ipv6_nc/enh/l2addr-lookup
...
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 19:30:01 +01:00
Martine Lenders
d38a9db966
Merge pull request #4551 from authmillenon/sema/fix/post
...
sema: some API fixes
2016-01-26 19:12:41 +01:00
Oleg Hahm
a822271d09
Merge pull request #4374 from authmillenon/sema/fix/timer-pre-set
...
sema: pre-set timeout-timer for sema_wait_timed_msg()
2016-01-26 19:05:12 +01:00
Peter Kietzmann
4d7c068e0d
Merge pull request #4267 from authmillenon/gnrc_pktbuf_static/enh/max_byte_counter
...
gnrc_pktbuf_static: add stat variable for maximum packet buffer byte
2016-01-26 18:45:49 +01:00
Oleg Hahm
3d494c8bf9
Merge pull request #3184 from authmillenon/ng_icmpv6_error/feat/init
...
gnrc_icmpv6_error: initial import
2016-01-26 18:23:54 +01:00
Martine Lenders
a23b9c3310
Merge pull request #4652 from Lotterleben/conn_documentation
...
conn: add more detailed documentation (WIP)
2016-01-26 18:09:36 +01:00
Lotte Steenbrink
be72f2c1cf
conn: add more detailed documentation
2016-01-26 16:54:29 -08:00
Hauke Petersen
bc0a589886
Merge pull request #4680 from authmillenon/od/fix/nano-specs
...
od: fix for nano-specs
2016-01-26 18:09:17 +01:00
test
8d1f91f128
ndp: check for A flag in received PIO
2016-01-26 14:34:48 +01:00
Martine Lenders
da5abe1bcd
gnrc_sixlowpan_nd: use gnrc_ipv6_nc_get_l2_addr()
2016-01-26 10:19:16 +01:00
Martine Lenders
0b787b9e02
gnrc_ndp_node: use gnrc_ipv6_nc_get_l2_addr()
2016-01-26 10:19:16 +01:00
Martine Lenders
0e0eef1273
gnrc_ipv6: use gnrc_ipv6_nc_get_l2_addr()
2016-01-26 10:19:15 +01:00
Martine Lenders
7b21f95df5
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 10:19:15 +01:00
Cenk Gündoğan
c8839b71d8
Merge pull request #4661 from Yonezawa-T2/rpl_propagete_prefix_route
...
gnrc_rpl_control_messages: propagete prefix route via DAO message
2016-01-25 15:51:52 +01:00
Martine Lenders
f99e9e0161
od: piggy-back style fixes
2016-01-24 23:51:41 +01:00
Martine Lenders
2173a33eab
od: fix for nano-specs
2016-01-24 23:46:38 +01:00
Martine Lenders
da23ffe096
gnrc: initial import of an asynchroneous error reporting API
2016-01-23 16:42:19 +01:00
Martine Lenders
4d877c7bf7
gnrc_pktbuf_static: add stat variable for maximum packet buffer byte
2016-01-23 16:41:01 +01:00
Martine Lenders
96075ed2c1
sema: introduce static initializer
2016-01-23 16:38:56 +01:00
Martine Lenders
d5af07c759
sema: style fixes
2016-01-23 16:38:56 +01:00
Martine Lenders
632c9a2bd0
sema: harmonize sema_post return with rest of API
2016-01-23 16:38:55 +01:00
Martine Lenders
47a2df7423
sema: piggy-back some style fixes
2016-01-23 16:35:21 +01:00
Martine Lenders
1dc388fea0
sema: pre-set timeout-timer for sema_wait_timed_msg()
2016-01-23 16:35:21 +01:00
Martine Lenders
70c3d29036
gnrc_icmpv6_error: initial import
2016-01-23 16:04:05 +01:00
Oleg Hahm
e772ef5c39
shell: netif: initialize local variable
2016-01-21 15:00:59 +01:00
Yonezawa-T2
eaf2153681
gnrc_rpl_control_messages: propagete prefix route via DAO message
2016-01-21 11:11:38 +09:00
Thomas Eichinger
d60bfc0ae2
Merge pull request #4574 from haukepetersen/opt_stdiodefs
...
boards: use default values for STDIO defines
2016-01-20 11:48:46 +01:00
Cenk Gündoğan
40f5aeba8a
Merge pull request #4414 from cgundogan/pr/rpl/fix_netapi_commands_handling
...
rpl: fix netapi commands handling
2016-01-13 09:09:33 +01:00
Yonezawa-T2
b37d6337bf
shell: fixed ncache arguments parsing
2016-01-13 10:02:36 +09:00
Cenk Gündoğan
7269cdbf03
rpl: fix netapi commands handling
2016-01-11 18:30:29 +01:00
Oleg Hahm
08ada181b3
Merge pull request #4588 from OlegHahm/posix_socket_sa_family_type
...
posix socket: align size of sa_family_t with Linux
2016-01-08 15:12:52 +01:00
Johann Fischer
2f94d669d7
gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data
...
This patch fixes overflow, which is caused by
(pkt->size - aligned_size). This happens if pkt->size and
new size are unaligned and the difference
between pkt->size and new size is less than four.
2016-01-07 15:17:52 +01:00
Oleg Hahm
35074a6ad1
posix socket: align size of sa_family_t with Linux
...
Linux defines `sa_family_t` as `unsigned short int`. In order to be compatible with Linux code, RIOT should define it the same way.
2016-01-07 11:12:35 +01:00
Martine Lenders
94e4a08f45
Merge pull request #4447 from Yonezawa-T2/fix_gnrc_bugs
...
fixes several bugs on GNRC network stack
2016-01-07 03:38:11 +01:00
Yonezawa-T2
cf35763584
fib: add debug outputs
2016-01-07 10:12:46 +09:00
Yonezawa-T2
c9c83c7dc7
nc: cancel timer set by gnrc_ndp_rtr_sol_handle
in gnrc_ipv6_nc_remove
.
2016-01-07 10:12:46 +09:00
Yonezawa-T2
542e045bba
gnrc_ipv6_netif: fixed crash when ENABLE_DEBUG is 1.
...
When ENABLE_DEBUG is 1, `out` is dereferenced unconditionally, but
`_parse_options` in `gnrc_rpl_control_messages.c` calls it with NULL.
Clarified `out` must not NULL and fixed `_parse_options`.
2016-01-07 10:08:37 +09:00
Yonezawa-T2
5cb904b57e
gnrc_sixlowpan_nd: fixed crash on gnrc_sixlowpan_nd_next_hop_l2addr.
...
When `gnrc_ndp_node_next_hop_l2addr` cannot resolve L2 address, it creates a
temporary neighbor cache entry with interface `KERNEL_PID_UNDEF` (unless the
interface is already known) to send a neighbor solicitation. When another packet
directed to the same address is going to sent before receiving a neighbor
advertisement, `gnrc_sixlowpan_nd_next_hop_l2addr` gets the temporary neighbor
cache entry and calls `gnrc_ipv6_netif_get` with `KERNEL_PID_UNDEF`, resulting
get a `NULL`. We must check `NULL` before dereference it.
FYI, both `gnrc_ndp_node_next_hop_l2addr` and
`gnrc_sixlowpan_nd_next_hop_l2addr` are enabled when
`gnrc_sixlowpan_border_router_default` module is enabled with `GNRC_NETIF_NUMOF`
is greater than 1:
gnrc_sixlowpan_border_router_default
→ gnrc_ipv6_router_default
→ gnrc_ndp_router (if GNRC_NETIF_NUMOF > 1)
→ gnrc_ndp_node
→ gnrc_ndp_node_next_hop_l2addr is called from _next_hop_l2addr
gnrc_sixlowpan_border_router_default
→ gnrc_sixlowpan_nd_border_router
→ gnrc_sixlowpan_nd_router
→ gnrc_sixlowpan_nd
→ gnrc_sixlowpan_nd_next_hop_l2addr is called from _next_hop_l2addr
2016-01-07 10:02:49 +09:00
Martine Lenders
86bf9ae4c4
Merge pull request #4584 from BytesGalore/quickfix_default_route_shell
...
shell fib: recognize the default route as net prefix
2016-01-06 15:33:44 +01:00
BytesGalore
b8ba3f589f
shell fib: recognize the default route as net prefix
2016-01-06 15:51:44 +01:00
Cenk Gündoğan
c7dec59241
Merge pull request #4580 from authmillenon/shell/fix/nano
...
shell: commands: fix selective outputs for nano specs
2016-01-06 14:23:27 +01:00
Martine Lenders
a4a8e83ac7
Merge pull request #4446 from Yonezawa-T2/neighbor_discovery_option_for_6lowpan
...
gnrc_ndp: fixed ND Option handling for 6LoWPAN
2016-01-06 14:03:43 +01:00
Yonezawa-T2
639f7dc020
gnrc_ndp: fixed ND Option handling for 6LoWPAN
...
The forms of the Source/Target Link-layer Address option for 6LoWPAN are defined
in RFC 4944 Section 8:
https://tools.ietf.org/html/rfc4944#section-8
The address is 16 bit if length is 1, 64 bit if length is 2.
2016-01-06 09:38:47 +09:00
Martine Lenders
950b80cce7
shell: commands: fix nano specs issues for ifconfig command
2016-01-05 23:17:07 +01:00
Martine Lenders
921f9d440c
shell: commands: fix nano specs issues for ping6 command
2016-01-05 23:17:07 +01:00
DipSwitch
6c521916cd
Merge pull request #4559 from thomaseichinger/pr/fix_tftp_formating
...
tftp: fix formatting warnings/errors
2016-01-05 20:26:40 +01:00
Thomas Eichinger
a43cbd17ff
tfpt: fix formating warnings/errors
2016-01-05 14:59:34 +01:00
Hauke Petersen
e071beab08
sys/uart_stdio: cleanup
...
- removed duplicate include
- changed default device from '0' to UART_DEV(0)
2016-01-05 12:08:31 +01:00
Cenk Gündoğan
e79a471931
Merge pull request #4533 from Yonezawa-T2/gnrc_add_missing_unlock
...
gnrc_ndp_internal: add missing unlock when the pktbuf is full
2016-01-04 16:05:17 +01:00
Yonezawa-T2
38d3dc725b
gnrc_ndp_internal: add missing unlock when the pktbuf is full
...
Squashed a commit by Cenk Gündoğan <cnkgndgn@gmail.com>.
2015-12-25 11:08:28 +09:00
Cenk Gündoğan
7d628514ab
sixlowpan: iphc: fix dependencies for udp and nhc
2015-12-23 13:57:55 +01:00
Cenk Gündoğan
237706dd9e
sixlowpan: iphc: remove dispatch and assign result to pkt
2015-12-22 20:54:39 +01:00
Martine Lenders
21beaa7529
gnrc_udp: fix false assumed packet order
2015-12-22 17:14:33 +01:00
Martine Lenders
d342d35dd8
gnrc_sixlowpan: Fix IPHC/NHC packet order problem
2015-12-22 17:14:33 +01:00
Oleg Hahm
b7a7578e21
Merge pull request #4507 from authmillenon/gnrc_ipv6/fix/no-order-assumptions
...
gnrc_ipv6: make no pre-assumption about any marked headers
2015-12-22 11:18:47 +01:00
Oleg Hahm
83649ddb59
Merge pull request #4531 from Yonezawa-T2/gnrc_avoid_infinite_loop
...
sixlowpan: fixed infinite loop
2015-12-22 11:11:55 +01:00
Martine Lenders
34974abac2
Merge pull request #4534 from Yonezawa-T2/gnrc_off_by_1_overrun
...
gnrc_ipv6_netif: fixed buffer overrun
2015-12-22 10:29:57 +01:00
Martine Lenders
5b4ef433a8
Merge pull request #4532 from Yonezawa-T2/gnrc_safe_no_routers
...
gnrc_sixlowpan_nd: fixed crash when there are no routers
2015-12-22 09:15:49 +01:00
Yonezawa-T2
08ba1f8640
gnrc_ipv6_netif: fixed buffer overrun
2015-12-22 11:30:05 +09:00
Yonezawa-T2
fe0e58dce1
gnrc_sixlowpan_nd: fixed crash when there are no routers
2015-12-22 11:29:57 +09:00
Yonezawa-T2
9108d2779d
sixlowpan: fixed infinite loop
...
When prefix entry is resued, it may form a looped list, results in infinite loop
in gnrc_ndp_internal_send_rtr_adv.
This patch avoids looped lists.
2015-12-22 11:29:04 +09:00
Johann F
adfcef4f7b
gnrc_ndp.c: parsing of SLLAO in gnrc_ndp_rtr_sol_handle
...
Do not set the link-layer address if no SLLAO was included
into the router solicitation.
2015-12-19 01:16:24 +01:00
Martine Lenders
68309045ed
gnrc_ipv6: make no pre-assumption about any marked headers
2015-12-18 18:31:24 +01:00
Cenk Gündoğan
079f66908b
rpl: minor doc fix
2015-12-16 09:42:37 +01:00
Oleg Hahm
c811380440
Merge pull request #4468 from cgundogan/pr/posix_sockets/close_fd_fix
...
posix_sockets: fix overflowing fd in close()
2015-12-12 12:13:51 +01:00
Cenk Gündoğan
0ddfffc0c2
posix_sockets: fix overflowing fd in close()
2015-12-12 04:24:23 +01:00
Cenk Gündoğan
6f92b056f9
posix_sockets: do not use the address of best_match
2015-12-12 02:51:00 +01:00
Thomas Eichinger
56d61d4be7
Merge pull request #4444 from Yonezawa-T2/fix_clang_warnings_for_os_x
...
fix warnings/errors thrown by clang on OS X
2015-12-10 10:51:47 +01:00
Cenk Gündoğan
6e332dc0b5
Merge pull request #4440 from OlegHahm/ccnl_first_fixes
...
CCN-Lite: first fixes
2015-12-10 08:04:28 +01:00
Oleg Hahm
759ec83514
shell ccnl: properly initialize buffers
2015-12-10 07:23:22 +01:00
Oleg Hahm
395141fd22
shell ccnl: break & print after receiving content
2015-12-10 07:23:22 +01:00
Yonezawa-T2
c36766a31f
OSX: fix warnings/errors thrown by clang on OS X
...
gnrc_ipv6_nc, gnrc_sixlowpan, gnrc_netdev2_eth, gnrc_ipv6, xbee, sixlowpan,
sc_gnrc_6ctx
2015-12-10 11:23:56 +09:00
Cenk Gündoğan
76195bf48b
doxygen: gnrc: fix typos
2015-12-09 13:18:23 +01:00
Martine Lenders
877e070112
Merge pull request #4415 from cgundogan/pr/gnrc/doc
...
gnrc: enhance documentation
2015-12-09 12:10:04 +01:00
Oleg Hahm
a3bd67da2b
shell ccnl: PRNG should be initialized only once
...
Initialization of PRNG is taken care of by CCN-Lite.
2015-12-09 00:12:37 +01:00
Cenk Gündoğan
c21fbe9574
doxygen: use uppercase GNRC
2015-12-08 21:01:39 +01:00
Cenk Gündoğan
0b77b259ef
gnrc: enhance documentation
2015-12-08 21:01:39 +01:00
Oleg Hahm
693d438068
Merge pull request #4189 from jfischer-phytec-iot/wip@nhc-udp
...
gnrc_sixlowpan_iphc.c: add nhc udp encoding and decoding
2015-12-08 16:49:25 +01:00
Oleg Hahm
e8ed9fbe83
Merge pull request #4386 from OlegHahm/posix_sockets_stream_fixes
...
POSIX sockets: implicit bind for connect()
2015-12-08 16:35:29 +01:00
Oleg Hahm
e062a497e9
Merge pull request #4425 from authmillenon/doc/enh/netapi
...
doc: gnrc netapi: make get/set documentation clearer
2015-12-08 16:21:06 +01:00
Johann Fischer
c6ab57f468
gnrc_udp.c adapt for nhc udp encoding and decoding
2015-12-08 14:50:25 +01:00
Johann Fischer
a85d50b9d1
gnrc_sixlowpan_iphc.c: add nhc udp decoding and encoding
...
This patch adds UDP Header Compression and Decompression as
specified in https://tools.ietf.org/html/rfc6282#section-4.3
UDP NHC module will be included only if UDP is used.
2015-12-08 14:50:25 +01:00
Johann Fischer
199789ffbc
gnrc_sixlowpan.c: fix warning if GNRC_SIXLOWPAN_FRAG module not used
2015-12-08 13:59:15 +01:00
Cenk Gündoğan
338acc0b7c
Merge pull request #4200 from haukepetersen/add_driver_enc28j60
...
drivers: added support for the enc28j60 ethernet chip
2015-12-08 13:17:51 +01:00
Martine Lenders
15220b26ad
Merge pull request #4381 from PeterKietzmann/sixlo_frag_unblocking
...
gnrc_sixlowpan_frag: Make fragmentation non-blocking
2015-12-08 13:13:48 +01:00
Oleg Hahm
e07c98ea88
Merge pull request #4274 from OlegHahm/ccnl_reimport
...
CCN-lite reimport
2015-12-08 12:11:33 +01:00
Oleg Hahm
11add4d8fd
sockets: implicit bind for connect()
...
According to
http://pubs.opengroup.org/onlinepubs/009695399/functions/connect.html
for a "socket [that] has not already been bound to a local address,
connect() shall bind it to an address which, unless the socket's address
family is AF_UNIX, is an unused local address."
2015-12-08 11:57:20 +01:00
Hauke Petersen
692e22eb18
sys/auto_init: added initialization for enc28j60
2015-12-08 11:51:18 +01:00
Hauke Petersen
cf53aeddd8
Merge pull request #4382 from haukepetersen/rm_core_flagsh
...
core: move thread flags from flags.h to thread.h
2015-12-08 11:36:43 +01:00
Oleg Hahm
13958178f5
shell: move ccnl commands from example to shell
2015-12-08 11:27:03 +01:00
Oleg Hahm
666b347eeb
net: ETH_ALEN as alias for ETHERNET_ADDR_LEN
2015-12-08 11:27:03 +01:00
Oleg Hahm
796cb58a8a
net: added NDN ethertype
2015-12-08 11:27:03 +01:00
Oleg Hahm
3fddead681
net: added packet header
2015-12-08 11:27:03 +01:00
Oleg Hahm
e257563bd3
posix: added packet address family
2015-12-08 11:27:03 +01:00
Oleg Hahm
7e26470288
gnrc nettype: added a CCN nettypes
2015-12-08 11:27:03 +01:00
Oleg Hahm
0250d62509
Merge pull request #4358 from OlegHahm/eliminate_pedantic_errors
...
Eliminate pedantic errors
2015-12-08 02:05:30 +01:00
Hauke Petersen
41979b64cd
sys: adapted to renamed THREAD FLAGS
2015-12-07 22:09:47 +01:00
Oleg Hahm
de9965adef
sys: fix pedantic compiler warnings
2015-12-07 20:28:52 +01:00
Oleg Hahm
b87a0f12b0
arduino header: fix pedantic compiler warnings
2015-12-07 20:28:52 +01:00
PeterKietzmann
331fa34502
gnrc_sixlowpan_frag: msg based fragmentation
2015-12-07 17:49:02 +01:00
8c6f373b98
sys: fmt: fix converting "0" in fmt_u32_dec()
2015-12-07 16:42:39 +01:00
Martine Lenders
395706a4b9
doc: gnrc netapi: make get/set documentation clearer
2015-12-07 15:08:39 +01:00
Cenk Gündoğan
69a493a613
rpl: shell: only print the first 32 bits of the trickle intervals
2015-12-05 07:35:31 +01:00
Cenk Gündoğan
6abda39890
Merge pull request #4408 from cgundogan/pr/gnrc_conn/doc_fix
...
gnrc: remove dot from name
2015-12-04 18:13:01 +01:00
Oleg Hahm
66203fc813
Merge pull request #4407 from cgundogan/pr/gnrc_pkt/doc_fix
...
gnrc_pkt: Packets => Packet
2015-12-04 17:59:29 +01:00
Cenk Gündoğan
0f456e4f05
gnrc: remove dot from name
2015-12-04 17:56:16 +01:00
Cenk Gündoğan
59b0895280
gnrc_pkt: Packets => Packet
2015-12-04 17:46:10 +01:00
Thomas Eichinger
e7cbf3d6de
Merge pull request #4406 from cgundogan/pr/arduino/doc_fix
...
arduino: minor doc fix
2015-12-04 17:31:15 +01:00
Cenk Gündoğan
7761045c48
arduino: minor doc fix
2015-12-04 17:27:44 +01:00
Cenk Gündoğan
c56f8530ad
rpl: shell: do not use PRIu64
2015-12-04 15:42:18 +01:00
Cenk Gündoğan
de8ea8b206
Merge pull request #4400 from OlegHahm/netif_exist
...
gnrc netif: add a check for interface existence
2015-12-04 14:26:35 +01:00
Lucas Jenß
80b771af5e
Merge pull request #4266 from A-Paul/shell_ping6_addrerr
...
ping6: dedicated message at address parsing error
2015-12-04 09:27:01 +01:00
DipSwitch
ede923bc5c
tftp: implement TFTP server and client
...
Fix: packet size and typo in transfer mode main -> mail
2015-12-03 21:45:48 +01:00
Oleg Hahm
9f7be0a2e5
gnrc netif: add a check for interface existence
2015-12-03 18:35:23 +01:00
Martine Lenders
281b0ba46e
Merge pull request #4343 from kb2ma/misc/fix-checksum
...
Fix UDP/ICMPv6 checksum for a sliced/accumulated payload.
2015-12-03 13:16:12 +01:00
Hauke Petersen
0b15943cc1
Merge pull request #4373 from haukepetersen/opt_ipv6_addr
...
net/gnrc/ipv6: de-inlined ipv6_addr_equal
2015-12-03 12:11:14 +01:00
Oleg Hahm
c96c5dda24
IPv6 netif: documentation ammendment
2015-12-02 18:11:55 +01:00
Oleg Hahm
b366e59c87
conn: add function to find the best source address
...
...and use it in POSIX sendto() function.
2015-12-02 18:11:55 +01:00
Cenk Gündoğan
315ae0eeb4
Merge pull request #4326 from OlegHahm/posix_sockets_dgram_fixes
...
posix sockets: recvfrom on connectionless transports
2015-12-02 17:21:27 +01:00
Oleg Hahm
860321c3e9
posix sockets: use network byteorder for port
2015-12-02 14:45:43 +01:00
Oleg Hahm
5f663826c7
posix sockets: remove pointless inline function
2015-12-02 14:45:43 +01:00
Oleg Hahm
c366f2bbcd
sockets: perform implicit bind during sendto()
...
A client should not require to explicitly call bind() to receive packets, but is expected to receive replies sent to the ephemeral port that was selected as a source port by the UDP implementation.
2015-12-02 14:45:43 +01:00
Oleg Hahm
0153933241
posix sockets: store src_port in socket struct
2015-12-02 14:38:52 +01:00
Andreas "Paul" Pauli
46f3729798
ping6: dedicated message at address parsing error
2015-12-02 14:34:10 +01:00
Ken Bannister
1abffc84e1
Update layer 4 files to fix checksum with inet_csum_slice().
2015-12-02 05:53:58 -05:00
Ken Bannister
835a2d8a27
Add inet_csum_slice() to fix checksum for a sliced layer 4 payload
...
Padding for an odd number of bytes was not calculated properly.
2015-12-02 05:53:52 -05:00
Hauke Petersen
da39b3e939
net/gnrc/ipv6: de-inlined ipv6_addr_equal
2015-12-01 18:54:35 +01:00
Hauke Petersen
6134dc80fd
sys/phydat: fixed typos in documentation
2015-12-01 14:34:59 +01:00
e53dc6f5e2
Merge pull request #3538 from haukepetersen/add_sensif_actif
...
Introducing SAUL, the [S]ensor [A]ctuator [U]ber [L]ayer
2015-12-01 11:01:20 +01:00
Oleg Hahm
218b3a4c3a
Merge pull request #4138 from rousselk/netopt-cca-threshold
...
Add a netopt for getting and setting CCA threshold
2015-12-01 01:47:14 +01:00
Hauke Petersen
7accaa7b74
sys/shell: removed shell cmds for SAULified sensors
...
- isl29020
- l3g4200d
- lps331ap
- lsm303dlhc
2015-11-30 20:33:55 +01:00
Hauke Petersen
4950650c19
sys/auto_init: added auto init for SAUL devices
2015-11-30 20:33:54 +01:00
Hauke Petersen
9d5a39cc3b
sys/shell: added shell command for SAUL
2015-11-30 20:33:54 +01:00
Hauke Petersen
6d14d429e6
sys: added SAUL registry
2015-11-30 20:33:53 +01:00
Hauke Petersen
786895a378
sys: added module for handling physical data
2015-11-30 20:33:53 +01:00
Lucas Jenss
ddaa9863f2
Add 256 byte block hamming code implementation
2015-11-30 20:08:36 +01:00
Oleg Hahm
4d27214a8d
Merge pull request #4258 from BytesGalore/cpp11_use_xtimer
...
cpp11: vtimer->xtimer
2015-11-30 19:30:40 +01:00
Jonas
4ab55873dd
implement cca_threshold settings to shell
2015-11-30 13:15:25 +01:00
Kévin Roussel
be49059c65
Add NETOPT_CCA_THRESHOLD option to the 'netopt_t' list
2015-11-30 13:07:00 +01:00
2d1ad4b31e
Merge pull request #4272 from OlegHahm/xtimer_msg_receive_timeout
...
xtimer: implement missing msg receive timeout
2015-11-29 00:02:08 +01:00
2cf68f30ec
Merge pull request #4312 from kaspar030/misc_fmt_compile_fixes
...
cpu: atmega_common, msp430: misc libc fixes for fmt
2015-11-28 23:47:09 +01:00
BytesGalore
c1a3ccdef6
Merge pull request #4322 from cgundogan/pr/fib/print_fix
...
fib: fix output of fibroute
2015-11-28 11:38:55 +01:00
BytesGalore
529e83675e
cpp11: switched to use xtimer
...
Also switched the syscalls of cpu/native to use xtimer, only at _gettimeofday()
2015-11-27 18:36:25 +01:00
Martine Lenders
63770e17b5
Merge pull request #4352 from authmillenon/doc/fix/gnrc_netdev2
...
gnrc_netdev2: fix documentation
2015-11-27 16:25:20 +01:00
Martine Lenders
8d94765c20
gnrc_netdev2: fix documentation
2015-11-27 15:07:57 +01:00
Martine Lenders
ce06027760
gnrc_netdev2: remove unrequired forward declaration
2015-11-27 15:07:57 +01:00
Martine Lenders
2b6bea0196
Merge pull request #4299 from authmillenon/gnrc_netif_hdr/opt/un-inline
...
gnrc_netif_hdr: un-inline build function
2015-11-27 15:07:29 +01:00
Martine Lenders
507b4381d2
Merge pull request #4335 from authmillenon/gnrc_netdev2/enh/namescheme
...
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 14:16:42 +01:00
Martine Lenders
2cc2adffee
Merge pull request #3900 from haukepetersen/add_arduino_api
...
sys: added Arduino API to RIOT
2015-11-27 13:35:29 +01:00
Martine Lenders
74722888f6
gnrc_netif_hdr: un-inline build function
2015-11-27 13:19:50 +01:00
Martine Lenders
71ac48523b
Merge pull request #4303 from authmillenon/shell/enh/rtr-flags
...
shell: sc_netif: show and manipulate router related flags
2015-11-27 13:09:41 +01:00
Martine Lenders
3c00cec299
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 13:03:37 +01:00
Martine Lenders
c6aa1441e5
Merge pull request #4347 from cgundogan/pr/ndp/use_correct_flag
...
ndp: use on-link flag instead of auto flag
2015-11-27 12:55:55 +01:00
Hauke Petersen
7855cb3707
sys: added module for running Arduino code
2015-11-27 12:45:12 +01:00
test
5bb6df9c6d
doc: ndp: remove GNRC_ from PIO flags
2015-11-26 23:40:30 +01:00
test
432f6c34ab
ndp: use on-link flag instead of auto flag
2015-11-26 23:37:39 +01:00
157f8c93ad
sys: fmt: add workaround for AVR libc's missing write()
2015-11-26 20:41:36 +01:00
René Kijewski
ab3345ac5a
Merge pull request #4321 from kaspar030/cleanup_posix
...
sys: cleanup posix compat code
2015-11-26 20:39:30 +01:00
Oleg Hahm
56903f3385
Merge pull request #4325 from OlegHahm/posix_socket_recvfrom_init
...
posix sockets: initialize sockaddr properly to 0
2015-11-26 12:00:16 +01:00
Oleg Hahm
7efc8fd265
posix sockets: initialize sockaddr properly to 0
2015-11-26 11:25:40 +01:00
Cenk Gündoğan
7fb889fa1a
nhdp: remove unused variable
2015-11-24 20:56:27 +01:00
Cenk Gündoğan
2aabc8ccea
nhdp: use conn_udp_close
2015-11-24 20:56:27 +01:00
Cenk Gündoğan
c516e4e759
nhdp: fix call to conn_udp_recvfrom
2015-11-24 20:56:27 +01:00
Cenk Gündoğan
e53c4a00a8
nhdp: include fixes
2015-11-24 20:56:27 +01:00
Martine Lenders
4366d9d29c
shell: sc_netif: show and manipulate router related flags
2015-11-24 20:00:48 +01:00
Martine Lenders
7af2a62b12
Merge pull request #4110 from authmillenon/posix/api/i4109
...
posix_semaphore: make API POSIX compliant and port to xtimer (+ fixes)
2015-11-24 15:04:44 +01:00
Martine Lenders
db01af3502
sema: deactivate interrupts for queue manipulation
2015-11-24 14:06:01 +01:00
Martine Lenders
77547dd399
sema: fix race-condition that causes timeout reset
2015-11-24 14:06:01 +01:00
Martine Lenders
21ea7cc4ae
posix_semaphore: port to xtimer
2015-11-24 14:06:00 +01:00
Martine Lenders
d104cff214
sema: port to xtimer
2015-11-24 10:46:06 +01:00
5926b50b85
Merge pull request #4079 from kaspar030/add_minstd_prng
...
sys: random: modularize PRNG module, add LCG alternatives
2015-11-24 10:03:51 +01:00
565d3ca72f
sys: shell: renamed mersenne_* to random_*
2015-11-24 06:52:39 +01:00
9c93e72d81
sys: random: add simple LCG PRNGs
2015-11-24 06:52:39 +01:00
fab1681735
sys: div: add div/mod 44488 (needed for minstd prng)
2015-11-24 06:52:39 +01:00
Oleg Hahm
0ddd6ec15e
xtimer: implement xtimer_msg_receive_timeout
2015-11-23 20:45:25 +01:00
Oleg Hahm
4fd7cfea9f
Merge pull request #4324 from OlegHahm/posix_socket_recvfrom_byte_order
...
conn: fix UDP port byteorder in recvfrom
2015-11-23 20:24:46 +01:00
test
b31d82d45e
newlib/syscalls: minor doc fix
2015-11-23 19:20:47 +01:00
Cenk Gündoğan
58de2cf1a7
Merge pull request #4280 from thomaseichinger/pr/fix_osx_again
...
net/fib: shell: fix warnings/errors thrown by clang on OS X
2015-11-23 15:50:46 +01:00
test
db7e8a7b37
sixlowpan: iphc: minor optimizations
2015-11-23 13:17:23 +01:00
BytesGalore
3e7753bff4
Merge pull request #4298 from cgundogan/pr/rpl/dao_timer_reuse
...
rpl: reuse timer for periodic daos
2015-11-23 07:49:19 +01:00
BytesGalore
ad7b0f0685
Merge pull request #4296 from cgundogan/pr/rpl/dao_refactoring
...
rpl: directly iterate fib entries for DAO and mark external routes
2015-11-23 07:20:51 +01:00
Oleg Hahm
9d1dd39f36
conn: fix UDP port byteorder in recvfrom
...
Additionally cleans up some superfluous functions.
2015-11-20 22:43:57 +01:00
test
244bfb3fd4
fib: fix output of fibroute
2015-11-20 10:50:03 +01:00
Hauke Petersen
3886478ed9
sys/auto_init/cc110x: adapted to moved includes
2015-11-20 10:32:43 +01:00
test
1f2c674026
rpl: reuse timer for periodic daos
2015-11-20 10:06:07 +01:00
8a61ef4c75
sys: posix: switch to xtimer for sleep/usleep
2015-11-20 00:54:29 +01:00
2640277156
sys: xtimer: add posix sleep/usleep wrapper
2015-11-20 00:44:28 +01:00
41ece232fa
sys: remove obsolete posix_io code
2015-11-20 00:43:57 +01:00
Hauke Petersen
421e69030a
Merge pull request #4315 from haukepetersen/doc_periph_fixes
...
doc: various fixes related to 'periph'
2015-11-19 22:59:26 +01:00
Oleg Hahm
3980fa3f5d
Merge pull request #4270 from haukepetersen/opt_at86_autoinit
...
driver/at86rf2xx: optimized auto initialization
2015-11-19 22:28:56 +01:00
BytesGalore
6292b165b8
Merge pull request #4297 from cgundogan/pr/rpl/cleanup_refactor
...
rpl: reuse _lt_timer for cleanup
2015-11-19 21:01:03 +01:00
Hauke Petersen
6597abe25e
sys/auto_init/at86rf: fixed debug message
2015-11-19 16:25:40 +01:00
Hauke Petersen
95086da431
doc/drivers/sys: fixed all refs to drivers_periph_xx
2015-11-19 16:09:25 +01:00
127495b1b2
Merge pull request #4311 from kaspar030/remove_div_u32_by_10
...
sys: div: remove div_u32_by_10() (and _mod_10())
2015-11-19 15:35:29 +01:00
e98237a26f
sys: div: remove div_u32_by_10()
2015-11-19 13:29:10 +01:00
80b8d2ed37
Merge pull request #4306 from kaspar030/make_fmt_not_use_div_10
...
sys: fmt: use standard / for division by 10, not div.h
2015-11-19 13:23:45 +01:00
f2a2656bac
sys: fmt: use standard / for division by 10, not div.h
2015-11-18 19:00:13 +01:00
Oleg Hahm
bfb6c0c95d
Merge pull request #4286 from kaspar030/make_newlib_use_xtimer
...
sys: newlib: use xtimer_now64() for gettimeofday()
2015-11-17 21:08:01 +01:00
test
bbe1b6f125
rpl: reuse xtimer for cleanup
2015-11-17 19:00:18 +01:00
Cenk Gündoğan
20364ff36c
Merge pull request #4293 from BytesGalore/fib_sc_remove_misleading_flags
...
fib: shell removed to set flags automatically to IP type
2015-11-17 18:57:19 +01:00
Cenk Gündoğan
cb8f50ce40
Merge pull request #4292 from OlegHahm/fib_rpl_config
...
fib: make FIB size dependent on existence of RPL
2015-11-17 18:53:11 +01:00
test
37709d27e5
rpl: directly iterate through fib entries for DAO
2015-11-17 18:48:30 +01:00
Martine Lenders
5f04675403
Merge pull request #4284 from authmillenon/gnrc_ipv6/enh/addr-res-without-nd
...
gnrc_ipv6: get l2addr from NC if no ND present
2015-11-17 17:59:58 +01:00
BytesGalore
711677eb7b
fib: shell removed to set flags automatically to IP type
2015-11-17 17:10:36 +01:00
Oleg Hahm
e4244a29ff
fib: make FIB size dependent on existence of RPL
...
Also, enables to configure the FIB size from the applicatin
2015-11-17 16:48:04 +01:00
Martine Lenders
c7ebcbbda2
gnrc_ipv6: get l2addr from NC if no ND present
2015-11-17 16:20:58 +01:00
Thomas Eichinger
77ef14e4d7
Merge pull request #4273 from LudwigKnuepfer/pr/doc_sys_fix
...
cpu/native: malloc.h for osx: fix doxygen, move
2015-11-17 14:40:48 +01:00
Martine Lenders
6595e8c57f
Merge pull request #4174 from authmillenon/gnrc_ndp_internal/fix/send-ras-without-pio
...
gnrc_ndp_internal: send RAs even when there are no PIOs
2015-11-17 14:01:55 +01:00
f23f3c0d2f
sys: newlib: use xtimer_now64() for gettimeofday()
2015-11-17 12:50:48 +01:00
Oleg Hahm
46dc908fcb
gnrc 6lowpan: exclude CTX if not part of the app
...
This removes dependencies to 6LoWPAN context module if an application is built without support for it.
Also, includes a missing header.
2015-11-17 12:04:11 +01:00
Thomas Eichinger
32a2bacc8d
shell/sc_netif: fix clang formating warning/error
2015-11-16 16:06:13 +01:00
Thomas Eichinger
6e3d2b6c53
net/fib: fix clang extra parantheses warning/error
2015-11-16 16:05:37 +01:00
Ludwig Knüpfer
a86866ea9f
cpu/native: malloc.h for osx: fix doxygen, move
2015-11-15 12:14:59 +01:00
Cenk Gündoğan
f7934e336a
Merge pull request #4238 from authmillenon/shell_command/fix/zep-deps
...
shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
2015-11-12 10:16:57 +01:00
Oleg Hahm
ee33e6941b
shell ping6: do not try to parse address as count
...
The first parameter should be handled as count only if there are at least two parameters given.
2015-11-11 16:03:39 +01:00
Cenk Gündoğan
a88f72d0da
Merge pull request #4245 from cgundogan/pr/gnrc_nettest/vtimer_xtimer
...
gnrc_nettest: use xtimer instead of vtimer
2015-11-10 12:21:48 +01:00
Cenk Gündoğan
01225ca9d5
gnrc_nettest: use xtimer instead of vtimer
2015-11-10 08:34:36 +01:00
Cenk Gündoğan
677c1304b9
zep: remove superfluous vtimer include
2015-11-10 08:13:11 +01:00
Cenk Gündoğan
f7166bbfd7
rpl: use uint32_t for the parent lifetime
2015-11-09 21:24:08 +01:00
BytesGalore
3153389e49
Merge pull request #4241 from cgundogan/pr/rpl/parent_lifetime_32
...
rpl: use uint32_t for the parent lifetime
2015-11-09 21:17:16 +01:00
Cenk Gündoğan
bf5e9b4351
rpl: use uint32_t for the parent lifetime
2015-11-09 20:28:31 +01:00
Cenk Gündoğan
b1f2f22898
rpl: uint32_t is sufficient for the DAO timer
2015-11-09 17:25:05 +01:00
Martine Lenders
fc831f0ec2
Merge pull request #4216 from cgundogan/pr/network_layer/remove_timex
...
net/gnrc/network_layer: remove timex_t
2015-11-09 16:27:24 +01:00
Cenk Gündoğan
4bcffbc2aa
Merge pull request #4210 from authmillenon/shell/enh/xtimerfy-sc-icmpv6
...
shell: xtimerfy sc_icmpv6
2015-11-09 16:20:34 +01:00
Martine Lenders
33957f94fe
shell: xtimerfy sc_icmpv6
2015-11-09 15:39:44 +01:00
Cenk Gündoğan
ce6b6b84fc
rpl: decrease default numbers
2015-11-09 14:56:51 +01:00
Cenk Gündoğan
bf3a504691
nc: ndp: sixlowpan: remove timex.h include
2015-11-09 14:55:04 +01:00
Cenk Gündoğan
401e1b3814
sixlowpan: timex_t -> uint32_t
2015-11-09 14:55:04 +01:00
Cenk Gündoğan
34c3267bfe
ndp: timex_t -> uint32_t
2015-11-09 14:55:04 +01:00
Cenk Gündoğan
5aaea3879f
netif: ndp: gnrc_ipv6_netif_t::retrans_timer -> uint32_t
2015-11-09 14:55:04 +01:00
Cenk Gündoğan
b59fc825a3
netif: nc: ndp: gnrc_ipv6_netif_t::reach_time -> uint32_t
2015-11-09 14:55:01 +01:00
Cenk Gündoğan
47fe901187
ndp: timex -> uint32_t for probe delay time
2015-11-09 14:54:42 +01:00
Martine Lenders
fe94aa0216
shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
...
Currently it is included when gnrc_zep OR ipv6_addr are present
2015-11-09 13:09:30 +01:00
Martine Lenders
8fc736a58f
Merge pull request #4223 from OlegHahm/shell_netif_ipv6
...
shell netif: set correct MTU
2015-11-04 13:09:23 +01:00
Oleg Hahm
ee0f64bf36
shell netif: support setting the IPv6 hop limit
2015-11-04 18:16:40 +09:00
Oleg Hahm
67def10a80
shell netif: set correct MTU
2015-11-04 18:15:12 +09:00
Hauke Petersen
9052a09831
sys/auto_init: fix stack size for encx24j600 stack
2015-11-02 23:45:16 +01:00
Cenk Gündoğan
be7a34b1b8
Merge pull request #3157 from BytesGalore/fib_host_prefix_flags
...
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 16:38:55 +01:00
Martine Lenders
7b059647c5
Merge pull request #4207 from jfischer-phytec-iot/fix@gnrc_conn_recvfrom
...
sys/net/gnrc/conn/gnrc_conn.c: release pkt in gnrc_conn_recvfrom
2015-11-02 16:22:50 +01:00
BytesGalore
523d1f87ca
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 15:57:39 +01:00
Cenk Gündoğan
42c5666357
Merge pull request #4186 from cgundogan/pr/ipv6/last_vtimers
...
network_layer: remove last occurences of vtimer
2015-11-02 15:42:50 +01:00
Johann Fischer
8b456c9f4f
sys/net/gnrc/conn/gnrc_conn.c: release pkt in gnrc_conn_recvfrom
2015-11-02 15:19:27 +01:00
Cenk Gündoğan
47a02d9d07
ipv6: ndp: sixlowpan: remove vtimer includes
2015-11-02 15:02:08 +01:00
BytesGalore
f7ecbbca5c
Merge pull request #4202 from cgundogan/pr/rpl/dio_send_pktbuf_refactor
...
rpl: refactor send_dao to use pktbuf properly
2015-11-02 12:59:20 +01:00
Cenk Gündoğan
1c92c6d933
Merge pull request #4205 from BytesGalore/fib_clean_fibtable_doxy
...
net/fib: changed the `fib_table_t` doxy to be a bit more informative
2015-11-02 12:52:25 +01:00
BytesGalore
24c48181b9
net/fib: changed the fib_table_t
doxy to be a bit more informative
2015-11-02 11:21:32 +01:00
BytesGalore
6c49ec27e0
net/fib: use UNIVERSAL_ADDRESS_SIZE
instead of substitute
2015-11-02 08:32:04 +01:00
Cenk Gündoğan
263c8feb20
rpl: release pkt in send_dao
2015-11-01 20:51:09 +01:00
Cenk Gündoğan
a2716fa1b1
rpl: refactor send_dio to use pktbuf properly
2015-11-01 20:50:00 +01:00
Oleg Hahm
c3c1a8162f
Merge pull request #4194 from kaspar030/fix_gnrc_netreg_register_assertion
...
sys: net: gnrc_netreg: check for msg queue of registered thread, not …
2015-11-01 00:24:15 +09:00
3c5a36fe40
Merge pull request #3859 from OlegHahm/uart_stdio_uninitialized
...
stdio: remove superfluous mutex_lock in init
2015-10-31 12:17:13 +01:00
Oleg Hahm
ee8aae7593
uart_stdio:mutex_lock is no longer needed for init
...
...since the introduction of the new ringbuffer.
2015-10-31 19:53:54 +09:00
a6498cb165
sys: net: gnrc_netreg: check for msg queue of registered thread, not registering
2015-10-31 11:18:00 +01:00
Cenk Gündoğan
8af4a705b3
Merge pull request #4143 from OlegHahm/ping_live_stats
...
shell: periodic statitics for ping6
2015-10-31 07:19:27 +01:00
Oleg Hahm
af6d102162
shell: add ping6 parameter for periodic stats
2015-10-31 10:03:22 +09:00
Cenk Gündoğan
26e67b86b5
Merge pull request #4161 from kaspar030/add_fmt
...
sys: fmt: initial commit of simple string formatting library
2015-10-30 18:51:29 +01:00
Joakim Nohlgård
7635d3e94d
netopt: Add support for IEEE 802.15.4 channel page option
2015-10-30 09:59:53 +01:00
39bb99e55d
sys: fmt: add write() declaration (work around broken unistd.h)
2015-10-29 19:18:24 +01:00
1293e7a8b9
sys: fmt: initial commit of simple string formatting library
2015-10-29 19:18:24 +01:00
Cenk Gündoğan
78d5c1c6e5
rpl: check if dodag id is global or unique local
2015-10-29 13:11:26 +01:00
Cenk Gündoğan
206e027725
Merge pull request #3647 from BytesGalore/fib_source_routing
...
fib: initial source route support
2015-10-29 12:08:47 +01:00
Joakim Nohlgård
8b378d660f
Merge pull request #4181 from gebart/pr/xtimer-small-cleanups
...
xtimer: small cleanups
2015-10-29 07:24:15 +01:00
Cenk Gündoğan
83e0c45259
Merge pull request #4176 from authmillenon/gnrc_ndp/fix/stop-rs-retransmissions-on-ra
...
gnrc_ndp: stop multicast RS retransmissions on RA reception
2015-10-28 21:40:28 +01:00
Cenk Gündoğan
3b825c2523
sixlowpan: use xtimer_now() instead of vtimer_now()
2015-10-28 21:15:11 +01:00
Cenk Gündoğan
023c0984b3
sixlowpan: switch ltimer to be an xtimer
2015-10-28 21:03:09 +01:00
Martine Lenders
23f8fecc04
Merge pull request #4157 from cgundogan/pr/nc/xtimer_nbr_sol_timer
...
nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer
2015-10-28 17:51:48 +01:00
Martine Lenders
45b30a8e91
posix_semaphore: make API POSIX compliant
2015-10-28 17:16:23 +01:00
Martine Lenders
5cef6bcc0a
sema: apply rename to function and type names
2015-10-28 17:16:22 +01:00
Martine Lenders
ee4f79482a
sem: rename to sema
...
To prevent name colisions with POSIX semaphores
2015-10-28 17:16:22 +01:00
Martine Lenders
4d6d48ca82
Merge pull request #4171 from authmillenon/gnrc_slip/fix/wired
...
gnrc_slip: set NETOPT_IS_WIRED
2015-10-28 15:53:17 +01:00
Cenk Gündoğan
4297972054
nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer
2015-10-28 15:24:45 +01:00
Martine Lenders
a4533920a7
Merge pull request #4177 from authmillenon/gnrc_ipv6_netif/fix/no-l2-addr
...
gnrc_ipv6_netif: don't skip rest of config for address less l2
2015-10-28 15:16:34 +01:00
Joakim Nohlgård
d1b4e7a70b
xtimer: Rename _xtimer_now() -> _lltimer_now()
...
This matches _lltimer_set() and _lltimer_mask()
2015-10-28 13:54:54 +01:00
Joakim Nohlgård
d432bb42b0
xtimer: rename _mask -> _lltimer_mask
2015-10-28 13:52:25 +01:00
Joakim Nohlgård
07f95cfdfa
xtimer: xtimer_spin_until(): value -> target
2015-10-28 13:51:23 +01:00
Joakim Nohlgård
fb0322ee1b
xtimer: Add spaces for readability
2015-10-28 13:51:23 +01:00
Joakim Nohlgård
e93840e68b
xtimer: Use USEC_IN_NS for nanosleep
2015-10-28 13:51:23 +01:00
Joakim Nohlgård
0fafe6c1a1
xtimer: small cleanups
2015-10-28 13:51:23 +01:00
Joakim Nohlgård
e8f33c2ca0
xtimer: Add parentheses to condition
2015-10-28 13:51:23 +01:00
Martine Lenders
f453d6461e
gnrc_slip: set NETOPT_IS_WIRED
...
Fixes #4168
2015-10-28 13:41:51 +01:00
Martine Lenders
083c9442ab
gnrc_ipv6_netif: don't skip rest of config for address less l2
2015-10-28 13:40:21 +01:00
Cenk Gündoğan
c78fd9f4ed
Merge pull request #4159 from cgundogan/pr/netif/xtimer_rtr_adv_timer
...
netif: use xtimer for gnrc_ipv6_netif_t::rtr_adv_timer
2015-10-28 11:09:13 +01:00
Hauke Petersen
85e05d411e
Merge pull request #4114 from haukepetersen/opt_periph_uart
...
drivers/periph/uart: remodeled UART interface
2015-10-28 10:50:03 +01:00
Peter Kietzmann
eaf1e29b31
Merge pull request #4179 from OlegHahm/ndp_l2_length_calculation
...
gnrc: ndp: fix calculation of L2 address length
2015-10-28 10:25:32 +01:00
Cenk Gündoğan
a979d0c72c
netif: use xtimer for gnrc_ipv6_netif_t::rtr_adv_timer
2015-10-27 20:51:34 +01:00
Cenk Gündoğan
7490dc21a0
Merge pull request #4172 from cgundogan/pr/ndp/use_correct_timer
...
nc: ndp: add/use gnrc_ipv6_nc_t::rtr_adv_timer in gnrc_ndp_rtr_sol_handle
2015-10-27 20:43:30 +01:00
BytesGalore
6c57582107
fib: initial source route support
2015-10-27 20:20:18 +01:00
Oleg Hahm
64a653496a
gnrc: ndp: fix calculation of L2 address length
...
If no source address was provided by layer 2 or someone removed it, the calculation of its length is done using the length field from the Source/Target Link-layer Address option (https://tools.ietf.org/html/rfc4861#section-4.6.1 ). The length is specified as units of 8 octets. Hence, it should be multiplied by 8, not divided.
2015-10-27 20:13:50 +01:00
Martine Lenders
493597ec1d
Merge pull request #3845 from cgundogan/pr/gnrc_sixlowpan_iphc/assert
...
gnrc_sixlowpan_iphc: move assert to a valid position
2015-10-27 20:11:47 +01:00
Cenk Gündoğan
c175273f96
Merge pull request #3693 from OlegHahm/remove_superfluous_icmpv6_hdr_build_functions
...
icmpv6: remove superfluous header build functions
2015-10-27 20:06:02 +01:00
Martine Lenders
7b6de128f7
Merge pull request #4149 from cgundogan/pr/ipv6/init_suffix
...
ipv6: initialize iid
2015-10-27 20:01:05 +01:00
Martine Lenders
8722699fb2
gnrc_ndp: stop multicast RS retransmissions on RA reception
...
6LoWPAN interfaces already do that, other interface happily continue
multicasting RSs even if a router was found.
2015-10-27 19:37:12 +01:00
Martine Lenders
ae567efc9a
gnrc_ndp_internal: send RAs even when there are no PIOs
2015-10-27 19:33:52 +01:00
Cenk Gündoğan
fac55ca258
Merge pull request #4158 from cgundogan/pr/netif/xtimer_rtr_sol_timer
...
netif: use xtimer for gnrc_ipv6_netif_t::rtr_sol_timer
2015-10-27 19:27:43 +01:00
Cenk Gündoğan
b993914534
nc: ndp: add and use gnrc_ipv6_nc_t::rtr_adv_timer in gnrc_ndp_rtr_sol_handle
2015-10-27 17:15:52 +01:00
Hauke Petersen
19bb76f600
net/slip: adjusted to UART interface changes
2015-10-27 14:59:39 +01:00
Hauke Petersen
f2086dda9a
sys/uart_stdio: adapted to UART interface changes
2015-10-27 14:59:37 +01:00
Oleg Hahm
a0dcbc6a3c
posix: sockets: use correct datatypes for in6_addr
...
in6addr_any and in6addr_loopback are of type in6_addr
2015-10-27 11:39:11 +01:00
Cenk Gündoğan
d587cf9cd4
netif: use xtimer for gnrc_ipv6_netif_t::rtr_sol_timer
2015-10-26 21:03:38 +01:00
Cenk Gündoğan
59a8b929f6
nc: use xtimer for gnrc_ipv6_nc_t::nbr_adv_timer
2015-10-26 16:59:16 +01:00
Cenk Gündoğan
56534e28f8
Merge pull request #4150 from cgundogan/pr/ndp/assert_nc_entry
...
ndp/internal: add assert and use dst instead of tgt to determine nc_entry
2015-10-26 16:56:42 +01:00
Cenk Gündoğan
c5acf0227d
ipv6/addr: initialize iid part of an ipv6 address
2015-10-26 16:54:45 +01:00
Cenk Gündoğan
2065537368
Merge pull request #4123 from cgundogan/pr/nc/xtimer_rtr_timeout
...
nc: user xtimer for gnrc_ipv6_nc_t::rtr_timeout
2015-10-26 15:46:01 +01:00
Cenk Gündoğan
609cf7fb12
ndp/internal: use dst instead of tgt to determine the nc_entry
2015-10-26 15:35:47 +01:00
Cenk Gündoğan
e72bde5805
ndp/internal: add assert to test for nc_entry if target is non-unicast
2015-10-26 15:18:58 +01:00
Martine Lenders
5b37e1ad0c
Merge pull request #4124 from cgundogan/pr/netif/xtimer_valid_timeout
...
netif: use xtimer for gnrc_ipv6_netif_addr_t::valid_timeout
2015-10-26 12:23:05 +01:00
Martine Lenders
1e87c078da
Merge pull request #4010 from OlegHahm/gnrc_netapi_assert_queue
...
gnrc netreg: make message queue mandatory
2015-10-26 11:31:03 +01:00
Cenk Gündoğan
0258f29a5e
nc: user xtimer for gnrc_ipv6_nc_t::rtr_timeout
2015-10-26 11:27:07 +01:00
Martine Lenders
4002db15d6
Merge pull request #4121 from cgundogan/pr/nc/xtimer_type_timeout
...
nc: use xtimer for gnrc_ipv6_nc_t::type_timeout
2015-10-26 11:11:37 +01:00
Oleg Hahm
2e342c7e9b
gnrc netreg: make message queue mandatory
...
Any thread that registers for gnrc events (i.e. incoming packets) must provide a message queue.
2015-10-26 10:54:05 +01:00
Oleg Hahm
1d47cb6826
shell: move stats printing into its own function
2015-10-25 23:58:57 +00:00
Oleg Hahm
025c85f8dc
shell: simplify ping6 parameter parsing
...
Removes some duplication.
2015-10-23 14:59:06 +00:00
Cenk Gündoğan
054bca637c
Merge pull request #3737 from cgundogan/pr/rpl/instance_dodag_refactoring
...
rpl: refactoring of instances and dodags
2015-10-22 16:55:46 +02:00
Cenk Gündoğan
40e504de65
nc: use xtimer for gnrc_ipv6_nc_t::type_timeout
2015-10-22 15:55:46 +02:00
Cenk Gündoğan
9faa50201b
Merge pull request #4050 from authmillenon/gnrc_pktbuf_static/enh/stats-chunk-addr
...
gnrc_pktbuf_static: print chunk addresses in stats
2015-10-22 15:53:12 +02:00
Martine Lenders
cffdb1c8e2
timex: introduce USEC_IN_NS constant
2015-10-21 19:45:58 +02:00
Cenk Gündoğan
d64fdbba3a
rpl: refactoring of instances and dodags
2015-10-21 18:02:16 +02:00
BytesGalore
df54d2dbfb
Merge pull request #4073 from cgundogan/pr/rpl/shell_cleanup_fix
...
sys/shell/commands/sc_gnrc_rpl: don't calculate cleanup timer twice
2015-10-21 17:29:30 +02:00
Cenk Gündoğan
0146c1b1b9
netif: use xtimer for gnrc_ipv6_netif_addr_t::valid_timeout
2015-10-20 22:55:12 +02:00
Cenk Gündoğan
f796f6339c
nc: minor doc fix
2015-10-20 22:02:21 +02:00
Cenk Gündoğan
beb3321132
nc: remove unused rtr_sol_timer
2015-10-20 19:05:42 +02:00
Martine Lenders
4e90fdf505
Merge pull request #4111 from cgundogan/pr/rpl/dao_refactoring_pktbuf
...
rpl: refactor dao sending to use appropriate pktbuf functions
2015-10-20 12:30:17 +02:00
Cenk Gündoğan
4412c3806b
rpl: refactor dao sending to use appropriate pktbuf functions
2015-10-20 12:08:15 +02:00
Martine Lenders
3d4f373ba5
Merge pull request #3549 from authmillenon/sem/feat/initial
...
sem: initial import of a lightweight semaphore layer
2015-10-19 14:45:34 +02:00
Martine Lenders
de421cdf78
posix: use sem module for semaphore implementation
2015-10-19 14:12:31 +02:00
Martine Lenders
3ad9284357
sem: initial import of a lightweight semaphore layer
2015-10-19 14:12:30 +02:00
BytesGalore
8af6a6630d
Merge pull request #4107 from cgundogan/pr/rpl/make_fib_rpl_aware
...
Introduce RPL awareness to fib entries
2015-10-19 11:50:19 +02:00
Cenk Gündoğan
7ecd6d4a8a
fib: reduce scope of global vars to the scope of fib_table_t
2015-10-19 10:26:41 +02:00
Cenk Gündoğan
93d0c9a273
fib: fix doc
2015-10-18 21:41:42 +02:00
Cenk Gündoğan
298e0651ca
rpl: use FIB_FLAG_RPL_ROUTE and inspect ext-flag of transit option
2015-10-18 21:16:31 +02:00
Cenk Gündoğan
5a4789573d
fib: add flag to mark RPL routes
2015-10-18 21:00:30 +02:00
Thomas Eichinger
9a839c990a
doc:netdev: mention get/set don't check for alignment of memory accessed
2015-10-16 12:14:56 +02:00
Ludwig Knüpfer
4ffbb89e66
doc: fix gnrc_ipv6_whitelist group and description
2015-10-13 19:55:29 +02:00
Joakim Nohlgård
ac1fcde44e
Merge pull request #4066 from kaspar030/add_div
...
sys: add div.h, a header containing integer division functions
2015-10-13 15:10:15 +02:00
725473d9a6
sys: xtimer: make xtimer use div.h
2015-10-12 23:25:59 +02:00
35d06ac10c
sys: add header for integer division using multiplication / shifts
2015-10-12 23:25:58 +02:00
Thomas Eichinger
7bf121903a
Merge pull request #3729 from daniel-k/net_at86rf2xx_tx_feedback
...
netdev: add TX feedback events
2015-10-12 16:43:26 +02:00
daniel-k
9c36546026
netdev: add TX feedback events
2015-10-12 15:50:39 +02:00
Cenk Gündoğan
7e67f9e777
sys/shell/commands/sc_gnrc_rpl: don't calculate cleanup timer twice
2015-10-09 14:27:18 +02:00
Cenk Gündoğan
dbe64987e1
Merge pull request #3688 from cgundogan/pr/rpl/leaf_node_operation
...
rpl: leaf/router node operation
2015-10-09 14:14:28 +02:00
Cenk Gündoğan
5d6ed7379d
Merge pull request #3720 from cgundogan/pr/rpl/instance_id_generation
...
rpl: instance id generation
2015-10-08 16:39:55 +02:00
Cenk Gündoğan
bcb0d54028
Merge pull request #3758 from cgundogan/pr/bloom/static
...
sys/bloom: Pass buffer to bloom instead of using m/calloc
2015-10-08 16:35:28 +02:00
c2f6417bea
sys: xtimer: add another safeguard against setting a timer in the past
2015-10-07 18:56:31 +02:00
Martine Lenders
a463279331
gnrc_pktbuf_static: print chunk addresses in stats
2015-10-05 14:18:56 +02:00
Cenk Gündoğan
e783191b2e
sys/bloom: pass bitfield to bloom instead of allocating memory
2015-10-05 11:41:53 +02:00
Cenk Gündoğan
70c3be6f9e
sc_gnrc_rpl.c: cmd for operation as leaf or router
2015-10-05 11:34:39 +02:00
Cenk Gündoğan
a689867031
rpl: leaf node operation
2015-10-05 11:34:39 +02:00
Oleg Hahm
9be2ea4285
Merge pull request #4028 from authmillenon/ifconfig/enh/6lo-ro
...
shell: ifconfig: fixes
2015-10-03 01:12:25 +02:00
Oleg Hahm
43c0d6129e
shell ping: drop & consume duplicates immediately
2015-10-02 22:33:38 +02:00
Oleg Hahm
c92d35e1de
shell: ping: set timeout to 1 second
2015-10-02 22:33:30 +02:00
Martine Lenders
1824f2d91a
shell: ifconfig: remove unused variable
2015-10-02 16:45:21 +02:00
Martine Lenders
ef9a9b0e4f
shell: ifconfig: make 6lo flag read-only
2015-10-02 16:43:03 +02:00
Oleg Hahm
df9457bd02
Merge pull request #4022 from OlegHahm/pktbuf_fixes
...
pktbuf: release correct snip in error case
2015-10-02 14:58:59 +02:00
Peter Kietzmann
10bddd5ca6
Merge pull request #3755 from daniel-k/pr/at30tse75x
...
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 14:55:04 +02:00
daniel-k
396b76c039
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 13:34:21 +02:00
Oleg Hahm
f2e78453af
gnrc IPv6: release correct pktsnip
2015-10-02 12:11:57 +02:00
Oleg Hahm
c309e43b73
gnrc pktbuf: satisfying my parentheses obsession
2015-10-02 12:10:43 +02:00
Oleg Hahm
e628fede2a
ubjson: initialize variable
...
To get rid of a compiler warning.
2015-10-01 18:10:08 +02:00
Oleg Hahm
9b05f4e5c9
Merge pull request #4006 from OlegHahm/gnrc_netapi_nonblocking
...
gnrc netapi: switch to non-blocking IPC calls
2015-10-01 15:13:03 +02:00
Oleg Hahm
6532a761fe
gnrc netapi: switch to non-blocking IPC calls
...
This is quite a major change for GNRC, but should prevent the system to hang completely due to full message queues.
2015-10-01 12:48:12 +02:00