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
Oleg Hahm
f00432805d
use local packet_length variable in sendto
...
Having a global packet_length variable doesn't seem to be the best
idea. To avoid trouble, a scope local variable should be preferred.
2013-11-25 18:46:57 +01:00
Oleg Hahm
0eb3ca5ef1
printf is used in sixlowpan mac layer, stack needs to be adjusted
2013-11-25 18:44:36 +01:00
Oleg Hahm
de2b71221f
initializes RPL instances
2013-11-25 18:41:23 +01:00
Oleg Hahm
fce4f556a8
set received parent lifetime when creating a new parent
2013-11-25 18:38:28 +01:00
Oleg Hahm
28624aa37b
another NTOHS was missing...
2013-11-25 18:00:11 +01:00
Oleg Hahm
5ccf653164
pointer handling in lowpan notifier was wrong
2013-11-25 17:54:41 +01:00
Oleg Hahm
160c3f1794
notify registered threads about _all_ received IP packets
...
(Before notifications were only sent for IP packets that were not
forwarded.)
2013-11-25 17:53:13 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
336449d8bb
fix rpl_find_preferred_parent
2013-11-23 11:25:55 +01:00
LudwigOrtmann
c383ec4600
Merge pull request #359 from LudwigOrtmann/recv_rpl_dio
...
fix recv_rpl_dio, missing return, refactor
2013-11-23 02:05:29 -08:00
Ludwig Ortmann
6939d6f07b
unbrick send_DAO by checking my_dodag
2013-11-23 10:55:12 +01:00
Oleg Hahm
0e9b6cc1a9
Merge pull request #371 from OlegHahm/rpl_null_pointer
...
RPL null pointer handling
2013-11-22 18:47:39 -08:00
Oleg Hahm
9b5bf95924
removed unused len parameter for borderrouter demultiplex()
2013-11-23 03:45:32 +01:00
Oleg Hahm
59483627d0
removed unused parameter of internal get_udp_socket()
2013-11-23 03:45:32 +01:00
Oleg Hahm
1f50d91332
making the pedantic gcc happy
2013-11-23 03:45:26 +01:00
Oleg Hahm
2aa6bcdab4
filled up IPv6 netmask correctly
2013-11-23 03:40:07 +01:00
Oleg Hahm
7c95a1d44c
debug output when joining a dodag
2013-11-23 00:06:09 +01:00
Oleg Hahm
b129838dc4
remove all vtimers before (re)scheduliing it
2013-11-22 14:34:34 +01:00
Ludwig Ortmann
7c7cab554e
fix recv_rpl_dio, missing return, refactor
2013-11-22 10:56:13 +01:00
Oleg Hahm
d48b3fc2d1
provide a default next hop (preferred parent)
2013-11-22 02:31:08 +01:00
Oleg Hahm
f52e954916
catch some null pointers in RPL
2013-11-22 02:11:27 +01:00
Oleg Hahm
4e5b60e403
make use of the IPv6 upper-layer checksum calculation
2013-11-21 21:16:26 +01:00
Oleg Hahm
aaccd37a2f
calculate RPL checksum right before sending the ICMP packet
2013-11-21 21:16:25 +01:00
Oleg Hahm
cce3432220
added IPv6 upper-layer checksum calculation
2013-11-21 21:16:21 +01:00
Oleg Hahm
c16a3ed511
tiny debug improvement for RPL
2013-11-21 20:47:44 +01:00
Oleg Hahm
079d654104
set message type for lowpan and ipv6 notifier
2013-11-21 20:21:55 +01:00
Oleg Hahm
5a2f7264f8
use a meaningful stacksize define
2013-11-21 00:21:26 +01:00
Oleg Hahm
9230fa0550
informational output as debug
2013-11-21 00:21:01 +01:00
Oleg Hahm
49ff2ae393
dao_counter wasn't initialized
2013-11-21 00:19:56 +01:00
Oleg Hahm
a11d546663
removed superfluous parameter in rpl_send()
2013-11-21 00:13:59 +01:00
Oleg Hahm
479443eae0
moved stack from header to C file
2013-11-21 00:06:49 +01:00
Oleg Hahm
561531f64c
fix copy&paste typo
2013-11-21 00:04:41 +01:00
Oleg Hahm
f7da9e7b47
udp_packet_handler uses printf, stack must be bigger
2013-11-21 00:00:29 +01:00
Oleg Hahm
6955a2f791
make TCP in destiny optional
2013-11-20 23:54:51 +01:00
Oleg Hahm
9c28b3f5a2
declared some verbose output as debug
2013-11-20 19:14:13 +01:00
Oleg Hahm
b3162f86e7
convert into host byte order in UDP reception
2013-11-20 15:14:34 +01:00
Oleg Hahm
74f93c4992
additional debug output in lowpan and transceiver
...
* debug for lowpan_sendto()
* print destination address for all transceivers
2013-11-20 10:46:43 +01:00