/darwin-on-arm/xnu/bsd/kern/ |
H A D | tty.c | 78 * o Move EXTPROC and/or PENDIN to t_state? 353 if (!ISSET(tp->t_state, TS_ISOPEN)) { 354 SET(tp->t_state, TS_ISOPEN); 356 SET(tp->t_state, TS_CONNECTED); } 466 tp->t_state = 0; 533 !ISSET(tp->t_state, TS_TBLOCK)) 574 if (!ISSET(tp->t_state, TS_TYPEN) && ISSET(iflag, ISTRIP)) 580 if (ISSET(tp->t_state, TS_LNCH)) { 582 CLR(tp->t_state, TS_LNCH); 605 SET(tp->t_state, TS_LNC [all...] |
H A D | tty_ptmx.c | 573 if ((tp->t_state & TS_ISOPEN) == 0) { 581 } else if (tp->t_state&TS_XCLUDE && suser(kauth_cred_get(), NULL)) { 587 while ((tp->t_state & TS_CARR_ON) == 0) { 598 CLR(tp->t_state, TS_IOCTL_NOT_OK); 778 if (tp->t_state & TS_TTSTOP) 827 if (tp->t_oproc || (tp->t_state & TS_ISOPEN)) { 839 CLR(tp->t_state, TS_ZOMBIE); 840 SET(tp->t_state, TS_IOCTL_NOT_OK); 873 if (tp->t_state & TS_ISOPEN) { 874 tp->t_state [all...] |
H A D | tty_pty.c | 205 if ((tp->t_state & TS_ISOPEN) == 0) { 213 } else if (tp->t_state&TS_XCLUDE && suser(kauth_cred_get(), NULL)) { 219 while ((tp->t_state & TS_CARR_ON) == 0) { 392 if (tp->t_state & TS_TTSTOP) 440 if (tp->t_oproc || (tp->t_state & TS_ISOPEN)) { 444 CLR(tp->t_state, TS_ZOMBIE); 479 if (tp->t_state & TS_ISOPEN) { 480 tp->t_state &= ~(TS_CARR_ON | TS_CONNECTED); 481 tp->t_state |= TS_ZOMBIE; 509 if (tp->t_state [all...] |
H A D | socket_info.c | 145 tcpsi->tcpsi_state = tp->t_state;
|
H A D | sys_generic.c | 2167 (tp->t_state == TCPS_CLOSED)) { 2185 (tp->t_state == TCPS_CLOSED)) {
|
/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | km.c | 109 if (!(tp->t_state & TS_ISOPEN)) { 117 } else if ((tp->t_state & TS_XCLUDE) && proc_suser(pp)) { 122 tp->t_state |= TS_CARR_ON; /* lie and say carrier exists and is on. */ 298 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) 302 tp->t_state |= TS_BUSY; 375 tp->t_state &= ~TS_BUSY;
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | km.c | 111 if ( !(tp->t_state & TS_ISOPEN) ) { 119 } else if ((tp->t_state & TS_XCLUDE) && proc_suser(pp)) { 124 tp->t_state |= TS_CARR_ON; /* lie and say carrier exists and is on. */ 298 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) 302 tp->t_state |= TS_BUSY; 372 tp->t_state &= ~TS_BUSY;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_usrreq.c | 155 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0 367 tp->t_state = TCPS_LISTEN; 387 tp->t_state = TCPS_LISTEN; 712 if (nam && tp->t_state < TCPS_SYN_SENT) { 763 if (nam && tp->t_state < TCPS_SYN_SENT) { 935 otp->t_state == TCPS_TIME_WAIT && 975 tp->t_state = TCPS_SYN_SENT; 1049 otp->t_state == TCPS_TIME_WAIT && 1082 tp->t_state = TCPS_SYN_SENT; 1126 ti->tcpi_state = tp->t_state; [all...] |
H A D | tcp_input.c | 671 if (!TCPS_HAVEESTABLISHED(tp->t_state)) 1640 if (tp->t_state == TCPS_CLOSED) 1655 if (tp->t_state == TCPS_LISTEN && (so->so_options & SO_ACCEPTCONN) == 0) 1661 ostate = tp->t_state; 1957 tp->t_state = TCPS_LISTEN; 2002 if (tp->t_state == TCPS_ESTABLISHED && tlen > 0) { 2077 if (ip_ecn == IPTOS_ECN_CE && tp->t_state == TCPS_ESTABLISHED && 2096 if (tp->t_state == TCPS_ESTABLISHED && (tp->t_flags & TF_STRETCHACK) != 0 && 2117 if (TCPS_HAVEESTABLISHED(tp->t_state)) 2124 if (tp->t_state ! [all...] |
H A D | tcp_timer.h | 236 #define TCP_ADD_REXMTSLOP(tp) (tp->t_state >= TCPS_ESTABLISHED)
|
H A D | tcp_timer.c | 353 ((tp != NULL) && (tp->t_state == TCPS_CLOSED) && (so->so_head != NULL) 568 if (tp->t_state != TCPS_TIME_WAIT && 569 tp->t_state != TCPS_FIN_WAIT_2 && 640 if (tp->t_state == TCPS_SYN_SENT) 657 if (tcp_pmtud_black_hole_detect && (tp->t_state == TCPS_ESTABLISHED)) { 717 if ((tp->t_state == TCPS_SYN_SENT) && 815 if (tp->t_state < TCPS_ESTABLISHED) 819 (tp->t_state <= TCPS_CLOSING || tp->t_state == TCPS_FIN_WAIT_2)) {
|
H A D | tcp_output.c | 389 if (tp->t_state >= TCPS_CLOSE_WAIT) { 471 flags = tcp_outflags[tp->t_state]; 637 if (len > 0 && tp->t_state == TCPS_SYN_SENT) { 842 tp->t_state != TCPS_ESTABLISHED) { 932 if (tp->sack_enable && (tp->t_state >= TCPS_ESTABLISHED) && 1182 if (TCPS_HAVEESTABLISHED(tp->t_state) && 1696 tcp_trace(TA_OUTPUT, tp->t_state, tp, mtod(m, void *), th, 0); 1821 (tp->t_state == TCPS_ESTABLISHED)) { 1843 if (sendalot == 0 || (tp->t_state != TCPS_ESTABLISHED) || 1959 && TCPS_HAVERCVDSYN(tp->t_state)) { [all...] |
H A D | tcp_subr.c | 910 if (TCPS_HAVERCVDSYN(tp->t_state)) { 913 tp->t_state = TCPS_CLOSED; 1040 if (tp->t_state >= TCPS_CLOSE_WAIT) { 1043 tp->t_state = TCPS_CLOSING; 1265 if (tp->t_state == TCPS_ESTABLISHED && 1269 } else if (tp->t_state < TCPS_ESTABLISHED && tp->t_rxtshift > 3 && 1319 otp->t_state = tp->t_state; 1505 otp->t_state = tp->t_state; [all...] |
H A D | tcp_debug.c | 246 printf(" -> %s", tcpstates[tp->t_state]);
|
H A D | tcp_newreno.c | 342 if (tp->t_state >= TCPS_ESTABLISHED) {
|
H A D | tcp_var.h | 197 int t_state; /* state of this connection */ member in struct:tcpcb 528 int t_state; /* state of this connection */ member in struct:otcpcb 786 int t_state; /* state of this connection */ member in struct:xtcpcb64 869 int t_state; /* state of this connection */ member in struct:xtcpcb_n
|
H A D | in_pcblist.c | 206 xt->t_state = tp->t_state;
|
H A D | tcp_ledbat.c | 372 if (tp->t_state >= TCPS_ESTABLISHED) {
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | tty.h | 125 int t_state; /* Device and driver (TS*) state. */ member in struct:tty 187 /* These flags are kept in t_state. */
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | ntstat.c | 826 return (inp->inp_state == INPCB_STATE_DEAD || tp->t_state == TCPS_TIME_WAIT) ? 1 : 0; 843 if (inp->inp_state == INPCB_STATE_DEAD || tp->t_state == TCPS_TIME_WAIT) 855 out_counts->nstat_connectattempts = tp->t_state >= TCPS_SYN_SENT ? 1 : 0; 856 out_counts->nstat_connectsuccesses = tp->t_state >= TCPS_ESTABLISHED ? 1 : 0; 1021 desc->state = intotcpcb(inp)->t_state;
|