Lines Matching refs:tpcb
974 struct tcp_pcb *tpcb; local
985 tpcb = conn->pcb.tcp;
994 ((tpcb->state == FIN_WAIT_1) ||
995 (tpcb->state == FIN_WAIT_2) ||
996 (tpcb->state == CLOSING))) {
998 } else if (shut_tx && ((tpcb->flags & TF_RXCLOSED) != 0)) {
1006 tcp_arg(tpcb, NULL);
1008 if (tpcb->state == LISTEN) {
1009 tcp_accept(tpcb, NULL);
1013 tcp_recv(tpcb, NULL);
1014 tcp_accept(tpcb, NULL);
1017 tcp_sent(tpcb, NULL);
1020 tcp_poll(tpcb, NULL, 0);
1021 tcp_err(tpcb, NULL);
1033 tcp_abort(tpcb);
1034 tpcb = NULL;
1044 tcp_abort(tpcb);
1045 tpcb = NULL;
1052 if ((err == ERR_OK) && (tpcb != NULL))
1055 err = tcp_close(tpcb);
1058 err = tcp_shutdown(tpcb, shut_rx, shut_tx);
1096 tcp_abort(tpcb);
1138 LWIP_ASSERT("Closing a listen pcb may not fail!", (tpcb->state != LISTEN));
1140 tcp_sent(tpcb, sent_tcp);
1143 tcp_poll(tpcb, poll_tcp, 1);
1144 tcp_err(tpcb, err_tcp);
1145 tcp_arg(tpcb, conn);