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 |
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 |
} |
} |
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 |
} |
} |
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 |
} |
} |