/[lwip]/lwip/src/core/tcp_in.c
ViewVC logotype

Diff of /lwip/src/core/tcp_in.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.50 by kieranm, Sun Sep 12 16:03:54 2004 UTC revision 1.51 by kieranm, Sun Sep 12 16:34:06 2004 UTC
# Line 818  tcp_receive(struct tcp_pcb *pcb) Line 818  tcp_receive(struct tcp_pcb *pcb)
818         rationale is that lwIP puts all outstanding segments on the         rationale is that lwIP puts all outstanding segments on the
819         ->unsent list after a retransmission, so these segments may         ->unsent list after a retransmission, so these segments may
820         in fact have been sent once. */         in fact have been sent once. */
     /* KJM 13th July 2004  
        I don't think is is necessary as we no longer move all unacked  
        segments on the unsent queue when performing retransmit */  
 #if 0  
821      while (pcb->unsent != NULL &&      while (pcb->unsent != NULL &&
822             /*TCP_SEQ_LEQ(ntohl(pcb->unsent->tcphdr->seqno) + TCP_TCPLEN(pcb->unsent), ackno) &&             /*TCP_SEQ_LEQ(ntohl(pcb->unsent->tcphdr->seqno) + TCP_TCPLEN(pcb->unsent), ackno) &&
823               TCP_SEQ_LEQ(ackno, pcb->snd_max)*/               TCP_SEQ_LEQ(ackno, pcb->snd_max)*/
# Line 846  tcp_receive(struct tcp_pcb *pcb) Line 842  tcp_receive(struct tcp_pcb *pcb)
842          pcb->snd_nxt = htonl(pcb->unsent->tcphdr->seqno);          pcb->snd_nxt = htonl(pcb->unsent->tcphdr->seqno);
843        }        }
844      }      }
 #endif  
845      /* End of ACK for new data processing. */      /* End of ACK for new data processing. */
846    
847      LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_receive: pcb->rttest %u rtseq %lu ackno %lu\n",      LWIP_DEBUGF(TCP_RTO_DEBUG, ("tcp_receive: pcb->rttest %u rtseq %lu ackno %lu\n",

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26