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

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

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

revision 1.7 by likewise, Sun Nov 24 22:27:10 2002 UTC revision 1.8 by jani, Tue Dec 17 09:41:16 2002 UTC
# Line 314  tcp_listen(struct tcp_pcb *pcb) Line 314  tcp_listen(struct tcp_pcb *pcb)
314  #endif /* LWIP_CALLBACK_API */  #endif /* LWIP_CALLBACK_API */
315  /* workaround for compile error: assignment requires modifiable lvalue in TCP_REG */  /* workaround for compile error: assignment requires modifiable lvalue in TCP_REG */
316  #if LWIP_TCP_REG_COMPILE_ERROR  #if LWIP_TCP_REG_COMPILE_ERROR
317    // place this pcb at the start the "listening pcbs" list    /* place this pcb at the start the "listening pcbs" list */
318    lpcb->next = tcp_listen_pcbs;    lpcb->next = tcp_listen_pcbs;
319    tcp_listen_pcbs = lpcb;    tcp_listen_pcbs = lpcb;
320  #else  #else
# Line 753  tcp_kill_prio(u8_t prio) Line 753  tcp_kill_prio(u8_t prio)
753    }    }
754    if(inactive != NULL) {    if(inactive != NULL) {
755      DEBUGF(TCP_DEBUG, ("tcp_kill_prio: killing oldest PCB 0x%p (%ld)\n",      DEBUGF(TCP_DEBUG, ("tcp_kill_prio: killing oldest PCB 0x%p (%ld)\n",
756                         inactive, inactivity));                         (void *)inactive, inactivity));
757      tcp_abort(inactive);      tcp_abort(inactive);
758    }          }      
759  }  }
# Line 775  tcp_kill_timewait(void) Line 775  tcp_kill_timewait(void)
775    }    }
776    if(inactive != NULL) {    if(inactive != NULL) {
777      DEBUGF(TCP_DEBUG, ("tcp_kill_timewait: killing oldest TIME-WAIT PCB 0x%p (%ld)\n",      DEBUGF(TCP_DEBUG, ("tcp_kill_timewait: killing oldest TIME-WAIT PCB 0x%p (%ld)\n",
778                         inactive, inactivity));                         (void *)inactive, inactivity));
779      tcp_abort(inactive);      tcp_abort(inactive);
780    }          }      
781  }  }
# Line 966  tcp_pcb_purge(struct tcp_pcb *pcb) Line 966  tcp_pcb_purge(struct tcp_pcb *pcb)
966      if(pcb->unacked != NULL) {          if(pcb->unacked != NULL) {    
967        DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->unacked\n"));        DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->unacked\n"));
968      }      }
969  #if TCP_QUEUE_OOSEQ // LW  #if TCP_QUEUE_OOSEQ /* LW */
970      if(pcb->ooseq != NULL) {          if(pcb->ooseq != NULL) {    
971        DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->ooseq\n"));        DEBUGF(TCP_DEBUG, ("tcp_pcb_purge: data left on ->ooseq\n"));
972      }      }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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