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
Oleg Hahm
05eb5a8ba6
use correct length for UDP checksum calculation
2013-11-20 02:22:50 +01:00
Oleg Hahm
6804164a35
Merge pull request #341 from OlegHahm/rpl_fixes
...
made stacks for RPL threads static and using pre-defined sizes
2013-11-19 13:57:20 -08:00
Oleg Hahm
279a11cde7
Merge pull request #307 from OlegHahm/ieee802154_frame_recv
...
fixed byte order in reception of IEEE802.15.4 frames
2013-11-19 12:26:03 -08:00
Oleg Hahm
5cfd0aa60e
made stacks for RPL threads static and using pre-defined sizes
2013-11-19 21:23:52 +01:00
Oleg Hahm
19f4f45445
added some debug output for the network stack
2013-11-14 10:46:21 +01:00
Oleg Hahm
6377022ab3
doxygen improvements for ccn_lite
2013-11-06 18:51:59 -08:00
Oleg Hahm
3b94bef32a
Merge pull request #282 from authmillenon/net_module_refactor
...
Refactor net module to one include directory
2013-11-06 18:26:31 -08:00
Oleg Hahm
18d2dc1c59
Merge pull request #287 from mehlis/ccn-lite-to-upstream
...
import ccn lite
2013-11-06 15:41:14 -08:00
Christian Mehlis
8ae7750263
import ccn lite
2013-11-07 00:37:38 +01:00
Martin Lenders
d47907ed1a
Refactor net module to one include directory
2013-11-06 13:04:23 +01:00
Oleg Hahm
a7a97e92c3
fixed byte order in reception of IEEE802.15.4 frames according to the fixed sending in f6c37b0b4f
2013-11-05 17:46:16 -08:00
Oleg Hahm
9fd82e9d01
Merge pull request #302 from OlegHahm/radio_stack_size
...
increased stack size for mac layer packet handling
2013-11-04 11:57:34 -08:00
Oleg Hahm
a4ff881a27
Merge pull request #274 from benpicco/routing
...
[RFC] allow applications to register a function to provide routing information
2013-11-04 11:54:26 -08:00
Oleg Hahm
d687d82827
increased stack size for mac layer packet handling
2013-11-04 09:27:53 -08:00
Martin Lenders
a9bbcb0868
Fix sixlowpan/icmp.h
...
size_t in function definition needs stddef.h include
2013-11-04 11:08:37 +01:00
Martin Lenders
05ececa079
Merge pull request #259 from OlegHahm/ieee802154_frame_byteorder
...
fixed byte order in network stack
2013-11-03 05:40:03 -08:00
Oleg Hahm
cc3301b45f
Merge pull request #285 from hper/rpl_fixes
...
fixed length for DAO ACK
2013-10-29 12:30:17 -07:00
Oleg Hahm
1b4a9a336f
Merge pull request #263 from OlegHahm/sixlowpan_fixes
...
sixlowpan address initialization
2013-10-29 02:49:39 -07:00
Heiner
ca0fe0153f
fixed length for DAO ACK
2013-10-29 09:41:30 +01:00
Oleg Hahm
95bd2e6b8a
fixed sixlowpan address initialization
...
* prevent that IPv6 address gets overwritten when configuring as adhoc router
* additional debug information about assigned IPv6 addresses
2013-10-29 00:01:37 +01:00
Oleg Hahm
0ad9d82d8b
Merge pull request #218 from mehlis/semaphore
...
posix: add semaphore
2013-10-28 15:13:08 -07:00
Benjamin Valentin
cf63e1cefc
add ipv6_iface_set_routing_provider Allow an application to register a function that decides what to do with IP packets that are not destined for the node. RIOT will call the registered function to forward packets according to the applications routing table.
2013-10-27 13:53:02 +01:00
Martin Lenders
128125b44e
Some fixes to destiny
...
* fixed broken destiny types header
* added TCP flags to corresponding header
* removed TCP_HC struct from tcp.h
2013-10-25 23:06:50 +02:00
Oleg Hahm
a94d4a0b46
correct byte order for UDP length field
2013-10-25 17:46:18 +02:00
Oleg Hahm
9bd8e35c54
correct byte order for IPv6 length field
2013-10-25 17:45:53 +02:00
Oleg Hahm
f6c37b0b4f
fixed byte order for ieee802.15.4 frame
2013-10-25 17:45:53 +02:00
Christian Mehlis
9b84d62357
remove sixlowpans own semaphore and use new riot semaphore in flowcontrol
2013-10-25 14:45:26 +02:00
Martin Lenders
f537e19b26
Move L4 packet headers to destiny/types.h
2013-10-25 14:28:17 +02:00
Martin Lenders
6b999dc7bf
Enforce coding conventions in destiny via astyle
2013-10-25 14:28:17 +02:00
Martin Lenders
4825ec21b9
Order includes in destiny
2013-10-25 14:28:16 +02:00
Martin Lenders
94217d03e8
Move msg_help to destiny
2013-10-25 14:28:16 +02:00
Martin Lenders
75064eb630
Add documentation for destiny/socket.h
2013-10-25 14:28:16 +02:00
Martin Lenders
3149e83826
Refactor destiny/socket.h
2013-10-25 14:28:16 +02:00
Martin Lenders
b223a8baf0
Add Documentation destiny/in.h
2013-10-25 14:28:16 +02:00
Martin Lenders
e899970ecd
Refactor destiny/in.h
2013-10-25 14:28:16 +02:00
Martin Lenders
446be54a24
Add Documentation for destiny.h
2013-10-25 14:28:16 +02:00
Martin Lenders
de33fcd31b
Refactor destiny.h
2013-10-25 14:28:16 +02:00
Oleg Hahm
ea184b59b1
print IPv6 addresses in host byte order
2013-10-23 21:16:15 +02:00
Oleg Hahm
31d99e3084
set stacksizes to default values
2013-10-23 21:15:45 +02:00
Oleg Hahm
c142b40a5b
network stack related includes
2013-10-16 15:24:41 +02:00
Martin
b7bd836fe5
fixup changed DEFAULT_OCP to 0 (of0)
2013-10-15 15:51:01 +02:00
Martin
957f15cbdf
fixup changed RPL_ROOT_RANK to 256
2013-10-15 15:51:01 +02:00
Martin
a03e9f8ed4
fixup added missing initializer brackets
2013-10-15 15:51:01 +02:00
Oleg Hahm
e8ceaeeb79
fixed includes and some data types for RPL
2013-10-15 15:50:54 +02:00
Martin
c37dce2d31
fixup payload offset calculation for fragmented packets
2013-10-07 16:07:20 +02:00
Christian Mehlis
05acbe0419
Merge pull request #220 from OlegHahm/sixlowerror_relabeling
...
renamed SUCCESS constant in sixlowerror
2013-10-02 08:43:23 -07:00
Martin Lenders
038e03ad3e
Enforce naming convention for ieee802154
2013-09-30 13:21:54 +02:00
Martin Lenders
db60557c47
Remove definition of unimplemented ieee802154 function
2013-09-30 13:20:46 +02:00
Martin Lenders
e843727ed4
Relocate ieee802154_frame.h
2013-09-30 13:20:46 +02:00
Oleg Hahm
852d3977ef
Merge pull request #221 from BytesGalore/sixlopan_fixes
...
Sixlowpan fixes
2013-09-26 14:11:59 -07:00
Martin
f7c41cfe8e
applied coding convention and changed error printout to DEBUG(...)
2013-09-24 07:35:50 +02:00