Commit Graph

770 Commits

Author SHA1 Message Date
adamdunkels
a42311dc7e Only process incoming data if the process is polled. Compile checksum checks only for IPv4. 2008-11-06 08:18:29 +00:00
nvt-se
da7877e8ab corrected macro name 2008-11-05 19:34:36 +00:00
nvt-se
a1ea7cbe3e generalized log buffer adjustments into functions. simplified next_log_record
usage.
2008-11-04 23:30:47 +00:00
nvt-se
6ca91f1271 revoked accidental renaming om dir cache entries. 2008-11-04 23:12:44 +00:00
nvt-se
e6a7089942 refactored the code and reduced the ROM size a few dozen of bytes 2008-11-04 23:09:55 +00:00
nvt-se
ae8c93d0aa cut 500 bytes of ROM size. 2008-11-04 17:48:36 +00:00
nvt-se
1309cb474d removed redundant code 2008-11-04 17:23:59 +00:00
nvt-se
becfecfe1b reduced rom size by ~40 bytes 2008-11-04 16:58:52 +00:00
nvt-se
a6a17bc52c optimized the merge log operation and fixed a fd update bug. 2008-11-04 15:49:54 +00:00
nvt-se
71d01a44a1 adjust read chunk size according to log entry size 2008-11-03 20:21:43 +00:00
nvt-se
fff8b46110 fixed a buffer bug with the micro logs 2008-11-03 16:58:18 +00:00
nvt-se
a6afeb2de6 fixed bug with dislocated end of file search 2008-11-03 15:13:13 +00:00
adamdunkels
d73124cc5e Bugfix: there was a problem with TCP segments not being properly retransmitted for protosockets-based applications. Cleaning up the logic around acknowledgements and retransmissions fixed the bugs pertaining to retransmissions of lost packets. This bugfix affects both the telnet server and the web server (which now work as expected wrt packet loss). 2008-10-31 18:10:24 +00:00
nvt-se
afeedb1f2b fixed compiler warnings that were introduced with the new reserve function. 2008-10-29 15:36:21 +00:00
nvt-se
e15fbdbd40 allow duplicate reservations when flushing the log. 2008-10-28 14:47:50 +00:00
nvt-se
f05ccac0a7 documented the extra Coffee functions. 2008-10-21 13:39:56 +00:00
nvt-se
b591bb1b72 read as much as possible, even when reading log records. 2008-10-21 13:26:24 +00:00
adamdunkels
f623b81d59 Temporarily out-commented the problematic code and added a comment that describes the problem 2008-10-17 14:40:16 +00:00
nvt-se
7d07a7f65d prohibit 0-sized log entries. 2008-10-16 13:17:27 +00:00
nvt-se
8bb7e37baf - new log semantics: read the previous log entry only if the new one doesn't completely overshadow it.
- bug fix: prohibit file reservations with names that already exist.
2008-10-16 12:54:36 +00:00
nvt-se
77c72f4588 improved log write semantics on configured logs. 2008-10-16 09:58:57 +00:00
mdurvy
75f036f698 uncommented the remove of the router (necessary for compliance) 2008-10-16 09:07:43 +00:00
blakelev
99f6932cdf Removed one line to prevent the default router from being removed
prematurely.  This timer should not time out, but it does.
2008-10-15 23:29:38 +00:00
nvt-se
0a6ae9b7aa fixed documentation typos 2008-10-15 14:17:28 +00:00
nvt-se
ccd492f687 sanity check on configure_log parameters 2008-10-15 13:57:30 +00:00
adamdunkels
adc57729c3 struct uip_udp_conn should be declared even if UIP_UDP is zero (it does not add any extra code) 2008-10-15 08:56:44 +00:00
adamdunkels
e931260603 Added more curly brackets to ensure ANSI C compliance when UIP_TCP is defined; 2008-10-15 08:52:30 +00:00
adamdunkels
6a3565f5b6 Added an #if around the whole code if IPv6 is defined 2008-10-15 08:08:32 +00:00
adamdunkels
91910f82dd added curly brackets to ensure ANSI C compliance when UIP_TCP is defined; some automatic whitespace removal 2008-10-15 07:59:34 +00:00
adamdunkels
647443cb9d Added payload field to ICMP v4 header that was inadvertedly removed during the uIPv6 commits; automatic whitespace removal at line ends 2008-10-15 07:55:00 +00:00
julienabeille
2238f2e7da Debugged autoconf for ethernet 2008-10-14 16:50:11 +00:00
julienabeille
4f9bc05f90 ping-ipv6 example compiles on native cygwin 2008-10-14 13:39:12 +00:00
nvt-se
b693690fbe added parameter descriptions 2008-10-14 13:27:55 +00:00
nvt-se
775b8b4ae5 fixed documentation typos. 2008-10-14 12:46:39 +00:00
adamdunkels
fc1a8575d6 Removed unused include files (also automatically removed whitespace from line endings) 2008-10-14 12:26:18 +00:00
julienabeille
2e8264010b Main uIPv6 files addition - more 2008-10-14 09:42:33 +00:00
julienabeille
f95cdc5abb Main uIPv6 files addition 2008-10-14 09:40:56 +00:00
nvt-se
10639bc982 use abstract types for offsets and pages so that we can easily port it to
very large or small memories.
2008-10-03 19:27:28 +00:00
nvt-se
ebeb0b1452 use unsigned long since clock_seconds() returns that. 2008-10-02 15:04:37 +00:00
nvt-se
87a136d33a a timer of seconds 2008-10-02 10:17:48 +00:00
joxe
193bbc9ffa fixed energest to always add positive values and to use all bits, removed energest arch 2008-09-29 11:44:37 +00:00
joxe
673d73bfa3 added energest on all parts of leds API and some cleanup 2008-09-29 11:35:28 +00:00
nvt-se
7f3e81f5d3 fixed file descriptor leakage and erroneous flag setting. 2008-09-21 16:07:26 +00:00
nvt-se
9e7add658b corrected assignments. 2008-09-21 15:30:51 +00:00
nvt-se
ac6ce4cbf1 increased sequential read performance by eliminating a header reading. 2008-09-21 15:01:48 +00:00
nvt-se
4b6abd4fb7 bug fixes:
- close all file descriptors after formatting.
- do not increase file size when flushing the log.
- make sure that the fd is positive in FD_VALID.
2008-09-21 12:49:08 +00:00
adamdunkels
f127b3e24c Added a timer_remaining() function that returns the time until the timer expires 2008-09-21 08:58:05 +00:00
adamdunkels
7b238a91af Don't turn on the radio on after sending a broadcast 2008-09-04 17:44:01 +00:00
nvt-se
195062416e corrected parameter type 2008-08-28 14:32:53 +00:00
nvt-se
86bce2636d fixed bug with eof hint 2008-08-28 14:31:10 +00:00