Commit Graph

  • 95445fc328 Ensure ssthresh >= 2*MSS kieranm 2010-01-28 13:14:42 +00:00
  • 21e3cde95c Added missing casts (bug #28659) goldsimon 2010-01-28 12:05:14 +00:00
  • d587940801 Keep 'const' of varius snmp structs the same throughout 'derived structs' goldsimon 2010-01-28 12:04:06 +00:00
  • f5d4f3d83c For wrong configurations, let the test fail instead of the compiler goldsimon 2010-01-27 20:37:02 +00:00
  • 04a8b0f85d Added TCP_SNDQUEUELOWAT corresponding to TCP_SNDLOWAT and added tcp_sndqueuelen() - this fixes bug #28605 goldsimon 2010-01-27 18:24:57 +00:00
  • 853e33bdb4 snmp_recv: don't peek the UDP header, p->tot_len does the same; no need for the extra checks at the beginning; don't use so many if/else but if/return instead to make the code more readable goldsimon 2010-01-27 17:36:37 +00:00
  • 0644c4c08e Fixed bug #27871: Calling tcp_abort() in recv callback can lead to accessing unallocated memory. As a consequence, ERR_ABRT means the application has called tcp_abort()! goldsimon 2010-01-27 17:22:06 +00:00
  • 606fed8896 Use memp pools for snmp instead of the heap; added 4 new pools. goldsimon 2010-01-26 20:28:24 +00:00
  • a5463f0400 Moved missing include goldsimon 2010-01-26 16:09:03 +00:00
  • 96338314f1 Partly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY not implemented in SNMP): write-only or not-accessible are still returned by getnext (though not by get) goldsimon 2010-01-25 17:44:07 +00:00
  • 5d3cab0042 Added one more missing cast goldsimon 2010-01-25 09:19:52 +00:00
  • e678e1bdcb bug #28659: Missing casts goldsimon 2010-01-25 08:24:30 +00:00
  • 1811a344f5 Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords goldsimon 2010-01-24 17:25:22 +00:00
  • ef31aa12e2 Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords, added comments, added init-define for private MIB goldsimon 2010-01-24 17:16:37 +00:00
  • 9dd6c28523 bug #26523: Compiler Warnings goldsimon 2010-01-24 14:35:28 +00:00
  • 61e5301d49 bug #26523: Compiler Warnings goldsimon 2010-01-24 13:19:34 +00:00
  • 408829bcf6 Fixed compilation for LWIP_TCPIP_CORE_LOCKING goldsimon 2010-01-23 18:13:55 +00:00
  • dbcce3a4be bug #26523: Compiler Warnings goldsimon 2010-01-23 17:48:36 +00:00
  • 426dd9bfad Fixed bug #28716: select() returns 0 after waiting for less than 1 ms goldsimon 2010-01-23 15:01:15 +00:00
  • 82318c0ef1 Fixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in raw- and netconn-API goldsimon 2010-01-21 18:43:37 +00:00
  • 60696a8485 Removed unused function declaration for netbuf_len (is a macro now) goldsimon 2010-01-21 17:18:15 +00:00
  • 7044385d8e Fixed netconn_err() macro goldsimon 2010-01-20 07:37:24 +00:00
  • a7139ef06b Added missing include goldsimon 2010-01-20 07:36:45 +00:00
  • 52389fc09a Fixed bug #27316 (netconn: Possible deadlock in err_tcp) by using sys_mbox_trypost in err_tcp goldsimon 2010-01-19 18:34:01 +00:00
  • 972ca9e6c1 reorganised PPP sourcecode to 2.3.11 including some bugfix backports from 2.4.x. goldsimon 2010-01-18 20:49:43 +00:00
  • e0c5c4de88 Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it goldsimon 2010-01-18 17:45:41 +00:00
  • 149f21dc58 Only check for LWIP_RAND() if IGMP is used, for now goldsimon 2010-01-18 08:19:48 +00:00
  • 9632632b85 Minor: source code layout goldsimon 2010-01-18 08:11:57 +00:00
  • cc1e9370af Minor: fixed argument casts for mbox_fetch parameters (to fix compiler warnings) goldsimon 2010-01-18 08:11:39 +00:00
  • 34139606ca task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg goldsimon 2010-01-17 18:28:56 +00:00
  • 3e1cca65bd task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg goldsimon 2010-01-17 18:28:56 +00:00
  • 0e3c256667 Added comment goldsimon 2010-01-17 17:37:10 +00:00
  • 618355f5a7 Minor: source code layout goldsimon 2010-01-17 16:23:26 +00:00
  • ca11baf1cd Changed netconn_recv() and netconn_accept() to return err_t (bugs #27709 and #28087) goldsimon 2010-01-17 16:21:07 +00:00
  • 7ede02ca8b Fixed bug #27856: PPP: Set netif link- and status-callback by adding ppp_set_netif_statuscallback()/ppp_set_netif_linkcallback() goldsimon 2010-01-14 20:04:52 +00:00
  • 2d4e76874c Using typedefs for function prototypes and -pointers throughout the stack for clarity goldsimon 2010-01-14 20:02:15 +00:00
  • b463562241 Use protocol definition from tcp.h, not from sockets.h goldsimon 2010-01-14 19:59:28 +00:00
  • 04f17c4709 Improved includes in snmp goldsimon 2010-01-14 19:59:03 +00:00
  • 97f797e859 do_connect(): set conn->err to an error if conn->pcb is NULL goldsimon 2010-01-14 19:49:27 +00:00
  • 9521f54741 Another fix for bug #28562: Segfault @ err_tcp goldsimon 2010-01-14 15:43:11 +00:00
  • 0e38a52edc Again: Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox goldsimon 2010-01-13 15:59:47 +00:00
  • 6df94d3c76 Coding style goldsimon 2010-01-13 15:17:01 +00:00
  • 59005b544f Minor fix: bug #28555: Retransmission timer only stopped if TCP_QUEUE_OOSEQ==1 goldsimon 2010-01-13 14:24:15 +00:00
  • 8596bb7e7e The heap now may be moved to user-defined memory by defining LWIP_RAM_HEAP_POINTER as a void pointer to that memory's address (patch #6966 and bug #26133) goldsimon 2010-01-13 13:09:55 +00:00
  • 1c47d15577 Minor speedup ip_output_if when writing TTL/proto to ip header goldsimon 2010-01-13 12:52:15 +00:00
  • 67c587f9f7 Fixed NO_SYS==0: starting pppInputThread failed; fixed some comments goldsimon 2010-01-13 11:19:03 +00:00
  • 052be0a328 Added comments goldsimon 2010-01-13 11:16:47 +00:00
  • 68ddcc6ca7 Fixed bug #13315 (PPP PAP authentication can result in erroneous callbacks) by copying the code from recent pppd goldsimon 2010-01-11 16:38:56 +00:00
  • 9a2d97ec41 Fixed bug #28551 (Compiler warning introduced with closed bug #28506) goldsimon 2010-01-11 09:51:33 +00:00
  • 47e770dffa Fixed comment on struct mem.prev goldsimon 2010-01-11 09:49:31 +00:00
  • 8292cebfd9 Fixed bug #28506 (raw_bind should filter received packets) goldsimon 2010-01-10 13:45:24 +00:00
  • c483c13dc4 Fixed bug #28248 (netif_remove doesn't call netif callback) by calling netif_set_down() from netif_remove() goldsimon 2010-01-10 13:34:21 +00:00
  • 86f2942c2a Minor coding style changes, added assertion goldsimon 2010-01-10 13:32:36 +00:00
  • e4d19dc4a0 GCC didn't like memp_memory_XXX -> now using memp_memory_XXX_base (as in Bill's original patch) goldsimon 2010-01-10 13:09:55 +00:00
  • 763760503b patch #6822 (Add option to place memory pools in separate arrays) - new config option MEMP_SEPARATE_POOLS goldsimon 2010-01-10 12:44:09 +00:00
  • 13c9d2dade Added/changed comments goldsimon 2010-01-10 11:48:28 +00:00
  • 97f6c5b239 D'Oh! goldsimon 2010-01-10 11:42:31 +00:00
  • f4a9d173a1 bug #28127: remove call to tcp_output() from tcp_ack(_now)() goldsimon 2010-01-10 11:41:25 +00:00
  • d85a18752f patch #6463 (IGMP - Adding Random Delay): added define LWIP_RAND() for lwip-wide randomization (to be defined in cc.h) goldsimon 2010-01-10 10:47:27 +00:00
  • aa7dd9a8ad Forgot one line & comments goldsimon 2010-01-10 10:32:56 +00:00
  • 27c9670718 Fixed bug #28529: macro LWIP_DEBUG_TIMERNAMES in timers.h goldsimon 2010-01-09 19:14:23 +00:00
  • 32833bcd56 Inlined netif_is_up() and netif_is_link_up() as defines for speed reasons; fixed type and macro definition. goldsimon 2010-01-09 13:25:15 +00:00
  • 53bc34f3e2 Fixed bug #28195 (PPP: remove duplicate TCP/IP protocol header definitions - use the lwIP ones) - deleted unused header file goldsimon 2010-01-09 12:45:23 +00:00
  • 81640c4a83 Fixed compilation of VJ_SUPPORT after separating tx and rx goldsimon 2010-01-08 15:52:17 +00:00
  • 533e6b5f8d Fixed bug #26672 (close connection when receive window = 0) by correctly draining recvmbox/acceptmbox goldsimon 2010-01-08 15:10:03 +00:00
  • 28f0bbd575 Fixed bug #28519 (lwip_recvfrom bug with len > 65535) goldsimon 2010-01-08 14:51:14 +00:00
  • 39717b2d9d Copy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string passed to dns_local_addhost() might be volatile goldsimon 2010-01-08 14:42:09 +00:00
  • 79c88cdcfd Added function names to timer debug output goldsimon 2010-01-08 14:08:47 +00:00
  • 8a34c16aee Improved assertion message when MEMP_SYS_TIMEOUT pool is empty goldsimon 2010-01-08 13:40:50 +00:00
  • cce192a671 Call tcp_timer_needed() with NO_SYS==1, too goldsimon 2010-01-07 09:47:30 +00:00
  • cfe4a12a46 Fixed bug #28496: missing include guards in netdb.h goldsimon 2010-01-06 16:30:23 +00:00
  • 3269da52cc Initial version of PPP for NO_SYS==1, some TODOs are remaining, but it works... goldsimon 2009-12-31 17:56:51 +00:00
  • 9c51487d1a Renamed PPP tasks from "pppMain" to "pppInputThread" goldsimon 2009-12-31 17:21:11 +00:00
  • 3ba5ddefa7 Removed unnecessary tcpip-callbacks: this whole module runs inside the tcpip-thread. This also makes PPPoE usable with NO_SYS==1 goldsimon 2009-12-31 17:18:09 +00:00
  • 1d45aa8d45 Reorganised PPP source code from ucip structure to pppd structure to easily compare our code against the pppd code (around v2.3.1) goldsimon 2009-12-31 17:08:08 +00:00
  • a7bcdf4398 Remove warning for TCP_LISTEN_BACKLOG==0 goldsimon 2009-12-31 16:51:17 +00:00
  • 9a0dac5885 Removed unused test function goldsimon 2009-12-31 16:50:11 +00:00
  • c9e0652526 Remove C++-style comments goldsimon 2009-12-31 16:49:36 +00:00
  • a566f9d8f2 Separated timer implementation from semaphore/mbox implementation, moved timer implementation to timers.c/.h (TASK#7235) goldsimon 2009-12-31 16:16:44 +00:00
  • 1740b0d421 Some functions were located outside extern "C" {} goldsimon 2009-12-31 15:57:22 +00:00
  • 802a048302 Commented 2 variables goldsimon 2009-12-31 15:12:00 +00:00
  • fa08823ac4 Added an additional option LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE) goldsimon 2009-12-27 11:42:16 +00:00
  • a1c0b9da7b Added an additional option LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE) - no changes in the ppp code yet goldsimon 2009-12-27 11:40:48 +00:00
  • bf261f4f13 Another fix for bug #28241 (ooseq processing) and adapted corresponding unit test goldsimon 2009-12-27 11:31:19 +00:00
  • dc8639bc06 Update version numbering for 1.4.0 CVS development kieranm 2009-12-24 15:49:12 +00:00
  • 125efd8396 Update CHANGELOG for 1.3.2 STABLE-1_3_2 kieranm 2009-12-24 15:33:19 +00:00
  • 4a9557fa84 Update version information for 1.3.2 kieranm 2009-12-24 15:32:19 +00:00
  • 6b6c82aaee BUG28241: improve oos sequence processing with patches from Oleg Tyshev. kieranm 2009-12-24 15:31:44 +00:00
  • feca27d69e Slightly modified the out-of-sequence-FIN test: receive packets with FIN & data and with FIN alone goldsimon 2009-12-11 13:07:47 +00:00
  • fbef894674 tcp_set_state: fail on unimplemented state goldsimon 2009-12-11 13:07:06 +00:00
  • 2e4bb8b3b7 Added explicit check for number of segments and seqno/len of each segment on pcb->ooseq goldsimon 2009-12-10 17:34:11 +00:00
  • e9940acb54 Updated comments on which sio-functions are used goldsimon 2009-12-07 18:58:13 +00:00
  • 957331fff4 Added a note why MSCHAP currently doesn't work with lwIP PPP goldsimon 2009-12-07 07:50:24 +00:00
  • faba395cae Added description about the PPP stack goldsimon 2009-12-07 07:28:27 +00:00
  • 1d5809679b Various small improvements from patch #6965 (removed _inet_ntoa, set PPP netif down before removing, change log message and comment) goldsimon 2009-12-06 11:59:56 +00:00
  • b5014b0966 tcp_process: add state info to log message that is used for multiple states ("TCP connection closed") goldsimon 2009-12-06 11:57:31 +00:00
  • b1ad36eece Fixed bug #27079 (Yet another leak in PPP): outpacket_buf can be statically allocated (like in ucip) goldsimon 2009-12-06 11:12:18 +00:00
  • 1b42286bda pppInit: Remove zeroing the stats - no protocol does that goldsimon 2009-12-06 10:56:28 +00:00
  • 5da0620c6b Fixed checking input packet length (20 bytes is a valid packet and is used e.g. with MS RAS server) goldsimon 2009-12-06 10:14:46 +00:00
  • 96e8f16c05 Sligthly reordered struct netif's members to better meet alignment requirements goldsimon 2009-12-06 08:58:41 +00:00