Home
last modified time | relevance | path

Searched refs:t_state (Results 1 – 25 of 40) sorted by relevance

12

/NextBSD/sys/dev/rc/
HDrc.c373 int good_data, t_state; in rc_intr() local
408 t_state = rc->rc_tp->t_state; in rc_intr()
411 || !(t_state & TS_ISOPEN) in rc_intr()
413 if ( ( !(t_state & TS_ISOPEN) in rc_intr()
414 || (t_state & TS_TBLOCK) in rc_intr()
427 if (t_state & TS_ISOPEN) { in rc_intr()
473 && (t_state & TS_CAN_BYPASS_L_RINT) in rc_intr()
599 if (tp->t_state & TS_TTSTOP) in rc_start()
605 && (tp->t_state & TS_TBLOCK) in rc_start()
615 if (tp->t_state & (TS_TIMEOUT|TS_TTSTOP)) in rc_start()
[all …]
/NextBSD/sys/netinet/tcp_stacks/
HDfastpath.c538 switch (tp->t_state) { in tcp_do_slowpath()
726 KASSERT(tp->t_state != TCPS_SYN_SENT, in tcp_do_slowpath()
734 switch (tp->t_state) { in tcp_do_slowpath()
765 if ((thflags & TH_SYN) && tp->t_state != TCPS_SYN_SENT) { in tcp_do_slowpath()
824 if (tp->t_state == TCPS_SYN_RECEIVED && SEQ_LT(th->th_seq, tp->irs)) { in tcp_do_slowpath()
880 tp->t_state > TCPS_CLOSE_WAIT && tlen) { in tcp_do_slowpath()
889 s, __func__, tcpstates[tp->t_state], tlen); in tcp_do_slowpath()
958 if (tp->t_state == TCPS_SYN_RECEIVED || in tcp_do_slowpath()
970 switch (tp->t_state) { in tcp_do_slowpath()
1055 (TCPS_HAVERCVDFIN(tp->t_state) == 0)) { in tcp_do_slowpath()
[all …]
/NextBSD/sys/netinet/
HDtcp_timer.c309 ostate = tp->t_state; in tcp_timer_2msl()
353 if (tcp_fast_finwait2_recycle && tp->t_state == TCPS_FIN_WAIT_2 && in tcp_timer_2msl()
391 ostate = tp->t_state; in tcp_timer_keep()
420 if (tp->t_state < TCPS_ESTABLISHED) in tcp_timer_keep()
423 tp->t_state <= TCPS_CLOSING) { in tcp_timer_keep()
491 ostate = tp->t_state; in tcp_timer_persist()
538 if (tp->t_state > TCPS_CLOSE_WAIT && in tcp_timer_persist()
572 ostate = tp->t_state; in tcp_timer_rexmt()
614 if (tp->t_state == TCPS_SYN_SENT) { in tcp_timer_rexmt()
646 if ((tp->t_state == TCPS_SYN_SENT) || in tcp_timer_rexmt()
[all …]
HDtcp_usrreq.c121 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0
231 tp->t_state < TCPS_SYN_SENT) { in tcp_detach()
828 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_usr_rcvd()
903 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send()
962 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send()
1321 ti->tcpi_state = tp->t_state; in tcp_fill_info()
1420 if (tp->t_state != TCPS_CLOSED) { in tcp_ctloutput()
1550 if (TCPS_HAVEESTABLISHED(tp->t_state)) in tcp_default_ctloutput()
1644 if ((tp->t_state > TCPS_LISTEN) && in tcp_default_ctloutput()
1645 (tp->t_state <= TCPS_CLOSING)) in tcp_default_ctloutput()
[all …]
HDtcp_input.c983 if (tp == NULL || tp->t_state == TCPS_CLOSED) { in tcp_input()
1007 if (!((tp->t_state == TCPS_ESTABLISHED && (thflags & TH_SYN) == 0) || in tcp_input()
1008 (tp->t_state == TCPS_LISTEN && (thflags & TH_SYN) && in tcp_input()
1037 ostate = tp->t_state; in tcp_input()
1055 KASSERT(tp->t_state == TCPS_LISTEN, ("%s: so accepting but " in tcp_input()
1141 KASSERT(tp->t_state == TCPS_SYN_RECEIVED, in tcp_input()
1156 (tp->t_state == TCPS_SYN_SENT) == 0) in tcp_input()
1382 } else if (tp->t_state == TCPS_LISTEN) { in tcp_input()
1405 (tp->t_state == TCPS_SYN_SENT) == 0) in tcp_input()
1509 tp->t_state != TCPS_ESTABLISHED) { in tcp_do_segment()
[all …]
HDtcp_output.c226 (tp->t_state == TCPS_SYN_RECEIVED) && in tcp_output()
262 flags = tcp_outflags[tp->t_state]; in tcp_output()
415 if (tp->t_state != TCPS_SYN_RECEIVED) in tcp_output()
423 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_output()
446 (((tp->t_state == TCPS_SYN_RECEIVED) && (tp->t_rxtshift > 0)) || in tcp_output()
468 if ((sendwin == 0) && (TCPS_HAVEESTABLISHED(tp->t_state)) && in tcp_output()
639 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_output()
781 (tp->t_state == TCPS_SYN_RECEIVED) && in tcp_output()
809 else if (TCPS_HAVEESTABLISHED(tp->t_state) && in tcp_output()
1129 if (tp->t_state == TCPS_SYN_SENT && V_tcp_do_ecn) { in tcp_output()
[all …]
HDtoecore.c199 if (tp->t_state != TCPS_LISTEN) in toe_listen_start()
217 KASSERT(tp->t_state == TCPS_LISTEN, in toe_listen_start_event()
218 ("%s: t_state %s", __func__, tcpstates[tp->t_state])); in toe_listen_start_event()
232 KASSERT(tp->t_state == TCPS_LISTEN, in toe_listen_stop_event()
233 ("%s: t_state %s", __func__, tcpstates[tp->t_state])); in toe_listen_stop_event()
HDtcp_reass.c180 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) && in tcp_reass()
202 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass()
311 if (!TCPS_HAVEESTABLISHED(tp->t_state)) in tcp_reass()
HDtcp_subr.c1220 if (TCPS_HAVERCVDSYN(tp->t_state)) { in tcp_drop()
1450 if (tp->t_state == TCPS_LISTEN) in tcp_close()
1552 if (tp->t_state == TCPS_ESTABLISHED && in tcp_notify()
1556 } else if (tp->t_state < TCPS_ESTABLISHED && tp->t_rxtshift > 3 && in tcp_notify()
1672 xt.xt_tp.t_state = TCPS_TIME_WAIT; in tcp_pcblist()
2144 if (tp->t_state != TCPS_SYN_SENT) in tcp_drop_syn_sent()
2311 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_maxseg()
2920 int pstate = tp->t_state; in tcp_state_change()
2923 tp->t_state = newstate; in tcp_state_change()
HDtcp_offload.c130 flags = tcp_outflags[tp->t_state]; in tcp_offload_output()
HDtcp_debug.c211 printf(" -> %s", tcpstates[tp->t_state]); in tcp_trace()
/NextBSD/sys/dev/cxgb/ulp/tom/
HDcxgb_cpl_io.c176 tp->t_state == TCPS_SYN_SENT ? "atid" : "tid", toep->tp_tid, in toepcb_detach()
1021 toep->tp_tid, tcpstates[tp->t_state], toep, inp); in t3_connect()
1090 if (tp->t_state == TCPS_SYN_SENT) in send_reset()
1230 tid, tp ? tcpstates[tp->t_state] : "no tp" , toep->tp_flags, inp); in do_peer_close()
1240 switch (tp->t_state) { in do_peer_close()
1245 tp->t_state = TCPS_CLOSE_WAIT; in do_peer_close()
1248 tp->t_state = TCPS_CLOSING; in do_peer_close()
1262 __func__, toep->tp_tid, tp->t_state); in do_peer_close()
1293 tp ? tcpstates[tp->t_state] : "no tp", toep->tp_flags); in do_close_con_rpl()
1301 switch (tp->t_state) { in do_close_con_rpl()
[all …]
/NextBSD/sys/dev/cxgbe/tom/
HDt4_cpl_io.c164 tcpstates[tp->t_state], in send_reset()
271 KASSERT(tp->t_state == TCPS_SYN_SENT || in make_established()
272 tp->t_state == TCPS_SYN_RECEIVED, in make_established()
273 ("%s: TCP state %s", __func__, tcpstates[tp->t_state])); in make_established()
278 tp->t_state = TCPS_ESTABLISHED; in make_established()
997 if (tp->t_state >= TCPS_ESTABLISHED) { in t4_send_fin()
1024 __func__, toep->tid, tcpstates[tp->t_state])); in t4_send_rst()
1081 tid, tp ? tcpstates[tp->t_state] : "no tp", toep->flags, inp); in do_peer_close()
1102 switch (tp->t_state) { in do_peer_close()
1108 tp->t_state = TCPS_CLOSE_WAIT; in do_peer_close()
[all …]
/NextBSD/sys/dev/cy/
HDcy.c527 || !(tp->t_state & TS_ISOPEN)) { in cyclose()
561 if (!(tp->t_state & TS_ISOPEN)) { in cyinput()
566 if (tp->t_state & TS_CAN_BYPASS_L_RINT) { in cyinput()
587 && !(tp->t_state & TS_TBLOCK)) in cyinput()
596 if (tp->t_state & TS_TTSTOP in cyinput()
599 tp->t_state &= ~TS_TTSTOP; in cyinput()
642 !(tp->t_state & TS_TBLOCK)) in cyinput()
730 || !(com->tp->t_state & TS_ISOPEN) in cyintr()
737 && (com->tp->t_state & TS_CAN_BYPASS_L_RINT) in cyintr()
1204 tp->t_state &= ~TS_BUSY; in cypoll()
[all …]
/NextBSD/sys/dev/cx/
HDif_cx.c300 if (d->atimeout == 1 && d->tty && d->tty->t_state & TS_BUSY) { in cx_timeout()
301 d->tty->t_state &= ~TS_BUSY; in cx_timeout()
899 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) && in cx_detach()
1242 d->tty->t_state &= ~(TS_BUSY | TS_FLUSH); in cx_transmit()
1275 if (d->tty->t_state & TS_ISOPEN) { in cx_receive()
1348 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) in cx_error()
1364 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) in cx_error()
1382 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) in cx_error()
1418 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) in cx_error()
1545 if ((d->chan->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) && in cx_modem_status()
[all …]
/NextBSD/sys/dev/sio/
HDsio.c365 if (tp->t_state & TS_ISOPEN) { in sysctl_machdep_comdefaultrate()
1223 || !(tp->t_state & TS_ISOPEN)) {
1265 com->tp->t_state &= ~TS_BUSY;
1319 if (!(tp->t_state & TS_ISOPEN) || !(tp->t_cflag & CREAD)) {
1324 if (tp->t_state & TS_CAN_BYPASS_L_RINT) {
1343 && !(tp->t_state & TS_TBLOCK))
1352 if (tp->t_state & TS_TTSTOP
1355 tp->t_state &= ~TS_TTSTOP;
1395 !(tp->t_state & TS_TBLOCK))
1554 if (com->tp->t_state & TS_CAN_BYPASS_L_RINT
[all …]
/NextBSD/contrib/bsnmp/snmp_mibII/
HDmibII_tcp.c118 if (tp->xt_tp.t_state == TCPS_ESTABLISHED || in fetch_tcp()
119 tp->xt_tp.t_state == TCPS_CLOSE_WAIT) in fetch_tcp()
295 switch (tcpoids[i].tp->xt_tp.t_state) { in op_tcpconn()
/NextBSD/sys/dev/digi/
HDdigi.c744 !(tp->t_state & TS_ISOPEN)) { in digiclose()
1187 if (!(tp->t_state & TS_ISOPEN) && !tp->t_wopeners) { in digi_intr()
1211 if (!(tp->t_state & TS_ISOPEN)) { in digi_intr()
1224 if (tp->t_state & TS_CAN_BYPASS_L_RINT) { in digi_intr()
1234 if (tp->t_state & TS_TBLOCK) in digi_intr()
1254 tp->t_state |= TS_TBLOCK; in digi_intr()
1328 if (!(tp->t_state & TS_TBLOCK)) { in digistart()
1340 if (!(tp->t_state & TS_TTSTOP) && port->status & PAUSE_TX) { in digistart()
1346 tp->t_state &= ~TS_BUSY; in digistart()
1348 tp->t_state |= TS_BUSY; in digistart()
[all …]
/NextBSD/sys/pc98/cbus/
HDsio.c697 if (tp->t_state & TS_ISOPEN) { in sysctl_machdep_comdefaultrate()
1936 || !(tp->t_state & TS_ISOPEN)) {
2008 com->tp->t_state &= ~TS_BUSY;
2062 if (!(tp->t_state & TS_ISOPEN) || !(tp->t_cflag & CREAD)) {
2067 if (tp->t_state & TS_CAN_BYPASS_L_RINT) {
2086 && !(tp->t_state & TS_TBLOCK))
2095 if (tp->t_state & TS_TTSTOP
2098 tp->t_state &= ~TS_TTSTOP;
2141 !(tp->t_state & TS_TBLOCK))
2146 !(tp->t_state & TS_TBLOCK))
[all …]
/NextBSD/usr.bin/netstat/
HDinet.c262 xt.xt_tp.t_state = TCPS_TIME_WAIT; in pcblist_kvm()
391 (istcp && tp->t_state == TCPS_LISTEN) in protopr()
603 if (tp->t_state < 0 || tp->t_state >= TCP_NSTATES) in protopr()
604 xo_emit("{:tcp-state/%d}", tp->t_state); in protopr()
607 tcpstates[tp->t_state]); in protopr()
/NextBSD/sys/sys/mach/device/
HDtty.h135 int t_state; /* current state */ member
/NextBSD/usr.bin/systat/
HDnetstat.c228 enter_kvm(&inpcb, &sockb, tcpcb.t_state, in fetchnetstat_kvm()
322 xtp->xt_tp.t_state, "tcp"); in fetchnetstat_sysctl()
/NextBSD/usr.sbin/tcpdrop/
HDtcpdrop.c236 if (tp->t_state == TCPS_LISTEN) in tcpdropall()
/NextBSD/sys/dev/si/
HDsi.c1264 if (tp->t_state & TS_TBLOCK) in si_intr()
1492 if (tp->t_state & TS_BUSY) {
1494 tp->t_state &= ~TS_BUSY;
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/os/
HDcallb.c407 if (tp->t_state & (TS_SLEEP | TS_STOPPED)) { in callb_is_stopped()

12