/[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.53 by kieranm, Wed Nov 24 17:05:41 2004 UTC revision 1.54 by likewise, Fri Feb 4 13:43:13 2005 UTC
# Line 758  tcp_receive(struct tcp_pcb *pcb) Line 758  tcp_receive(struct tcp_pcb *pcb)
758    
759        /* Update the send buffer space. */        /* Update the send buffer space. */
760        pcb->acked = ackno - pcb->lastack;        pcb->acked = ackno - pcb->lastack;
761        pcb->snd_buf += pcb->acked;  
762          /* FIX: Data split over odd boundaries */
763          pcb->snd_buf += ((pcb->acked+1) & ~0x1); /* Even the send buffer */
764    
765        /* Reset the fast retransmit variables. */        /* Reset the fast retransmit variables. */
766        pcb->dupacks = 0;        pcb->dupacks = 0;

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

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