lwip/test/unit/tcp
Joel Cunningham f582c88339 tcp: persist timer re-work (bug #50837)
This re-works the persist timer to have the following behavior:

  1) Only start persist timer when a buffered segment doesn't fit within
     the current window and there is no in-fligh data.  Previously, the
     persist timer was always started when the window went to zero even
     if there was no buffered data (since timer was managed in receive
     pathway rather than transmit pathway)
  2) Upon first fire of persist timer, fill the remaining window if
     non-zero by splitting the unsent segment.  If split segment is sent,
     persist timer is stopped, RTO timer is now ensuring reliable window
     updates
  3) If window is already zero when persist timer fires, send 1 byte probe
  4) Persist timer and zero window probe should only be active when the
     following are true:
       * no in-flight data (pcb->unacked == NULL)
       * when there is buffered data (pcb->unsent != NULL)
       * when pcb->unsent->len > pcb->snd_wnd
2017-08-25 09:35:10 -05:00
..
tcp_helper.c test_tcp: de-duplicate test IP addresses, netmask, and ports 2017-03-31 12:01:43 -05:00
tcp_helper.h test_tcp: de-duplicate test IP addresses, netmask, and ports 2017-03-31 12:01:43 -05:00
test_tcp_oos.c Ensure that unit tests leave the stack in a clean state 2017-08-03 22:28:50 +02:00
test_tcp_oos.h minor: macros should not end with underscore(s) 2016-08-08 21:47:53 +02:00
test_tcp.c tcp: persist timer re-work (bug #50837) 2017-08-25 09:35:10 -05:00
test_tcp.h minor: macros should not end with underscore(s) 2016-08-08 21:47:53 +02:00