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

3072 Commits

Author SHA1 Message Date
Christian Mehlis
997dcd7e88 Merge pull request #1302 from cgundogan/fix_tcp_header_data_offset
destiny: using a bit field for tcp_header->data_offset is more convenient
2014-06-14 15:40:49 +02:00
René Kijewski
a2872cd8da Merge pull request #1303 from Kijewski/mbed_lpc1768-fix-result-paths
make: remove local definitions for ELFFILE and HEXFILE (was: "mbed_lpc1768: fix ELF and HEX paths")
2014-06-12 14:35:10 +02:00
René Kijewski
1608fd1570 make: remove local definitions of (ELF|HEX)FILE
We have sane defaults for `ELFFILE` and `HEXFILE` in the root
`Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's
`Makefile.include` was wrong, which caused e.g. `make buildsize` to
fail.
2014-06-12 10:12:49 +02:00
Christian Mehlis
50a07d9874 Merge pull request #1280 from cgundogan/fix_send_tcp_error_check
destiny: fixed condition for error handling of send_tcp in destiny_socket_send
2014-06-12 09:55:37 +02:00
Thomas Eichinger
b4fceaca89 Merge pull request #1313 from thomaseichinger/cortexm_crash
cpu:cortex_common: add core_panic function
2014-06-11 15:02:46 +02:00
Thomas Eichinger
3639ae9b25 cpu:cortex_common: add core_panic function 2014-06-11 14:43:02 +02:00
Oleg Hahm
bef04d9f75 Merge pull request #1312 from mehlis/pnet-unused-param
pnet: silence unused argument warnings
2014-06-11 14:31:53 +02:00
Hauke Petersen
186bf386a8 Merge pull request #1295 from haukepetersen/mv_cpu_cortexm-common
cpu: renamed cortexm_common->cortex-m3_common and cleanup
2014-06-11 14:31:39 +02:00
Christian Mehlis
2350809536 pnet: silence unused argument warnings 2014-06-11 13:36:41 +02:00
Hauke Petersen
ebb496cc26 cpu: renamed cortexm_common->cortex-m3_common and cleanup 2014-06-11 00:24:10 +02:00
René Kijewski
3c5f8b0f9e Merge pull request #1308 from N8Fear/fix-typo-and-whitespaces
core/include/arch/irq_arch.h: fix typo and trailing whitespaces
2014-06-10 18:14:05 +02:00
Hinnerk van Bruinehsen
6da0c31265 core/include/arch/irq_arch.h: fix typo and trailing whitespaces 2014-06-10 18:07:41 +02:00
René Kijewski
ce428a8937 Merge pull request #1292 from Kijewski/issue-1288
core/cortex-m: add missing NORETURNs to thread_arch
2014-06-09 22:11:29 +02:00
Oleg Hahm
f6cd96b023 Merge pull request #1300 from cgundogan/fix_wrong_byte_order_ipv6_length
destiny: change byte order of ipv6_header->length
2014-06-09 22:01:41 +02:00
Oleg Hahm
9652c24b71 Merge pull request #1275 from cgundogan/fix_tcp_flags_for_wireshark
destiny: wireshark compliant tcp flags
2014-06-09 21:45:11 +02:00
Cenk Gündoğan
ecf47b1f48 destiny: using a bit field for tcp_header->data_offset is more convenient
In the current implementation the data offset is coded into an uint8_t.
Of this uint8_t only 3 bits apply for the data offset.
The remaining bits represent reserved flags for future use.
However, a proper bit masking is forgotten in order
to obtain the data offset part of this uint8_t.

Therefore, defining this uint8_t as a bit field allows a more convenient
method of access.
2014-06-09 19:37:37 +02:00
Cenk Gündoğan
97da23051a destiny: change byte order of ipv6_header->length
When accessing the length field of an ipv6_header a byte order switch (host -> network) is necessary.
Otherwise, it breaks calculations or the checksum and other tcp related computations.
Furthermore, when writing to ipv6_header->length it is important to switch this
from host byte order to network byte order.
2014-06-08 20:50:45 +02:00
Ludwig Ortmann
4cdd9a246b Merge pull request #1192 from LudwigOrtmann/native_override_pid
native: add id option
2014-06-06 16:31:32 +02:00
Ludwig Ortmann
dbc36fc2c5 native: add id option 2014-06-06 16:30:54 +02:00
Ludwig Ortmann
33f1e11d41 Merge pull request #1274 from sgso/wireshark_dissector
wireshark: fix dissector plugin and expand documentation
2014-06-06 16:29:23 +02:00
René Kijewski
b6dc5c9b76 core/cortex-m: add missing NORETURNs to thread_arch 2014-06-05 21:01:35 +02:00
Cenk Gündoğan
7584ffe887 destiny: fixed condition for error handling
send_tcp returns either the length of the sent data,
or -1, if an error was detected.

The current implementation checks for != 1.
This results in executing the error case, although
there was semantically no error returned from send_tcp.
2014-06-05 14:17:48 +02:00
Cenk Gündoğan
43b7a393b1 destiny: wireshark compliant tcp flags
This enum is also used to set the tcp flags within a tcp header.
With the current values in this enum, wireshark is not able to
recognize the tcp segments as their actual tcp type,
and thus odd messages in wireshark appear.

destiny: reusing tcp flags for combinations
2014-06-05 13:15:00 +02:00
Sebastian Sontberg
06433426cf wireshark: fix dissector plugin and expand documentation
The wireshark dissector plugin currently fails with a "Lua Error" when
trying to parse nativenet packets. This patch restores working behaviour
by commenting the offending line introduced in 1258675, which intention
was to account for padding in small packets. It further adds a comment
on how to edit the plugin for the case padding information is required.

The README.md now contains a usage note for configuration on fedora
which might also be helpful for users of other distributions.
2014-06-04 20:36:18 +02:00
Thomas Eichinger
87f0977c21 Merge pull request #1272 from OlegHahm/sched_pidlist_fix
core: fix variable name for sched_pidlist
2014-06-04 12:38:25 +02:00
Oleg Hahm
c679a051d9 core: fix variable name for sched_pidlist 2014-06-04 02:13:06 +02:00
Oleg Hahm
47e5c9055c Merge pull request #1269 from cgundogan/fix_get_waiting_connection_socket_null_check
destiny: segfault due to dereferencing nullpointer
2014-06-04 00:51:41 +02:00
Cenk Gündoğan
f41fe7bb04 destiny: segfault due to dereferencing nullpointer
get_socket(i) returns NULL, when no specific socket is found.
Without an appropriate check for NULL, the current state
of the code leads to a segfault.

destiny: added parens

destiny: continuing the loop makes more sense than returning at first sight of NULL
2014-06-03 22:48:01 +02:00
René Kijewski
aab2311205 Merge pull request #1248 from thomaseichinger/debug_h_doc_fix
core:debug: documentation for `DEBUG_PRINT` was confusing and wrong
2014-06-03 22:42:39 +02:00
René Kijewski
d0d935f996 Merge pull request #1250 from Kijewski/x86-osx-fix-download
x86: fix download script for OSX
2014-06-03 22:41:11 +02:00
René Kijewski
ee02a0f654 x86: fix download script for OSX
Mac OSX does not have `wget`, but `curl`.
It does not understand `tar xJ`, but `tar xj`.
2014-06-03 22:36:00 +02:00
Martine Lenders
e84cdd67b7 Merge pull request #1238 from authmillenon/makefile-unittests
unittests: Force execution of $(UNITTEST_LIBS) build target
2014-06-03 17:56:09 +02:00
Ludwig Ortmann
cf555c4ebd Merge pull request #1214 from LudwigOrtmann/issue-1045
native: unix socket path enhancement
2014-06-03 17:26:19 +02:00
Ludwig Ortmann
1e5e19bc23 native: set optional path with unix socket option
fixes #1045
2014-06-03 16:46:40 +02:00
Ludwig Ortmann
e36590cda7 native: fix coding style 2014-06-03 16:46:40 +02:00
René Kijewski
05a4bf7f04 Merge pull request #1057 from Kijewski/sched_switch-current_prio
core: imply current_prio in `sched_switch()`
2014-06-03 15:59:23 +02:00
Martine Lenders
eb75093cfc Merge pull request #1262 from cgundogan/fix_posix_accept
pnet: accept should return a new generated file descriptor
2014-06-03 14:25:58 +02:00
Cenk Gündoğan
56298378ee pnet: accept should return a new generated file descriptor
From man page:
On success, these system calls return a nonnegative integer that is a
descriptor for the accepted socket. On error, -1 is returned, and errno
is set appropriately.
2014-06-02 18:53:51 +02:00
René Kijewski
fb6197af39 Merge pull request #1261 from Kijewski/test_struct_tm_utility-license
tests: add missing license to test_struct_tm_utility
2014-06-02 17:36:28 +02:00
René Kijewski
fa76383700 tests: add missing license to test_struct_tm_utility 2014-06-02 16:54:46 +02:00
Oleg Hahm
bd94bd22f6 Merge pull request #1209 from Kijewski/buildinfo
make: add comprehensive `buildinfo` list
2014-06-02 14:04:01 +02:00
Thomas Eichinger
9cde1e5fc3 Merge pull request #1146 from Kijewski/struct-tm-utils
sys: add utility functions for `struct tm`
2014-05-28 12:20:32 +02:00
Thomas Eichinger
a2fb1159b3 Merge pull request #1247 from thomaseichinger/transceiver_doc
sys:transceiver: fix some doxygen comments
2014-05-28 12:02:25 +02:00
René Kijewski
bd2fbd161b Add struct tm utility "test" 2014-05-28 00:43:41 +02:00
René Kijewski
1887bd45c6 sys: add utility functions for struct tm 2014-05-28 00:16:32 +02:00
Oleg Hahm
256a2074f0 Replaced old release notes with the current ones 2014-05-27 19:28:54 +02:00
Thomas Eichinger
cf93dc6590 core:debug: documentation for DEBUG_PRINT was confusing and wrong 2014-05-27 16:29:35 +02:00
Thomas Eichinger
f32c7af1a9 sys:transceiver: fix some doxygen comments 2014-05-27 15:57:28 +02:00
Thomas Eichinger
cc83220f48 Merge pull request #1217 from thomaseichinger/YALF
boards: cpu: cleanup licenses to fix #392
2014-05-27 11:55:56 +02:00
Thomas Eichinger
c70ae14ff0 cleanup licenses to fix #392 2014-05-27 11:54:55 +02:00