/freebsd-10.1-release/sys/dev/rc/ |
H A D | rc.c | 373 int good_data, t_state; local 408 t_state = rc->rc_tp->t_state; 411 || !(t_state & TS_ISOPEN) 413 if ( ( !(t_state & TS_ISOPEN) 414 || (t_state & TS_TBLOCK) 427 if (t_state & TS_ISOPEN) { 473 && (t_state & TS_CAN_BYPASS_L_RINT) 599 if (tp->t_state & TS_TTSTOP) 605 && (tp->t_state [all...] |
/freebsd-10.1-release/sys/netinet/ |
H A D | tcp_timer.c | 221 ostate = tp->t_state; 267 if (tcp_fast_finwait2_recycle && tp->t_state == TCPS_FIN_WAIT_2 && 273 if (tp->t_state != TCPS_TIME_WAIT && 302 ostate = tp->t_state; 339 if (tp->t_state < TCPS_ESTABLISHED) 342 tp->t_state <= TCPS_CLOSING) { 405 ostate = tp->t_state; 460 if (tp->t_state > TCPS_CLOSE_WAIT && 493 ostate = tp->t_state; 558 if (tp->t_state [all...] |
H A D | tcp_input.c | 958 if (tp == NULL || tp->t_state == TCPS_CLOSED) { 982 if (tp->t_state != TCPS_ESTABLISHED) { 1010 ostate = tp->t_state; 1030 KASSERT(tp->t_state == TCPS_LISTEN, ("%s: so accepting but " 1109 KASSERT(tp->t_state == TCPS_SYN_RECEIVED, 1124 (tp->t_state == TCPS_SYN_SENT) == 0) 1340 } else if (tp->t_state == TCPS_LISTEN) { 1363 (tp->t_state == TCPS_SYN_SENT) == 0) 1464 tp->t_state != TCPS_ESTABLISHED) { 1480 KASSERT(tp->t_state > TCPS_LISTE [all...] |
H A D | tcp_usrreq.c | 112 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0 206 tp->t_state < TCPS_SYN_SENT) { 838 if (nam && tp->t_state < TCPS_SYN_SENT) { 897 if (nam && tp->t_state < TCPS_SYN_SENT) { 1253 ti->tcpi_state = tp->t_state; 1408 if (TCPS_HAVEESTABLISHED(tp->t_state)) 1502 if ((tp->t_state > TCPS_LISTEN) && 1503 (tp->t_state <= TCPS_CLOSING)) 1509 if ((tp->t_state == TCPS_FIN_WAIT_2) && 1516 if (tp->t_state 1775 db_print_tstate(int t_state) argument [all...] |
H A D | tcp_reass.c | 196 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) && 219 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) { 328 if (!TCPS_HAVEESTABLISHED(tp->t_state))
|
H A D | tcp_output.c | 236 flags = tcp_outflags[tp->t_state]; 388 if (tp->t_state != TCPS_SYN_RECEIVED) 421 if ((sendwin == 0) && (TCPS_HAVEESTABLISHED(tp->t_state)) && 588 !TCPS_HAVERCVDFIN(tp->t_state)) { 736 else if (TCPS_HAVEESTABLISHED(tp->t_state) && 962 if (tp->t_state == TCPS_SYN_SENT && V_tcp_do_ecn) { 970 if (tp->t_state == TCPS_ESTABLISHED && 1156 tcp_trace(TA_OUTPUT, tp->t_state, tp, mtod(m, void *), th, 0); 1194 if (tp->t_state == TCPS_SYN_SENT) 1233 if (tp->t_state [all...] |
H A D | toecore.c | 199 if (tp->t_state != TCPS_LISTEN) 217 KASSERT(tp->t_state == TCPS_LISTEN, 218 ("%s: t_state %s", __func__, tcpstates[tp->t_state])); 232 KASSERT(tp->t_state == TCPS_LISTEN, 233 ("%s: t_state %s", __func__, tcpstates[tp->t_state]));
|
H A D | tcp_debug.c | 211 printf(" -> %s", tcpstates[tp->t_state]);
|
H A D | tcp_offload.c | 129 flags = tcp_outflags[tp->t_state];
|
H A D | tcp_subr.c | 892 if (TCPS_HAVERCVDSYN(tp->t_state)) { 1029 if (tp->t_state == TCPS_LISTEN) 1120 if (tp->t_state == TCPS_ESTABLISHED && 1124 } else if (tp->t_state < TCPS_ESTABLISHED && tp->t_rxtshift > 3 && 1240 xt.xt_tp.t_state = TCPS_TIME_WAIT; 1716 if (tp->t_state != TCPS_SYN_SENT) 2392 * This function shouldn't be called for t_state initializations that don't 2399 int pstate = tp->t_state; 2402 tp->t_state = newstate;
|
/freebsd-10.1-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_cpl_io.c | 175 tp->t_state == TCPS_SYN_SENT ? "atid" : "tid", toep->tp_tid, 945 * tp->t_state = TCPS_SYN_SENT 1020 toep->tp_tid, tcpstates[tp->t_state], toep, inp); 1089 if (tp->t_state == TCPS_SYN_SENT) 1229 tid, tp ? tcpstates[tp->t_state] : "no tp" , toep->tp_flags, inp); 1239 switch (tp->t_state) { 1244 tp->t_state = TCPS_CLOSE_WAIT; 1247 tp->t_state = TCPS_CLOSING; 1261 __func__, toep->tp_tid, tp->t_state); 1292 tp ? tcpstates[tp->t_state] [all...] |
/freebsd-10.1-release/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 184 tcpstates[tp->t_state], 283 KASSERT(tp->t_state == TCPS_SYN_SENT || 284 tp->t_state == TCPS_SYN_RECEIVED, 285 ("%s: TCP state %s", __func__, tcpstates[tp->t_state])); 290 tp->t_state = TCPS_ESTABLISHED; 983 if (tp->t_state >= TCPS_ESTABLISHED) { 1010 __func__, toep->tid, tcpstates[tp->t_state])); 1067 tid, tp ? tcpstates[tp->t_state] : "no tp", toep->flags, inp); 1100 switch (tp->t_state) { 1106 tp->t_state [all...] |
/freebsd-10.1-release/sys/dev/cy/ |
H A D | cy.c | 527 || !(tp->t_state & TS_ISOPEN)) { 561 if (!(tp->t_state & TS_ISOPEN)) { 566 if (tp->t_state & TS_CAN_BYPASS_L_RINT) { 587 && !(tp->t_state & TS_TBLOCK)) 596 if (tp->t_state & TS_TTSTOP 599 tp->t_state &= ~TS_TTSTOP; 642 !(tp->t_state & TS_TBLOCK)) 730 || !(com->tp->t_state & TS_ISOPEN) 737 && (com->tp->t_state & TS_CAN_BYPASS_L_RINT) 1204 tp->t_state [all...] |
/freebsd-10.1-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_tcp.c | 118 if (tp->xt_tp.t_state == TCPS_ESTABLISHED || 119 tp->xt_tp.t_state == TCPS_CLOSE_WAIT) 295 switch (tcpoids[i].tp->xt_tp.t_state) {
|
/freebsd-10.1-release/sys/dev/cx/ |
H A D | if_cx.c | 315 if (d->atimeout == 1 && d->tty && d->tty->t_state & TS_BUSY) { 316 d->tty->t_state &= ~TS_BUSY; 915 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) && 1258 d->tty->t_state &= ~(TS_BUSY | TS_FLUSH); 1291 if (d->tty->t_state & TS_ISOPEN) { 1364 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) 1380 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) 1398 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) 1434 if (c->mode == M_ASYNC && d->tty && (d->tty->t_state & TS_ISOPEN) 1561 if ((d->chan->mode == M_ASYNC && d->tty && (d->tty->t_state [all...] |
/freebsd-10.1-release/sys/dev/sio/ |
H A D | sio.c | 365 if (tp->t_state & TS_ISOPEN) { 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 [all...] |
/freebsd-10.1-release/sys/dev/digi/ |
H A D | digi.c | 744 !(tp->t_state & TS_ISOPEN)) { 1187 if (!(tp->t_state & TS_ISOPEN) && !tp->t_wopeners) { 1211 if (!(tp->t_state & TS_ISOPEN)) { 1224 if (tp->t_state & TS_CAN_BYPASS_L_RINT) { 1234 if (tp->t_state & TS_TBLOCK) 1254 tp->t_state |= TS_TBLOCK; 1328 if (!(tp->t_state & TS_TBLOCK)) { 1340 if (!(tp->t_state & TS_TTSTOP) && port->status & PAUSE_TX) { 1346 tp->t_state &= ~TS_BUSY; 1348 tp->t_state | [all...] |
/freebsd-10.1-release/sys/pc98/cbus/ |
H A D | sio.c | 697 if (tp->t_state & TS_ISOPEN) { 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 [all...] |
/freebsd-10.1-release/usr.bin/netstat/ |
H A D | inet.c | 260 xt.xt_tp.t_state = TCPS_TIME_WAIT; 386 (istcp && tp->t_state == TCPS_LISTEN) 553 if (tp->t_state < 0 || tp->t_state >= TCP_NSTATES) 554 printf("%d", tp->t_state); 556 printf("%s", tcpstates[tp->t_state]);
|
/freebsd-10.1-release/cddl/lib/libdtrace/ |
H A D | tcp.d | 186 tcps_state = p == NULL ? -1 : p->t_state;
|
/freebsd-10.1-release/usr.bin/systat/ |
H A D | netstat.c | 228 enter_kvm(&inpcb, &sockb, tcpcb.t_state, 322 xtp->xt_tp.t_state, "tcp");
|
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/os/ |
H A D | callb.c | 407 if (tp->t_state & (TS_SLEEP | TS_STOPPED)) {
|
/freebsd-10.1-release/sys/dev/xen/console/ |
H A D | console.c | 83 #define ISTTYOPEN(tp) ((tp) && ((tp)->t_state & TS_ISOPEN))
|
/freebsd-10.1-release/usr.sbin/tcpdrop/ |
H A D | tcpdrop.c | 236 if (tp->t_state == TCPS_LISTEN)
|
/freebsd-10.1-release/sys/dev/si/ |
H A D | si.c | 1265 if (tp->t_state & TS_TBLOCK) 1493 if (tp->t_state & TS_BUSY) { 1495 tp->t_state &= ~TS_BUSY;
|