Lines Matching refs:NULL
175 if ((pcb->refused_data != NULL) || (pcb->rcv_wnd != TCP_WND)) { in tcp_close_shutdown()
213 pcb = NULL; in tcp_close_shutdown()
219 pcb = NULL; in tcp_close_shutdown()
225 pcb = NULL; in tcp_close_shutdown()
252 pcb = NULL; in tcp_close_shutdown()
256 if (pcb != NULL && err == ERR_OK) { in tcp_close_shutdown()
326 if (pcb->refused_data != NULL) { in tcp_shutdown()
328 pcb->refused_data = NULL; in tcp_shutdown()
382 if (pcb->unacked != NULL) { in tcp_abandon()
385 if (pcb->unsent != NULL) { in tcp_abandon()
389 if (pcb->ooseq != NULL) { in tcp_abandon()
461 for(cpcb = *tcp_pcb_lists[i]; cpcb != NULL; cpcb = cpcb->next) { in tcp_bind()
524 LWIP_ERROR("tcp_listen: pcb already connected", pcb->state == CLOSED, return NULL); in tcp_listen_with_backlog()
535 for(lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { in tcp_listen_with_backlog()
539 return NULL; in tcp_listen_with_backlog()
546 if (lpcb == NULL) { in tcp_listen_with_backlog()
547 return NULL; in tcp_listen_with_backlog()
659 for(pcb = *tcp_pcb_lists[i]; pcb != NULL; pcb = pcb->next) { in tcp_new_port()
694 if (ipaddr != NULL) { in tcp_connect()
705 if (netif == NULL) { in tcp_connect()
729 for(cpcb = *tcp_pcb_lists[i]; cpcb != NULL; cpcb = cpcb->next) { in tcp_connect()
803 prev = NULL; in tcp_slowtmr()
805 if (pcb == NULL) { in tcp_slowtmr()
808 while (pcb != NULL) { in tcp_slowtmr()
848 if (pcb->unacked != NULL && pcb->rtime >= pcb->rto) { in tcp_slowtmr()
921 if (pcb->ooseq != NULL && in tcp_slowtmr()
924 pcb->ooseq = NULL; in tcp_slowtmr()
953 if (prev != NULL) { in tcp_slowtmr()
1003 prev = NULL; in tcp_slowtmr()
1005 while (pcb != NULL) { in tcp_slowtmr()
1021 if (prev != NULL) { in tcp_slowtmr()
1055 while(pcb != NULL) { in tcp_fasttmr()
1070 if (pcb->refused_data != NULL) { in tcp_fasttmr()
1092 pcb->refused_data = NULL; in tcp_process_refused_data()
1130 while (seg != NULL) { in tcp_segs_free()
1145 if (seg != NULL) { in tcp_seg_free()
1146 if (seg->p != NULL) { in tcp_seg_free()
1149 seg->p = NULL; in tcp_seg_free()
1182 if (cseg == NULL) { in tcp_seg_copy()
1183 return NULL; in tcp_seg_copy()
1200 if (p != NULL) { in tcp_recv_null()
1228 inactive = NULL; in tcp_kill_prio()
1229 for(pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { in tcp_kill_prio()
1238 if (inactive != NULL) { in tcp_kill_prio()
1256 inactive = NULL; in tcp_kill_timewait()
1258 for(pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { in tcp_kill_timewait()
1264 if (inactive != NULL) { in tcp_kill_timewait()
1284 if (pcb == NULL) { in tcp_alloc()
1290 if (pcb == NULL) { in tcp_alloc()
1296 if (pcb != NULL) { in tcp_alloc()
1301 if (pcb != NULL) { in tcp_alloc()
1306 if (pcb != NULL) { in tcp_alloc()
1483 tcp_listen_pcbs.listen_pcbs != NULL); in tcp_pcb_purge()
1484 for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { in tcp_pcb_purge()
1499 if (pcb->refused_data != NULL) { in tcp_pcb_purge()
1502 pcb->refused_data = NULL; in tcp_pcb_purge()
1504 if (pcb->unsent != NULL) { in tcp_pcb_purge()
1507 if (pcb->unacked != NULL) { in tcp_pcb_purge()
1511 if (pcb->ooseq != NULL) { in tcp_pcb_purge()
1515 pcb->ooseq = NULL; in tcp_pcb_purge()
1524 pcb->unacked = pcb->unsent = NULL; in tcp_pcb_purge()
1553 LWIP_ASSERT("unsent segments leaking", pcb->unsent == NULL); in tcp_pcb_remove()
1554 LWIP_ASSERT("unacked segments leaking", pcb->unacked == NULL); in tcp_pcb_remove()
1556 LWIP_ASSERT("ooseq segments leaking", pcb->ooseq == NULL); in tcp_pcb_remove()
1592 if ((outif != NULL) && (outif->mtu != 0)) { in tcp_eff_send_mss()
1701 for(pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { in tcp_debug_print_pcbs()
1708 for(pcb = (struct tcp_pcb *)tcp_listen_pcbs.pcbs; pcb != NULL; pcb = pcb->next) { in tcp_debug_print_pcbs()
1715 for(pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { in tcp_debug_print_pcbs()
1730 for(pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb->next) { in tcp_pcbs_sane()
1735 for(pcb = tcp_tw_pcbs; pcb != NULL; pcb = pcb->next) { in tcp_pcbs_sane()