Commit Graph

  • 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
  • b5d28e0a9c patch #6969: PPP: missing PAP authentication UNTIMEOUT goldsimon 2009-12-04 15:41:26 +00:00
  • 73251bc9c1 PPP: Make MAXNAMELEN/MAXSECRETLEN overridable in lwipopts.h goldsimon 2009-12-04 09:00:55 +00:00
  • 3fa63b35b3 The guy's name is Van Jacobson (not Jabobsen or Jacobsen :-) goldsimon 2009-12-04 08:57:22 +00:00
  • 65f006e52e Moved the function definitions so that other modules can use the ICMP protocol header definitions when LWIP_ICMP==0 goldsimon 2009-12-04 08:11:57 +00:00
  • 7d46e06824 Fixed bug #28106: dup ack for fast retransmit could have non-zero length goldsimon 2009-12-03 19:42:35 +00:00
  • 32acb82bc0 Fixed some typos goldsimon 2009-12-03 18:07:00 +00:00
  • 3a1c5944e7 Fixed bug #27904: TCP sends too many ACKs: delay resetting tcp_input_pcb until after calling the pcb's callbacks goldsimon 2009-12-02 17:01:29 +00:00
  • 04c5246e02 Fix compilation for PPPOE without PPPOS and VJ_SUPPORT without PPPOS_SUPPORT goldsimon 2009-12-01 20:46:14 +00:00
  • 46dc1c9bfb Minor (null-pointer check for not-on-list-netif) goldsimon 2009-12-01 19:59:36 +00:00
  • b900253c09 tcp_receive(): removed unnecessary return value, added comment goldsimon 2009-11-29 13:43:38 +00:00
  • 59a5fb7ce8 Fixed bug #28054: Two segments with FIN flag on the out-of-sequence queue, also fixed PBUF_POOL leak in the out-of-sequence code goldsimon 2009-11-29 13:23:21 +00:00
  • c5d2e536cf Worked on tcp_oos unit tests, nearly all TCP_QUEUE_OOS code is covered now goldsimon 2009-11-29 13:20:13 +00:00
  • aeef0a21f3 Fixed bug #28064: pbuf_alloc(PBUF_POOL) is not thread-safe by queueing a call into tcpip_thread to free ooseq-bufs if the pool is empty goldsimon 2009-11-29 11:57:35 +00:00
  • 902ad897b8 Initial check-in of some unit tests goldsimon 2009-11-27 08:03:53 +00:00
  • 478ccee5fc tcp_rexmit(): no need to call tcp_output, since always called from tcp_input and thus tcp_output always returns without sending (prevent confusion by thinking data was sent while in tcp_rexmit!) goldsimon 2009-11-26 16:44:16 +00:00
  • 43fd5c28b5 Fixed bug #28098: Nagle can prevent fast retransmit from sending segment by basing the nagle-decision on TF_INFR also goldsimon 2009-11-26 16:42:13 +00:00
  • 4391463832 Got the tcp_nagle_*() defines wrong (inverted) :-( goldsimon 2009-11-26 15:51:29 +00:00
  • c8d2d2a8ea Fixed bug #28099 (API required to disable Nagle algorithm at PCB level): added tcp_nagele_*() function-like macros goldsimon 2009-11-26 15:19:30 +00:00
  • 6795aabecf Fixed filename in last comment goldsimon 2009-11-22 17:57:19 +00:00
  • a939c09a6b Fixed bug #27905: FIN isn't combined with data on unsent goldsimon 2009-11-22 17:55:03 +00:00
  • 35d1c33e0a tcp_alloc: prevent increasing stats.err for MEMP_TCP_PCB when reusing time-wait pcb as suggested by Bill 4 months ago goldsimon 2009-11-22 17:52:48 +00:00
  • 10edf64873 Fixed bug #27851 (TCP_EVENT_RECV(pcb, NULL,...) results in unreachable code warning) by calling tcp_recv_null if pcb->recv is null. goldsimon 2009-11-22 16:17:55 +00:00
  • 6d22c38e59 tcp_recv_null: call tcp_recved() if p != NULL to keep the window correct goldsimon 2009-11-22 16:16:55 +00:00