Martine Lenders
b7a079471a
sys: net: Initial import of a general interface to a network protocol
2014-11-20 14:51:29 +01:00
Oleg Hahm
459f550be5
Merge pull request #2042 from Kijewski/restrict
...
c++: `s/restrict/__restrict/`
2014-11-19 15:29:23 +01:00
Oleg Hahm
771b3a4506
Merge pull request #1984 from Kijewski/net_help-is-odd
...
core: move NTOHL and friends into byteorder.h
2014-11-19 15:11:43 +01:00
René Kijewski
f89e1f4a3d
c++: s/restrict/__restrict/
...
`restrict` is not a keyword in C++, but `__restrict` is understood by
GCC-ish compilers.
2014-11-19 14:27:19 +01:00
René Kijewski
3ea777ff14
Merge pull request #2017 from kaspar030/move_ringbuffer_to_core
...
Move ringbuffer to core
2014-11-19 14:22:16 +01:00
9ce0b676b4
core: sys: move ringbuffer to core
2014-11-19 14:18:39 +01:00
Hinnerk van Bruinehsen
c2a30f1e49
lint: remove unusedStructMember supressions
2014-11-19 11:22:49 +01:00
René Kijewski
c85610437b
sys: use byteorder.h in cbor.c
2014-11-19 00:46:45 +01:00
René Kijewski
434d6a1f65
core: move NTOHL and friends into byteorder.h
2014-11-19 00:46:41 +01:00
Martine Lenders
4d674ef107
Merge pull request #2019 from authmillenon/cleanup-net_help
...
net_help: Cleanup
2014-11-18 16:41:20 +01:00
Martine Lenders
c9219b87d6
net_help: prefix csum properly and add documentation
2014-11-18 14:59:37 +01:00
Oleg Hahm
9cf42d587f
Merge pull request #2002 from OlegHahm/ccnl_malloc_all_over
...
ccn-lite: use always ccnl_malloc
2014-11-17 16:01:31 +01:00
Martine Lenders
4d82c2c646
net_help: remove IPV6_CMP_ADDR macro
...
Used nowhere; alternative: ipv6_addr_is_equal(), since other use-cases
(is an IPv6 address smaller than the other) are not applicable anyway.
2014-11-17 09:42:07 +01:00
Martine Lenders
53eaa4feb8
net_help: remove printArrayRange()
...
The od module does the same, much less specialized, much more
sophisticated.
2014-11-17 09:39:45 +01:00
Martine Lenders
ba1527593f
ipv6: fix IPv6 address matching algorithm
2014-11-13 00:16:34 +01:00
Thomas Eichinger
f53dd860f0
Merge pull request #2000 from OlegHahm/ieee802154_transceiver_ignore
...
transceiver: fix ignore command for 802.15.4 radios
2014-11-12 12:33:20 +01:00
Oleg Hahm
c9bb6361fe
ccn-lite: use always ccnl_malloc
2014-11-11 21:51:52 +01:00
Oleg Hahm
2657289d5c
oneway-malloc: fix prototype for calloc
...
The prototype differs from stdlib
2014-11-11 21:50:28 +01:00
Oleg Hahm
78694ea52b
transceiver: fix ignore command for 802.15.4 radios
2014-11-11 19:48:43 +01:00
René Kijewski
9a15a6def5
make: easify {sys,drivers}/Makefile
...
Currently you need to add every new sys and driver module into the
respective Makefile. This requires rebasing if another module was merged
in the meantime.
This PR allows you to omit the entry to {sys,drivers}/Makefile, if the
subfolder has the same name as the module name, which should be sensible
in most cases.
2014-11-11 09:26:37 +01:00
Oleg Hahm
04253cf89a
Merge pull request #1980 from OlegHahm/coverity_fixes
...
net: fixes some finding from coverity
2014-11-11 00:07:43 +01:00
Oleg Hahm
e93d030058
net: fix buffer overrun in socket initialization
2014-11-10 21:33:11 +01:00
Oleg Hahm
037571445c
Merge pull request #1974 from OlegHahm/cleanup_licenses
...
licenses: fix miss-spelled & missing boiler plates
2014-11-10 19:53:40 +01:00
Oleg Hahm
39abba1bc2
licenses: fix miss-spelled & missing boiler plates
2014-11-10 18:59:55 +01:00
Oleg Hahm
d1d8972b0c
6lowpan: do not overrun in context_remove
2014-11-10 15:33:49 +01:00
Oleg Hahm
ebfaa85f0c
net_if: fix buffer overruns
2014-11-10 15:33:48 +01:00
Oleg Hahm
365bfd81af
IPv6: allow complete in ipv6_addr_init_prefix
...
If the specified prefix is a full IPv6 address, no bits remain.
Fixes a possible buffer overrun.
2014-11-10 15:33:48 +01:00
Oleg Hahm
b96b995d76
6lowpan: fix buffer overrun in decompression
2014-11-10 15:33:48 +01:00
Oleg Hahm
e06dce55b1
6lowpan: free fragment buffer in error case
2014-11-10 15:33:48 +01:00
DangNhat Pham-Huu
429162c20f
Merge pull request #1793 from BytesGalore/extern_C_in_headers_sys
...
sys: add extern "C" to headers
2014-11-10 08:57:48 +07:00
BytesGalore
de3c3cebd0
c++: sys: add extern C to header files
2014-11-08 20:09:55 +01:00
Martine Lenders
b7929ae03d
pktbuf: optimize size overhead in packet buffer
2014-11-07 12:01:22 +01:00
Oleg Hahm
9d5c3f4c8b
auto_init: always set source address mode
2014-11-06 21:52:08 +01:00
Oleg Hahm
8f93b5cee7
Merge pull request #1948 from OlegHahm/netif_byteorder
...
Netif fix byteorder
2014-11-06 20:06:12 +01:00
Hauke Petersen
4cdc79f3a9
Merge pull request #1945 from thomaseichinger/sc_lsm303dlhc
...
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 15:03:10 +01:00
Oleg Hahm
ac3519d46a
net_if: alternative approach for swapping the byte order
2014-11-06 14:30:22 +01:00
Oleg Hahm
f79e228e44
shell: sensors: exit on failure
...
Immediately leave the read command if sensor is not initialized.
2014-11-06 13:45:44 +01:00
Thomas Eichinger
6bbc4ca226
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 11:28:22 +01:00
Hauke Petersen
7e043bb27f
sys/shell: added commands for iot-lab_M3 sensors
2014-11-06 10:41:55 +01:00
Oleg Hahm
0fed329774
Merge pull request #1941 from OlegHahm/ieee802154_use_enums
...
Ieee802154: use enums for frame type
2014-11-06 08:03:53 +01:00
Oleg Hahm
32543afdd0
ieee802154: make use of frame_type enum all over
2014-11-06 08:02:27 +01:00
Oleg Hahm
74a53e824e
ieee802154: change frame type definition to enum
2014-11-06 08:02:11 +01:00
Thomas Eichinger
660f24405e
shell/transceiver: set 16 bit addresses and frame type
2014-11-04 15:14:37 +01:00
Martine Lenders
0641ccbd5d
auto_init: adapt auto_init for cc110x devices
2014-11-02 15:05:28 +01:00
Troels Hoffmeyer
406872751a
Only read pan ID when address mode is not 0, when reading 802.15.4 header
2014-10-31 10:16:34 +01:00
Oleg Hahm
fce3a2243e
Merge pull request #1846 from thomaseichinger/at86rf23x
...
drivers/at86rf231: refactoring of the at86rf231 radio driver
2014-10-31 09:33:30 +01:00
Hinnerk van Bruinehsen
d1775a1ad1
lint: fix redundantCopy in udp code
2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
ce075d9cbd
lint: suppress warning about obsoleteFuntionsasctime
2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
aca4724447
lint: fix warnings of possible nullPointer dereferences
2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
ff6a7febc6
lint: fix uselessAssignmentPtrArg
2014-10-31 01:24:30 +01:00