Searched refs:t_state (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-10-stable/sys/dev/rc/
H A Drc.c373 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-stable/sys/netinet/
H A Dtcp_timer.c268 ostate = tp->t_state;
312 if (tcp_fast_finwait2_recycle && tp->t_state == TCPS_FIN_WAIT_2 &&
348 ostate = tp->t_state;
377 if (tp->t_state < TCPS_ESTABLISHED)
381 tp->t_state <= TCPS_CLOSING) {
447 ostate = tp->t_state;
494 if (tp->t_state > TCPS_CLOSE_WAIT &&
527 ostate = tp->t_state;
569 if (tp->t_state == TCPS_SYN_SENT) {
601 if ((tp->t_state
[all...]
H A Dtcp_input.c979 if (tp == NULL || tp->t_state == TCPS_CLOSED) {
1003 if (!((tp->t_state == TCPS_ESTABLISHED && (thflags & TH_SYN) == 0) ||
1004 (tp->t_state == TCPS_LISTEN && (thflags & TH_SYN) &&
1037 ostate = tp->t_state;
1055 KASSERT(tp->t_state == TCPS_LISTEN, ("%s: so accepting but "
1141 KASSERT(tp->t_state == TCPS_SYN_RECEIVED,
1156 (tp->t_state == TCPS_SYN_SENT) == 0)
1381 } else if (tp->t_state == TCPS_LISTEN) {
1404 (tp->t_state == TCPS_SYN_SENT) == 0)
1570 tp->t_state !
[all...]
H A Dtcp_usrreq.c116 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0
241 tp->t_state < TCPS_SYN_SENT) {
851 (tp->t_state == TCPS_SYN_RECEIVED))
921 if (nam && tp->t_state < TCPS_SYN_SENT) {
980 if (nam && tp->t_state < TCPS_SYN_SENT) {
1336 ti->tcpi_state = tp->t_state;
1491 if (TCPS_HAVEESTABLISHED(tp->t_state))
1585 if ((tp->t_state > TCPS_LISTEN) &&
1586 (tp->t_state <= TCPS_CLOSING))
1592 if ((tp->t_state
1888 db_print_tstate(int t_state) argument
[all...]
H A Dtcp_output.c224 (tp->t_state == TCPS_SYN_RECEIVED) &&
260 flags = tcp_outflags[tp->t_state];
412 if (tp->t_state != TCPS_SYN_RECEIVED)
420 (tp->t_state == TCPS_SYN_RECEIVED))
443 (((tp->t_state == TCPS_SYN_RECEIVED) && (tp->t_rxtshift > 0)) ||
465 if ((sendwin == 0) && (TCPS_HAVEESTABLISHED(tp->t_state)) &&
632 !TCPS_HAVERCVDFIN(tp->t_state)) {
774 (tp->t_state == TCPS_SYN_RECEIVED) &&
804 else if (TCPS_HAVEESTABLISHED(tp->t_state) &&
1124 if (tp->t_state
[all...]
H A Dtcp_reass.c205 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) &&
229 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) {
338 if (!TCPS_HAVEESTABLISHED(tp->t_state))
H A Dtoecore.c201 if (tp->t_state != TCPS_LISTEN)
219 KASSERT(tp->t_state == TCPS_LISTEN,
220 ("%s: t_state %s", __func__, tcpstates[tp->t_state]));
234 KASSERT(tp->t_state == TCPS_LISTEN,
235 ("%s: t_state %s", __func__, tcpstates[tp->t_state]));
H A Dtcp_debug.c211 printf(" -> %s", tcpstates[tp->t_state]);
H A Dtcp_offload.c129 flags = tcp_outflags[tp->t_state];
H A Dtcp_subr.c1010 if (TCPS_HAVERCVDSYN(tp->t_state)) {
1213 if (tp->t_state == TCPS_LISTEN)
1315 if (tp->t_state == TCPS_ESTABLISHED &&
1319 } else if (tp->t_state < TCPS_ESTABLISHED && tp->t_rxtshift > 3 &&
1433 xt.xt_tp.t_state = TCPS_TIME_WAIT;
1909 if (tp->t_state != TCPS_SYN_SENT)
2590 * This function shouldn't be called for t_state initializations that don't
2597 int pstate = tp->t_state;
2600 tp->t_state = newstate;
/freebsd-10-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_cpl_io.c174 tp->t_state == TCPS_SYN_SENT ? "atid" : "tid", toep->tp_tid,
944 * tp->t_state = TCPS_SYN_SENT
1019 toep->tp_tid, tcpstates[tp->t_state], toep, inp);
1088 if (tp->t_state == TCPS_SYN_SENT)
1228 tid, tp ? tcpstates[tp->t_state] : "no tp" , toep->tp_flags, inp);
1238 switch (tp->t_state) {
1243 tp->t_state = TCPS_CLOSE_WAIT;
1246 tp->t_state = TCPS_CLOSING;
1260 __func__, toep->tp_tid, tp->t_state);
1291 tp ? tcpstates[tp->t_state]
[all...]
/freebsd-10-stable/sys/dev/cy/
H A Dcy.c527 || !(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-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c118 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-stable/sys/dev/cx/
H A Dif_cx.c315 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-stable/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c198 tcpstates[tp->t_state],
306 KASSERT(tp->t_state == TCPS_SYN_SENT ||
307 tp->t_state == TCPS_SYN_RECEIVED,
308 ("%s: TCP state %s", __func__, tcpstates[tp->t_state]));
1029 if (tp->t_state >= TCPS_ESTABLISHED) {
1056 __func__, toep->tid, tcpstates[tp->t_state]));
1114 tid, tp ? tcpstates[tp->t_state] : "no tp", toep->flags, inp);
1135 switch (tp->t_state) {
1160 __func__, tid, tp->t_state);
1198 __func__, tid, tp ? tcpstates[tp->t_state]
[all...]
/freebsd-10-stable/sys/dev/sio/
H A Dsio.c365 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-stable/sys/dev/digi/
H A Ddigi.c744 !(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-stable/sys/pc98/cbus/
H A Dsio.c697 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-stable/usr.bin/netstat/
H A Dinet.c260 xt.xt_tp.t_state = TCPS_TIME_WAIT;
386 (istcp && tp->t_state == TCPS_LISTEN)
556 if (tp->t_state < 0 || tp->t_state >= TCP_NSTATES)
557 printf("%d", tp->t_state);
559 printf("%s", tcpstates[tp->t_state]);
/freebsd-10-stable/cddl/lib/libdtrace/
H A Dtcp.d187 tcps_state = p == NULL ? -1 : p->t_state;
/freebsd-10-stable/usr.bin/systat/
H A Dnetstat.c228 enter_kvm(&inpcb, &sockb, tcpcb.t_state,
322 xtp->xt_tp.t_state, "tcp");
/freebsd-10-stable/sys/dev/xen/console/
H A Dconsole.c83 #define ISTTYOPEN(tp) ((tp) && ((tp)->t_state & TS_ISOPEN))
/freebsd-10-stable/usr.sbin/tcpdrop/
H A Dtcpdrop.c236 if (tp->t_state == TCPS_LISTEN)
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dcallb.c407 if (tp->t_state & (TS_SLEEP | TS_STOPPED)) {
/freebsd-10-stable/sys/dev/si/
H A Dsi.c1267 if (tp->t_state & TS_TBLOCK)
1495 if (tp->t_state & TS_BUSY) {
1497 tp->t_state &= ~TS_BUSY;

Completed in 180 milliseconds

12