René Kijewski
d6ad19b410
Fix issue #896
2014-03-19 14:56:35 +01:00
Oleg Hahm
b23e157b54
Merge pull request #792 from OlegHahm/etx_fixes
...
rpl: moved debugging statements from header to c file
2014-03-19 10:23:09 +01:00
Oleg Hahm
5bcbb09b73
net: destiny: fixed typo and further cleanups
2014-03-18 12:03:03 +01:00
Oleg Hahm
5687553411
cosmetics
2014-03-18 10:08:30 +01:00
Oleg Hahm
5e4a9c0e94
net: destiny: renamed internal TCP enums
...
Rationale: LISTEN was used in MSP430-Lib for the USART.
2014-03-17 19:38:10 +01:00
Oleg Hahm
153f2f9e95
notify lowpan_transfer when IP packet is not routable
...
The IP process silently discarded an unroutable packet without replying to the 6LoWPAN layer, causing that thread to starve.
2014-03-10 19:58:52 +01:00
Oleg Hahm
3945a06851
added missing hdr position shift
2014-03-09 19:14:18 +00:00
Oleg Hahm
05ebad4380
use forwarding table entry when routing
...
So far the entry was looked up, but ignored in the case where the packet
has to be forwarded.
2014-03-09 19:03:59 +00:00
Oleg Hahm
72e1c667a7
removing possible invalid check
...
Checking for a link local address to determine if a node is on-link is
probably not a valid assumption in most wireless networks.
2014-03-09 18:51:48 +00:00
Oleg Hahm
a6bc8cba28
Merge pull request #843 from authmillenon/fix-lowpan-iphc
...
sixlowpan: Fix source address IPHC
2014-03-04 13:40:00 +00:00
Christian Mehlis
1ec20ce2f1
Merge pull request #832 from mehlis/ccn-lite-follow-up-11
...
ccnl: added documentation and proper event handling for dropped packets
2014-03-03 17:25:23 +01:00
Martin Lenders
332485e466
Fix source address IPHC
2014-03-03 17:16:29 +01:00
Oleg Hahm
9255c9cbef
removed obsolete buffer
2014-03-02 23:34:07 +00:00
Oleg Hahm
3e4fa5f012
removed error causing packed attribute in net_if
2014-03-02 23:34:07 +00:00
Christian Mehlis
d0025f6652
ccnl: added documentation and proper event handling for dropped packets
2014-03-02 19:13:45 +01:00
Oleg Hahm
6fc1f5843b
RPL byte order issues
2014-03-01 19:24:18 +01:00
Oleg Hahm
e8e424f8cd
enhanced RPL debugging
2014-03-01 19:24:16 +01:00
Martin Lenders
bdced318bc
Eliminate side effects in icmpv6_csum and make it public
2014-03-01 15:08:19 +01:00
Oleg Hahm
2c76f99f04
nbr_cache_auto_rem does not need an extra thread
2014-03-01 15:08:19 +01:00
Martin Lenders
6c9578c028
Add sixlowpan to auto_init
2014-03-01 15:08:19 +01:00
Martin Lenders
00acab920b
Let IPv6 and ICMP use new 6LoWPAN layer (+fixes)
2014-03-01 15:08:18 +01:00
Oleg Hahm
e2e62596be
Byte order and rpl problems
2014-03-01 15:08:18 +01:00
Martin Lenders
c9e8adc414
Use net_if in 6LoWPAN layer
2014-03-01 15:08:18 +01:00
Martin Lenders
108989b65d
Use net_if in 6LoWPAN MAC layer
2014-03-01 14:44:21 +01:00
Martin Lenders
470d8745e9
Add capability to set and get variable default hop limit
2014-03-01 14:44:21 +01:00
Martin Lenders
78b5f2ae5d
Decouple ICMPv6 from 6LoWPAN
2014-03-01 14:44:21 +01:00
Martin Lenders
4e39cbdd54
Put 6LoWPAN border router in its own module
2014-03-01 14:44:21 +01:00
Martin Lenders
90e946eb49
Fix ieee802154_frame module
2014-03-01 14:44:21 +01:00
Martin Lenders
bc4befb4e9
Fix coding conventions for sixlowpan and rpl module
2014-03-01 14:44:21 +01:00
Martin Lenders
848ac70f90
Implement net_if module
2014-02-28 23:13:22 +01:00
Martin Lenders
fa11d82443
Allow IEEE 802.15.4 addressing types for transceiver
...
IEEE 802.15.4 has two addressing modes: 16-bit short and the device's
EUI-64. Currently RIOT supports only sending of packets with 16-bit
short addresses via the transceiver interface. This patch allows at
least for the radio chips that support IEEE 802.15.4 to let the
application/upper layer decide which addressing mode to use.
Upper layer implementation will be implemented in follow-up PR to #460
2014-02-28 23:13:04 +01:00
Martin Lenders
3225683d2f
Include kernel.h for inet_pton for MSP-430
2014-02-28 00:14:54 +01:00
Oleg Hahm
1dc3b5910e
amendment - to be squashed
2014-02-26 19:07:02 +01:00
Oleg Hahm
28513fce9a
moved debugging statements from header to c file
...
Additionally, declaring the stacks as static.
2014-02-26 18:16:40 +01:00
Christian Mehlis
8556403f8f
Merge pull request #680 from benpicco/fix_crash
...
set up message queues for the IP and UDP thread
2014-02-24 15:10:19 +01:00
Christian Mehlis
3e980184a8
Merge pull request #748 from authmillenon/fix-possible-null-pointer-errors
...
bughunt: Fix possible null pointer dereference
2014-02-20 21:41:50 +01:00
Christian Mehlis
48f23aa43d
Merge pull request #734 from mehlis/native-c++-fixes
...
C++ compiler warnings (native, core)
2014-02-20 10:27:37 +01:00
Martin Lenders
4119e15e6b
Fix possible null pointer dereference
2014-02-20 02:29:33 +01:00
Christian Mehlis
a21c8d41e1
ccnl: fix 'no break' warning in switch
2014-02-19 23:23:54 +01:00
Christian Mehlis
87d8e4f99c
enable nonces in interests
2014-02-19 23:23:53 +01:00
Christian Mehlis
9fa0844f3f
added nonce timeout
2014-02-19 23:23:53 +01:00
Christian Mehlis
0309fecc19
fix warning: invalid suffix on literal
...
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Christian Mehlis
6578669e46
Merge pull request #718 from Kijewski/issue-693
...
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
Christian Mehlis
980bd2e7a4
ccnl: fix memory leak on CS error
2014-02-18 12:17:53 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +01:00
René Kijewski
6dea183eac
Merge pull request #721 from mehlis/fix-avaiable
...
ccnl: fix two typos
2014-02-16 23:14:44 +01:00
Christian Mehlis
fcabb3be2a
ccnl: fix two typos
2014-02-16 23:12:51 +01:00
Christian Mehlis
8897c67677
ccnl: fix ageing timeout
2014-02-16 22:45:32 +01:00
Christian Mehlis
38529e3296
replace all endless for loops by while
2014-02-14 17:47:33 +01:00
Benjamin Valentin
4068133f3d
also add msg_queue for UDP
...
All other layers in the network stack use a msg_queue to not drop messages, which in this context represent packages.
This finally fixes the random crashes when UDP network traffic is present. Turns out RIOT is not handling lost messages well.
2014-02-13 07:07:46 +01:00
Benjamin Valentin
95d3aae48c
actually use msg_queue in ip.c
...
msg_queue is defined but never used, hook it up so IP packets get queued instead of dropped when there is more than one.
change the name to ip_msg_queue to avoid naming conflicts.
2014-02-13 07:07:07 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
0e734f5c38
Merge pull request #663 from authmillenon/rm-addr-conv-dep
...
Remove destiny header dependency from net_help
2014-02-11 13:41:21 +01:00
Christian Mehlis
bfadc1a18e
Merge pull request #640 from benpicco/fixes
...
newlib doesn't support the z modifier
2014-02-10 20:33:42 +01:00
Christian Mehlis
14cb81d914
Merge pull request #639 from mehlis/remaining-license
...
added licenses to some files
2014-02-10 10:18:01 +01:00
Benjamin Valentin
2e26bb7214
newlib doesn't support the z modifier
...
on msba2 this will print
Initializing transport layer packages. Size of socket_type: zu
2014-02-08 21:31:13 +01:00
Christian Mehlis
7ccf0e0858
Merge pull request #643 from N8Fear/fix_memleak_ccn-lite-ctrl
...
fix memory leaks in sys/net/ccn_lite/util/ccn-lite-ctrl.c
2014-02-08 12:57:21 +01:00
Christian Mehlis
8076d1c3a6
Merge pull request #647 from benpicco/patch-1
...
proper line breaks in payload debug output
2014-02-08 12:23:28 +01:00
Christian Mehlis
050b714e78
added licenses to some files
2014-02-08 12:20:28 +01:00
Martin Lenders
e5df49dc5e
Remove destiny header dependency from net_help
2014-02-08 00:31:02 +01:00
benpicco
86b2df0ca6
proper line breaks in payload debug output
...
I guess the idea was to make a new line after every 16 elements, not every element except for every 16th
2014-02-07 09:05:28 +01:00
Hinnerk van Bruinehsen
1722b936b8
fix memory leaks in sys/net/ccn_lite/util/ccn-lite-ctrl.c
2014-02-07 00:15:26 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Martin Lenders
df598772d3
Fix net_help include path
2014-02-01 20:00:56 +01:00
Martin Lenders
333a19db03
Add Oliver Gesch as author of his files and license header
2014-01-31 17:01:51 +01:00
Oleg Hahm
1bca52495e
Merge pull request #545 from OlegHahm/problematic_stack_sizes
...
replaced stack sizes in etx_beaconing by variables
2014-01-29 15:01:49 -08:00
Oleg Hahm
9991991f92
replaced stack sizes in etx_beaconing by variables
...
resolves #356
2014-01-29 23:54:30 +01:00
Christian Mehlis
97133b9dfb
use one consistent mail address in all places
2014-01-27 20:46:45 +01:00
Oleg Hahm
8f738930c0
Merge pull request #556 from mehlis/remove-math
...
math.h: remove unneeded math.h includes
2014-01-24 07:12:32 -08:00
Christian Mehlis
f2f36f8179
math.h: remove unneeded math.h includes
2014-01-24 15:41:30 +01:00
Christian Mehlis
cb0bb80d0c
ccnl: dynamic memory - client module
2014-01-23 15:30:43 +01:00
Christian Mehlis
607a5f27c3
ccnl: dynamic memory - control module
2014-01-23 15:30:43 +01:00
Christian Mehlis
2ae4755469
ccnl: dynamic memory - appserver module
2014-01-23 15:30:43 +01:00
Christian Mehlis
fa87339083
ccnl: adapt doc to current code
2014-01-21 11:40:58 +01:00
Oleg Hahm
638bb4ce51
Merge pull request #516 from mehlis/rpl-fixes
...
first set of rpl demo related fixes
2014-01-21 02:28:41 -08:00
Christian Mehlis
348971e4db
trickle: replace call to pow (base of 2)
2014-01-20 16:43:01 +01:00
Christian Mehlis
5c3381b70a
tcp_timer: fix 'remove without use' behavior
2014-01-18 01:20:40 +01:00
Christian Mehlis
860b499fb6
lowpan: fix wrong printf usage
2014-01-18 01:18:37 +01:00
Christian Mehlis
8539517c11
icmp: fix warning of unused parameter
2014-01-18 01:17:31 +01:00
Christian Mehlis
a4f1dc464a
demo: fix printf handling
2014-01-18 01:15:29 +01:00
Christian Mehlis
b6734ce2cb
socket: fix warning of void pointer arithmetic
2014-01-18 01:12:38 +01:00
Oleg Hahm
420dc8953b
Merge pull request #504 from mehlis/ipv6-send-return-value
...
ipv6_sendto: return the success
2014-01-16 08:04:00 -08:00
Oleg Hahm
3bf55a227d
Merge pull request #457 from mehlis/vtimer-now-followup
...
fix usage of vtimer_now
2014-01-15 08:51:53 -08:00
Christian Mehlis
8cfab9d014
ipv6_sendto: return the success
2014-01-14 07:29:28 +01:00
Christian Mehlis
b157304481
ccnl: added 'content is dup' debug message
2014-01-11 18:28:32 +01:00
Christian Mehlis
2e1b0b513e
ccnl: data is not a string
2014-01-11 18:18:25 +01:00
Oleg Hahm
70c59c3f4b
size of msg_queue must be power of two
2014-01-09 18:19:57 +01:00
Christian Mehlis
a19ff87d21
socket.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
e28481b1b1
tcp_timer.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
0934d10e4b
destiny.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
31849f0771
lowpan.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
aa159fa4fe
flowcontrol.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
a59bc0d265
added missing include
2014-01-07 23:23:57 +01:00
Christian Mehlis
9d2fac1e59
removed useless include
2014-01-07 23:23:45 +01:00
Oleg Hahm
48a53373a6
repaired includes for ccn_lite
2014-01-05 16:11:08 +01:00
Oleg Hahm
c7d985d371
removed redundant include pathes from Makefiles
2014-01-05 16:11:08 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Christian Mehlis
e0f3c73d14
fix include of crypto
2013-12-20 18:43:43 +01:00
Oleg Hahm
7642dd0f1d
moved net_help into crosslayer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
59e55c354c
moved sixlowpan into network_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
2f20e9db51
moved protocol-multiplex into link_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
38be829901
moved ieee802154 into link_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
acd304e1cc
moved RPL into routing subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
a7d3092a4e
moved destiny into transport_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Christian Mehlis
2a9aac7f0b
Merge pull request #423 from OlegHahm/fix_warnings
...
Fix warnings
2013-12-18 12:02:37 -08:00
Christian Mehlis
25e22f7ac1
fix memory leak introduced in 4ee51d
2013-12-18 19:50:04 +01:00
Christian Mehlis
84258fa112
implement NACK for local requesters
2013-12-18 19:33:33 +01:00
Christian Mehlis
429b97c45b
clean up ccnls main loop
2013-12-18 19:33:33 +01:00
Christian Mehlis
72eec00f62
timeout interest
2013-12-18 19:33:33 +01:00
Christian Mehlis
9b1b472a2a
moved ccnl include folder in net/include
2013-12-18 19:33:33 +01:00
Christian Mehlis
51daa16018
get rid of not working defines
2013-12-18 19:33:33 +01:00
Christian Mehlis
ff9f557e21
clean up ccnl_get_face_or_create
2013-12-18 19:33:33 +01:00
Christian Mehlis
32e0ce5b12
fix local address detection
2013-12-18 19:33:33 +01:00
Christian Mehlis
3768d43d15
fix broadcast identifier
2013-12-18 19:33:33 +01:00
Christian Mehlis
0a803a97dd
implement packet statistics
2013-12-18 19:33:33 +01:00
Christian Mehlis
dc727b43a7
make interest retransmit timeout configurable
2013-12-18 19:33:33 +01:00
Christian Mehlis
79c79870e6
implement hwtimer based timeout
2013-12-18 19:33:33 +01:00
Christian Mehlis
2f7fd0b35c
convert all time related datastructure to struct timeval
2013-12-18 19:33:33 +01:00
Christian Mehlis
af8e36b3e0
implement dynamic forward entries
2013-12-18 19:33:33 +01:00
Martin Lenders
41da8481dd
Merge pull request #421 from OlegHahm/revert_tcp_optional
...
Revert tcp optional
2013-12-17 05:45:30 -08:00
Hauke Petersen
2df82017a8
Fixed doxygen inconsistensies in sys
2013-12-16 15:09:18 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Oleg Hahm
02e553a534
fixed some warnings
2013-12-13 19:31:47 +01:00
Oleg Hahm
6b7c88ce1b
fixed signedness and size of some data types in sixlowpan
2013-12-13 19:17:30 +01:00
Oleg Hahm
1cadf58ec8
pass border router flag to initialization function
2013-12-13 18:56:42 +01:00
Oleg Hahm
eb26edb794
moved definition of tcp_timer_stack to the correct file
2013-12-13 18:44:48 +01:00
Oleg Hahm
38e87aaa1c
Revert "make TCP in destiny optional"
...
This reverts commit 6955a2f791
. Though the
general idea makes sense, the implementation should be done in a more
elaborated way.
2013-12-13 18:37:54 +01:00
Oleg Hahm
9ee8bb2b18
Revert "pointer handling in lowpan notifier was wrong"
...
This reverts commit 5ccf653164
.
2013-12-11 15:50:10 +01:00
Oleg Hahm
7f0d71a418
Merge pull request #363 from OlegHahm/msg_fix_notifier
...
fixed lowpan and ipv6 notifier
2013-12-11 06:27:40 -08:00
Oleg Hahm
2f5530083b
Merge pull request #350 from OlegHahm/ipv6_csum
...
IPv6 Upper-Layer Checksums
2013-12-08 16:11:26 -08:00
Oleg Hahm
d0e6eb89a9
Merge pull request #347 from OlegHahm/destiny_fixes
...
UDP reception, stack sizes and typos
2013-12-04 02:29:08 -08:00
Oleg Hahm
6f7992dd12
Merge pull request #383 from OlegHahm/rpl_fixes
...
Small RPL fixes
2013-12-04 01:24:18 -08:00
Christian Mehlis
359001e170
Merge pull request #384 from OlegHahm/sixlowpan_fixes
...
printf is used in sixlowpan mac layer, stack needs to be adjusted
2013-12-03 08:59:02 -08:00
Christian Mehlis
00956e9ba5
Merge pull request #351 from OlegHahm/tcp_optional
...
make TCP in destiny optional
2013-12-03 02:19:44 -08:00
Christian Mehlis
afc6325305
fix function declaration isn't a prototype
2013-11-29 21:56:27 +01:00
Christian Mehlis
25f6d7f1db
enable timeout events
2013-11-29 21:47:09 +01:00
Christian Mehlis
b74ee26941
fix: remove oldest dynamic entry in content store
2013-11-29 21:47:09 +01:00
Christian Mehlis
229a131924
make max_cache_entries a parameter
2013-11-29 21:47:08 +01:00
Christian Mehlis
b675629a42
tune CCNL_RIOT_CHUNK_SIZE
...
this constant is used for two test cases:
1. populate + interest /riot/text
-> static content has this=90 bytes size
2. appserver + interest /riot/appserver/test
-> dynamic content is created with exact
CCNL_RIOT_CHUNK_SIZE bytes
-> CCNL_RIOT_CHUNK_SIZE can be any value the
transceiver can handle
2013-11-29 21:47:08 +01:00
Christian Mehlis
4ee51da5dd
get rid of static buffer
...
this buffer was used for two types of outgoing packets:
1. local msg
- msg can be big, there is is no apriori boundary -> use dynamic
memory instead
2. transceiver msg
- no need to copy msg in this buffer -> transceiver send is blocking
2013-11-29 21:47:08 +01:00
Oleg Hahm
8d9d43fa8c
Merge pull request #361 from LudwigOrtmann/rpl_find_preferred_parent
...
fix rpl_find_preferred_parent
2013-11-27 16:33:16 -08:00
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08:00
Oleg Hahm
1d4ea91b82
Merge pull request #366 from OlegHahm/rpl_debug
...
tiny debug improvement for RPL
2013-11-26 10:51:48 -08:00
Oleg Hahm
24314a2167
Merge pull request #358 from OlegHahm/fix_warnings
...
Fix warnings
2013-11-25 17:10:55 -08:00
Oleg Hahm
3aaa340a8e
Merge pull request #353 from OlegHahm/rpl_send
...
removed superfluous parameter in rpl_send()
2013-11-25 17:09:54 -08:00
Oleg Hahm
3a05de1ed9
check if preferred parent was set before comparing
2013-11-25 18:51:47 +01:00
Oleg Hahm
cf9309029c
remove vtimer object before (re)scheduling it
2013-11-25 18:47:58 +01:00