Commit Graph

  • b306594cad Remove unused mem_reallocm curtmcd 2006-05-31 21:23:01 +00:00
  • b60b7cf8fe Use isprint() instead of isascii() as it's more common Change return type of inet_aton from s8_t to int (standard) Touch up comments and white space curtmcd 2006-05-30 19:09:41 +00:00
  • 0148128881 Fix gcc warning per discussion on lwip-users 2006.04.25: dereferencing type-punned pointer will break strict-aliasing rules. Use memcpy instead of structure copy; code is not in critical path. curtmcd 2006-05-26 19:05:41 +00:00
  • 076a884651 Add comment about purpose of struct ip_addr2. Improve white space formatting, add parens in IP4_ADDR(). curtmcd 2006-05-26 18:52:27 +00:00
  • 7026bbcdd4 Removed conn->sem creation and destruction from netconn_write() and added sys_sem_new to netconn_new_* christiaans 2006-05-26 07:39:39 +00:00
  • 6158aa684b udp_input() operated by removing the IP and UDP headers, putting back the UDP header, then re-removing it. However, pbuf_header() can't add back the UDP header on pbufs of type PBUF_REF, so these would all get dropped for bad checksum. This change addresses the problem and simplifies things by stripping each header just once. curtmcd 2006-05-26 02:40:54 +00:00
  • 047e3455f7 Improve formatting by fixing wrong indents and lines too long. curtmcd 2006-05-26 01:36:16 +00:00
  • 9ca9649c1b Disabled ARP table update on ingress IP packets. christiaans 2006-05-05 13:34:13 +00:00
  • 9a23e9839b Initial commit of FILES in doc/ likewise 2006-04-28 11:45:00 +00:00
  • 7fc966dced Optimized for speed and size. Test against zero for both the inverted and non-inverted address. (old and new-style broadcasts) christiaans 2006-04-24 07:26:06 +00:00
  • 680afa4229 memp_memory could be unaligned, causing one buffer in the memp pool to be unaligned, resulting in nasty random data corruption on some CPUs. Also, clean up the code a little and save a few bytes. curtmcd 2006-04-12 21:07:44 +00:00
  • 313743c833 Fix for out-of-sequence FIN handling, patch by Oleg Tychev. likewise 2006-04-08 00:36:25 +00:00
  • 6cb19d7e34 Dangling inseg.p pointer fix by Pedro Alves. likewise 2006-04-08 00:13:49 +00:00
  • ef0575a26d Remained indictator where new changes should go. likewise 2006-04-07 22:31:09 +00:00
  • c9db715bae addr->addr test size and speed optimalisation (helping a dumb compiler) christiaans 2006-04-04 07:21:54 +00:00
  • ed1e3899af Added optimalization hints. christiaans 2006-03-31 09:26:42 +00:00
  • 7446e31fce Address copy loops optimized for speed. christiaans 2006-03-29 13:16:40 +00:00
  • 94abf9d935 Added LWIP_PLATFORM_BYTESWAP optimalisation flag and macro glue. christiaans 2006-03-29 10:15:43 +00:00
  • d9b4ab1658 Pbuf flag test size and speed optimalisation (helping a dumb compiler). christiaans 2006-03-28 15:06:33 +00:00
  • 39f8538776 Fixed compilation warning on sizeof(), reported by Beach at 20060320. christiaans 2006-03-21 08:28:15 +00:00
  • fef5c4c9a0 Added upcoming 1.1.1 release to Changelog. STABLE-1_1_1 likewise 2006-03-15 11:20:46 +00:00
  • 61dc2e7dd5 Added pbuf_alloc() return value checks in ip_frag(). christiaans 2006-03-03 11:25:36 +00:00
  • 11a820458f Increased ip_reassbitmap size with 1, added assertions to catch boundary cases. Beautified indentation again. christiaans 2006-03-02 15:45:19 +00:00
  • 9e7418090d pbuf alignment fix. likewise 2006-03-01 16:57:43 +00:00
  • 0b3b713123 Removed 'even sndbuf' fix in TCP, this fix was a ugly hack for the incomplete checksum routine that does not work now that the checksum routine is fixed. likewise 2006-03-01 16:53:41 +00:00
  • 00f8cf57cd Added IP reassembly timer. christiaans 2006-03-01 14:51:58 +00:00
  • c55c375b0a Removed tabs, default LWIP_HAVE_LOOPIF to 0 to slim footprint. christiaans 2006-03-01 10:41:23 +00:00
  • db76ca248b 2006-02-27 Merged patch by Curt McDowell pbuf.c: Fix alignment; pbuf_init() would not work unless pbuf_pool_memory[] is properly aligned. likewise 2006-02-27 14:11:19 +00:00
  • 182e1909b2 Patch from Curt McDowell fixes err_to_errno macro. christiaans 2006-02-13 08:14:11 +00:00
  • 3aea7bc053 Removed timer dependency on sys.c (raw-API). Beautified indentation. christiaans 2006-02-13 08:12:07 +00:00
  • 39c35732de Code style fix, C++ into C comments. christiaans 2006-02-13 08:09:01 +00:00
  • 6c8850698d Small optimalization for udp_input(). christiaans 2006-01-02 12:06:02 +00:00
  • 818a726679 History update and listing PPP problems as todo. christiaans 2005-12-20 11:52:44 +00:00
  • f8663a7129 Remove PCBs which stay in LAST_ACK state too long. likewise 2005-12-20 11:03:18 +00:00
  • 7571fe5d13 Fixed unused variable warning. christiaans 2005-12-15 08:27:30 +00:00
  • 60dc1c22f7 Disabled the added summing routine to preserve code space, fixed some comments. christiaans 2005-12-15 08:26:00 +00:00
  • 02b575e9e4 Added Curt McDowell's platform-independent optimized checksum routine. likewise 2005-12-14 22:51:35 +00:00
  • 6facaf8f05 Trailing dangling byte in checksum should be considered MSB. likewise 2005-12-14 22:29:03 +00:00
  • 319a972e75 Duplicate FIN ACK race condition fix by Kelvin Lawson. likewise 2005-12-14 21:58:14 +00:00
  • 61cdbb30a6 Added some more fixes to the lwip_standard_chksum() comments. christiaans 2005-12-14 12:55:12 +00:00
  • 5088a38b9f README now points to savannah.txt instead of duplicating its nfo. likewise 2005-12-12 09:35:34 +00:00
  • f5c6a6d075 Typo fix: tens of kilobytes instead of tenths of kilobytes. likewise 2005-12-12 09:33:33 +00:00
  • b5340dd739 Updated CVS server host names and documentation about pserver anonymous, SSH non-anonymous access to it. likewise 2005-12-12 09:32:47 +00:00
  • e1dcfcbb76 Updated comment on optimization and aim of this generic algorithm. likewise 2005-12-12 09:32:05 +00:00
  • 43d448e73f Fixed lwip_standard_chksum() for unaligned memory access. Verified to work on c16x and BSD on P4. christiaans 2005-12-09 08:59:08 +00:00
  • 33fbb06604 Fixed void ptr address increment bug reported by Bertrik Sikken. christiaans 2005-11-25 12:23:03 +00:00
  • e1b215aa73 Introduced cc.h formatters and removed SO_REUSE from transport layers. christiaans 2005-11-25 12:03:38 +00:00
  • 6a17ef925d Described initialization procedure. christiaans 2005-11-02 08:08:06 +00:00
  • 7599985a0a Some build fixes for OpenBSD. christiaans 2005-10-10 07:27:31 +00:00
  • 07c0bc288a Mention of multiple pbuf fix in slipif and unaligned access fix in checksumming. likewise 2005-07-17 15:33:16 +00:00
  • f05d392920 Unaligned 16-bit access fix for the standard checksum routine by Peter Jolasson. likewise 2005-07-17 15:30:27 +00:00
  • e11d57c883 Fixes bug #13807: slipif_input() garbles large (i.e. multiple pbufs) inbound datagrams. likewise 2005-07-17 15:13:34 +00:00
  • baf377679a 2005-06-08 Leon Woestenberg <leon.woestenberg@gmx.net> * tcp_in.c: Send reset on unexpected ACK in two cases. Fix submitted by olaf.peters@technolution. likewise 2005-06-08 18:57:05 +00:00
  • f9355136d8 2005-06-08 Leon Woestenberg <leon.woestenberg@gmx.net> * udp.c: Fixed memory leak; when ip_route() failed, a possibly allocated q was never de-allocated. Fixed by called ip_route() before allocating q. likewise 2005-06-08 18:35:00 +00:00
  • bb76e69567 Mentioned unaligned access fix. likewise 2005-02-04 13:45:55 +00:00
  • 533fc217d4 4 February 2004, Leon Woestenberg <leon.woestenberg@gmx.net> tcp_in.c: Applied fix patch for bug #2679. tcp_out.c: Applied fix patch for bug #2679. http://savannah.nongnu.org/bugs/?func=detailitem&item_id=2679 likewise 2005-02-04 13:43:13 +00:00
  • ac5c6695c1 4 February 2004, Leon Woestenberg <leon.woestenberg@gmx.net> tcp_out.c: queue was not initialized to NULL, but was referenced in memerr cleanup code. likewise 2005-02-04 13:31:29 +00:00
  • 3160488352 queue was referenced before initialization in first goto memerr branch code. Replaced goto branch by its minimal equivalent error handling code. likewise 2005-02-04 13:28:50 +00:00
  • 8579e4144f More robust DHCP ARP reply checking. likewise 2005-01-24 23:02:29 +00:00
  • 6880fa62f8 Added some missing string.h includes. likewise 2005-01-24 21:05:47 +00:00
  • 2cf4287197 Mention of missing semicolon, and pcb->recv() called even when NULL. likewise 2005-01-04 12:22:44 +00:00
  • 86c774443c Fixed missing semicolon in LWIP_DEBUG statement. likewise 2005-01-04 12:20:25 +00:00
  • 3b715f4602 3 January 2004, Leon Woestenberg <leon.woestenberg@gmx> udp.c: pcb->recv() callback was called even when it was NULL. likewise 2005-01-03 17:54:21 +00:00
  • ec0c2bea6e Changed behaviour into implementation. STABLE-1_1_0 likewise 2005-01-01 18:06:21 +00:00
  • 1b3682cfa9 Updated CHANGELOG. likewise 2004-12-30 01:28:16 +00:00
  • 2a9ee35411 Removed assertion that always equaled true. likewise 2004-12-27 14:50:03 +00:00
  • 0e0a7d82de Re-enabled ARP packet queueing. (Now that multi-packet queueing is disabled in etharp.c). likewise 2004-12-27 14:45:12 +00:00
  • dfa96852f0 Disabled queueing more than 1 packet on a ARP entry, as I suspect this clashes with the TCP segment queueing. likewise 2004-12-27 14:44:19 +00:00
  • a549ec0382 Added inline source documentation. likewise 2004-12-27 14:42:02 +00:00
  • c61f01b206 tcp_write(): optimize order of valid states checks, most common first. added assertion: when the queues are NULL, queuelen must be zero. remove ACK flags from a PCB, only when we could succesfully sent an empty ACK packet. likewise 2004-12-26 01:36:37 +00:00
  • 15257f4524 Update comment on ETHARP_QUEUEING. Defaulted to being disabled. likewise 2004-12-24 21:58:53 +00:00
  • 089378ef87 christiaans: cosmetic change debug formatters as requested by Tom. christiaans 2004-12-07 08:16:27 +00:00
  • 805f495d84 christiaans: Fixed SO_REUSE default to 0. Actually we should fix udp so it won't depend on the socket layer. christiaans 2004-12-06 11:50:53 +00:00
  • 928dd94ba6 etharp.c: Corrected DHCP_DOES_ARP_CHECK behaviour. likewise 2004-11-30 17:22:18 +00:00
  • b429918b32 etharp.c: re-arranged code in find_entry(), supposedly making it more readable for all cases. likewise 2004-11-29 11:01:20 +00:00
  • 62a37a4876 Updates the FILES contents to better reflect the current state. likewise 2004-11-29 09:39:51 +00:00
  • 0e96ece6c6 Surround definition of tcp_timer_needed with #if !NO_SYS #endif. (see lwip-users 15-11-2004). likewise 2004-11-28 18:23:00 +00:00
  • f1eca32536 Mentioned ARP race fix. likewise 2004-11-28 18:06:47 +00:00
  • ed59dc1ada Prevented a race condition between a new ARP request and the ARP timer. Timeouts stay the same (halved the ARP timer, doubled the counts), but ETHARP_MAX_PENDING should be at least 2 to prevent it from reaching 0 right away, giving too little time for any ARP responses to be noted. likewise 2004-11-28 18:00:20 +00:00
  • a5cd3fcafd Added a missing "not" in the comment, the code was correct. likewise 2004-11-25 14:04:45 +00:00
  • f3def542ee Compile dammit likewise 2004-11-25 14:03:31 +00:00
  • aa249922df Removed redundant closing bracket. likewise 2004-11-25 13:59:06 +00:00
  • 37a0c57bed 2004-11-25 Leon Woestenberg <leon.woestenberg@gmx.net> * ip.c: Exploit the fact that ip_addr_isbroadcast() now checks that the given IP address actually belongs to the network of the given interface. likewise 2004-11-25 13:57:05 +00:00
  • 90b7e68b4e Removed the Smurf. likewise 2004-11-25 13:52:34 +00:00
  • 1a0c497007 Mentioned Kieran's and my changes - Leon. likewise 2004-11-25 13:33:57 +00:00
  • fd49ee3c8d 2004-11-25 Leon Woestenberg <leon.woestenberg@gmx.net> * ipv4/ip_addr.h: Renamed ip_addr_maskcmp() to _netcmp() as we are comparing network addresses (identifiers), not the network masks themselves. * ipv4/ip_addr.c: ip_addr_isbroadcast() now checks that the given IP address actually belongs to the network of the given interface. likewise 2004-11-25 13:33:07 +00:00
  • 3488a5c3c4 2004-11-25 Leon Woestenberg <leon.woestenberg@gmx.net> * etharp.c: ETHARP_CREATE is renamed to ETHARP_TRY_HARD. Do not try hard to insert arbitrary packet's source address, etharp_ip_input() now calls etharp_update() without ETHARP_TRY_HARD. etharp_query() now always DOES call ETHARP_TRY_HARD so that users querying an address will see it appear in the cache (DHCP could suffer from this when a server invalidly gave an in-use address.) likewise 2004-11-25 13:32:31 +00:00
  • ae4955f59e Replaced erronous LWIP_ERRORF with LWIP_DEBUGF likewise 2004-11-25 11:23:37 +00:00
  • fab107a9df DECLINE message was unicast instead of broadcast likewise 2004-11-25 11:10:53 +00:00
  • bb87d19e84 Kieran Mansley - kjm25@cam.ac.uk - 24th Nov 2004 * Increase pcb->snd_buf by 1 when an ACK is received in SYN_SENT state to ensure correct operation kieranm 2004-11-24 17:05:41 +00:00
  • 4e309b7992 Kieran Mansley - kjm25@cam.ac.uk - 24th Nov 2004 * Changed pcb->rttest from u16_t to u32_t - comparisons with tcp_ticks (which is u32_t) were failing after 9 hours of operation kieranm 2004-11-24 17:04:34 +00:00
  • 64aa4c716d Kieran Mansley - kjm25@cam.ac.uk - 24th Nov 2004 * Increased argument checking at start of pbuf_queue() and made resulting errors more verbose kieranm 2004-11-24 17:03:03 +00:00
  • 6b0852a21f reduce msleep interval from 250 to 1 ms in ppp jani 2004-11-09 13:03:32 +00:00
  • 8afd3e882e #if directive style fix jani 2004-11-09 11:44:06 +00:00
  • 791fa28817 Removed static declaration of dhcp_release(). likewise 2004-11-04 19:19:29 +00:00
  • 3fab752640 Removed struct netif; forward decl. is already included from ip_addr.h. Hit me if it breaks exsisting code. christiaans 2004-10-29 14:57:38 +00:00
  • 67dd939d83 Match update_arp_entry() to prototype. christiaans 2004-10-28 08:21:33 +00:00
  • ec9b447be1 17th October 2004 Leon Woestenberg <leon.woestenberg@gmx.net> rawapi.txt: Explicitly name full nomenclature for two different API's. likewise 2004-10-17 21:28:25 +00:00
  • 99e3fe9ae1 17th October 2004 Leon Woestenberg <leon.woestenberg@gmx.net> ethernetif.c: Fix lwip/stats.h support, reported by Andrew McGeachie. likewise 2004-10-17 18:13:18 +00:00
  • eb99d21022 Mentioned adapted TCP behaviour; send ACK even if one was pending, iff rcv_wnd is above threshold. STABLE-1_1_0-RC1 likewise 2004-10-16 15:12:56 +00:00