212 |
arrivals). */ |
arrivals). */ |
213 |
if(prev != NULL) { |
if(prev != NULL) { |
214 |
((struct tcp_pcb_listen *)prev)->next = lpcb->next; |
((struct tcp_pcb_listen *)prev)->next = lpcb->next; |
215 |
// our successor is the remainder of the listening list |
/* our successor is the remainder of the listening list */ |
216 |
lpcb->next = tcp_listen_pcbs; |
lpcb->next = tcp_listen_pcbs; |
217 |
// put this listening pcb at the head of the listening list |
/* put this listening pcb at the head of the listening list */ |
218 |
tcp_listen_pcbs = lpcb; |
tcp_listen_pcbs = lpcb; |
219 |
} |
} |
220 |
|
|