Oleg Hahm
206b75933e
doc: fixed remaining doxygen warnings in core
...
Only one warning remains and will be fixed in a separate commit.
2014-10-23 18:30:09 +02:00
Oleg Hahm
6d8c0d74c3
doc: some doxygen cleanups
...
* removed RIOT unrelated cpu documentation
* introduced cpu_specific prefix to mark such documentation
* put oneway_malloc and crypto into sys group
2014-10-23 17:29:25 +02:00
ce6659a192
Merge pull request #1650 from kaspar030/ringbuffer_get_free
...
sys: lib: ringbuffer: introduce ringbuffer_get_free
2014-10-22 17:24:13 +02:00
6e03faa3d6
sys: lib: ringbuffer: introduce ringbuffer_get_free
...
This function returns the number of bytes available in the ringbuffer.
2014-10-22 17:07:36 +02:00
5146c66786
core: adapt to msg_try_send
2014-10-22 12:37:33 +02:00
Martine Lenders
fbaae0951a
ip: set solicited node address correctly
2014-10-21 20:22:07 +02:00
Martine Lenders
b9054e825a
auto_init: reduce scope of iface
2014-10-16 16:08:01 +02:00
Martine Lenders
19bf230de2
auto_init: use full hash to configure radio address
...
Since the 4-byte CPU ID on native is in most cases generated from the 2-byte
PID of the native process, choosing the lower half of the hash of the CPU ID to
set the radio address led to always setting it to the hash of 0 in this
cases. This changes it to use both halves of the hash and taking the
modulus so this corner cases can be avoided.
2014-10-16 16:07:50 +02:00
Martine Lenders
0812d4789a
Merge pull request #1638 from authmillenon/packetbuf2
...
net: Initial import of a global packet buffer
2014-10-16 14:01:56 +02:00
Emmanuel Baccelli
3f0d9d63d6
Merge pull request #1716 from waehlisch/master
...
Update CCN-lite Readme
2014-10-16 13:23:15 +02:00
Martine Lenders
a569f2b92c
net: Initial import of a global packet buffer
2014-10-16 11:52:30 +02:00
Oleg Hahm
bd3d32e9b0
documentation: added description for packet queue
2014-10-13 19:30:12 +02:00
Martine Lenders
94528fef46
Merge pull request #1795 from sgso/byte-order-udp-sockaddr
...
udp: fix byte order in sockaddr6_t
2014-10-11 13:48:34 +02:00
Ludwig Ortmann
90e2b1c4c4
sys/net/pktqueue: fix doxygen
2014-10-11 08:20:50 +02:00
Martine Lenders
36f8e3c5c3
Merge pull request #1640 from authmillenon/packetqueue
...
net: Initial import of a packet wrapper for priority_queue
2014-10-10 23:12:28 +02:00
Martine Lenders
e7e62cffdb
net: Initial import of a packet wrapper for priority_queue
2014-10-10 23:11:50 +02:00
Fabian Brandt
cd80cc166e
Fixes when a packet is not for me, but an interface is defined.
2014-10-10 17:17:40 +02:00
Sebastian Sontberg
c8c518005f
udp: fix byte order in sockaddr6_t
...
udp_recvfrom wrote the sender port number in host byte order into the
provided sockaddr6_t. Because all send functions expect the port number
in network byte order this introduces a superfluous conversion step in
case one wants to reuse the address for replying.
closes #1406
2014-10-10 15:43:34 +02:00
Martine Lenders
42f96b0d60
Merge pull request #1699 from Kijewski/issue-1586
...
core: Provide functions for different byte orders
2014-10-10 07:38:57 +02:00
Martine Lenders
d63e98786e
sixlowpan: fix ipv6_addr_init_prefix
2014-10-09 14:42:35 +02:00
Ludwig Ortmann
e40f4c1912
native/freebsd: fix usecond typdef
2014-10-08 16:11:15 +02:00
Ludwig Ortmann
5be28f49f6
Merge pull request #1754 from OlegHahm/timex_makefile_order
...
make: fix the order of Makefile.dep for timex
2014-10-07 05:52:43 -07:00
Oleg Hahm
a50d44c195
posix: configure stdio only to uart0 if enabled
2014-10-07 12:14:14 +02:00
Thomas Eichinger
2f27388d04
sys/transceiver: cleanup and fix for cc2420 and at86rf231
...
cc2420: the payload pointer was set twice
at86rf231: payload_len was not copied from the radio driver buffer
2014-10-07 11:37:29 +02:00
Thomas Eichinger
6fcc2ac777
shell/transceiver: fix byte selection for 802.15.4 devices in output
2014-10-07 10:32:58 +02:00
Thomas Eichinger
a686e909aa
examples/default: fix handling of 802.15.4 devices
2014-10-07 10:32:58 +02:00
Thomas Eichinger
19f612cf2c
examples/default: set src addr correctly
2014-10-07 10:32:58 +02:00
Ludwig Ortmann
cc319d1dd8
Merge pull request #1755 from Lotterleben/transceiver_debug_clean
...
transceiver: notify about dropped packets
2014-10-06 03:06:36 -07:00
Lotte Steenbrink
e843868141
Notify about dropped packets
...
Added debug output that warns about packets that are dropped
because the transceiver buffer was full or because the transceiver
failed to notify aiting upper layers.
2014-10-04 07:18:39 -07:00
Ludwig Ortmann
983e570e27
Merge pull request #1409 from LudwigOrtmann/hwtimer_spin-barrier
...
core,sys,boards: introduce hwtimer_spin barrier
2014-10-01 11:52:32 -07:00
Ludwig Ortmann
da550bc913
introduce HWTIMER_SPIN_BARRIER (API change)
...
Boards should define HWTIMER_SPIN_BARRIER that is used to decide
whether it makes sense to set a timer and yield or call hwtimer_spin
instead.
Used by `core/hwtimer.c` and `sys/vtimer/vtimer.c`.
A default value is provided and a warning is printed when it is used.
2014-10-01 19:53:42 +02:00
Oleg Hahm
cbb1aff0ce
sixlowpan: fixed net_if counter
...
This is a fixup for 11254577eb
which
caused this function to always return a positive number, when any
interfaces was configured.
2014-10-01 18:19:35 +02:00
Oleg Hahm
be1fde1557
Merge pull request #837 from authmillenon/auto-init-addresses
...
auto_init: Initialize link-layer addresses from CPU ID
2014-09-30 15:29:50 +02:00
Martine Lenders
a5a7008f3f
auto_init: Put net_if auto-initialization into its own function
2014-09-30 14:32:29 +02:00
Martin Lenders
30c92efa43
Initialize addresses from CPU ID
2014-09-30 14:32:29 +02:00
René Kijewski
5f262be568
Merge pull request #1653 from medicalwei/shell_backspace
...
Add backspace functionality in shell
2014-09-29 21:21:41 +02:00
René Kijewski
749db8d0dd
core: Provide functions for different byte orders
...
Rationale: see #1586 .
2014-09-29 21:07:02 +02:00
Oleg Hahm
762e9492a6
Merge pull request #1528 from OlegHahm/silent_rpl
...
rpl: mute RPL
2014-09-29 10:56:10 +02:00
Matthias Waehlisch
72b06cc9b1
sys/net/ccn_lite/README.md change wording + add ACM ICN reference
...
sys/net/ccn_lite/README.md fix encoding
2014-09-27 11:17:06 +02:00
René Kijewski
d4f144eb47
Add license statement to {msp430_types,net_help}.h
2014-09-25 10:14:58 +02:00
Yao Wei
b5d3c65672
Add 0x7f as backspace key in shell
2014-09-24 15:40:21 +08:00
Hinnerk van Bruinehsen
567ebf987f
lint: limit maximum length of input via scanf
2014-09-19 23:31:26 +02:00
Christian Mehlis
88ae531ef9
Merge pull request #1679 from cgundogan/bloom_t_as_typedef
...
sys: use typedef for `struct bloom_t`
2014-09-19 13:18:39 +02:00
Ludwig Ortmann
289c4c0ee4
doc: add license headers to some .h files
2014-09-18 17:45:11 +02:00
Cenk Gündoğan
0a4ea07daa
sys: use typedef for struct bloom_t
...
`bloom_t` is defined as a struct.
`_t` can mislead the user to think of bloom_t
as a typedef (see our coding conventions) instead of a struct.
Thus, I modified `struct bloom_t` to be a *typedefed* struct.
Another solution would be to rename bloom_t to sth. like bloom_s
everywhere and use `struct bloom_s` instead of `bloom_t`.
2014-09-17 19:54:40 +02:00
Hinnerk van Bruinehsen
2faf813793
board/sys: move bounds check before array access
2014-09-14 01:56:11 +02:00
Hinnerk van Bruinehsen
eb9ab083bc
sys: remove break after return
2014-09-13 23:47:41 +02:00
Hinnerk van Bruinehsen
57b998e4a1
cpu/examples/sys/drivers: reduce scope of variables
2014-09-13 19:03:40 +02:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Oleg Hahm
218635027c
Merge pull request #1508 from cgundogan/transport_layer_refactoring
...
transport_layer: Splitting UDP and TCP
2014-09-11 20:49:34 +02:00