| /freebsd-14-stable/sys/netinet/ |
| HD | tcp_timer.c | 356 if (tp->t_state == TCPS_TIME_WAIT) { in tcp_timer_2msl() 358 } else if (tp->t_state == TCPS_FIN_WAIT_2 && in tcp_timer_2msl() 398 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_timer_keep() 415 if (tp->t_state < TCPS_ESTABLISHED) in tcp_timer_keep() 419 tp->t_state <= TCPS_CLOSING) { in tcp_timer_keep() 527 if (tp->t_state > TCPS_CLOSE_WAIT && in tcp_timer_persist() 590 if (tp->t_state == TCPS_SYN_SENT) { in tcp_timer_rexmt() 627 if ((tp->t_state == TCPS_SYN_SENT) || in tcp_timer_rexmt() 628 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_timer_rexmt() 650 ((tp->t_state == TCPS_ESTABLISHED) || in tcp_timer_rexmt() [all …]
|
| HD | tcp_usrreq.c | 183 tp->t_state = TCPS_CLOSED; in tcp_usr_attach() 213 tp->t_state < TCPS_SYN_SENT, in tcp_usr_detach() 702 if (tp->t_state == TCPS_TIME_WAIT) in tcp_usr_disconnect() 877 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_usr_rcvd() 952 if (nam != NULL && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send() 953 if (tp->t_state == TCPS_LISTEN) { in tcp_usr_send() 1052 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send() 1053 KASSERT(tp->t_state == TCPS_CLOSED, in tcp_usr_send() 1099 if (TCPS_HAVEESTABLISHED(tp->t_state) && in tcp_usr_send() 1140 if (nam && tp->t_state < TCPS_SYN_SENT) { in tcp_usr_send() [all …]
|
| HD | tcp_output.c | 245 ((tp->t_state == TCPS_SYN_SENT) || in tcp_default_output() 246 (tp->t_state == TCPS_SYN_RECEIVED)) && in tcp_default_output() 284 flags = tcp_outflags[tp->t_state]; in tcp_default_output() 440 if (tp->t_state != TCPS_SYN_RECEIVED) in tcp_default_output() 447 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_default_output() 476 ((tp->t_state == TCPS_SYN_SENT) && in tcp_default_output() 504 if ((sendwin == 0) && (TCPS_HAVEESTABLISHED(tp->t_state)) && in tcp_default_output() 669 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_default_output() 824 if (tp->t_state == TCPS_SYN_RECEIVED) { in tcp_default_output() 830 } else if (tp->t_state == TCPS_SYN_SENT) { in tcp_default_output() [all …]
|
| HD | toecore.c | 226 if (tp->t_state != TCPS_LISTEN) in toe_listen_start() 244 KASSERT(tp->t_state == TCPS_LISTEN, in toe_listen_start_event() 245 ("%s: t_state %s", __func__, tcpstates[tp->t_state])); in toe_listen_start_event() 259 KASSERT(tp->t_state == TCPS_LISTEN, in toe_listen_stop_event() 260 ("%s: t_state %s", __func__, tcpstates[tp->t_state])); in toe_listen_stop_event() 402 if (tp->t_state == TCPS_TIME_WAIT && th != NULL) { in toe_4tuple_check()
|
| HD | tcp_input.c | 996 switch (tp->t_state) { in tcp_input_with_port() 1022 if ((tp->t_port != port) && (tp->t_state > TCPS_LISTEN)) { in tcp_input_with_port() 1046 KASSERT(tp->t_state == TCPS_LISTEN || !SOLISTENING(so), in tcp_input_with_port() 1048 if (tp->t_state == TCPS_LISTEN && SOLISTENING(so)) { in tcp_input_with_port() 1156 KASSERT(tp->t_state == TCPS_SYN_RECEIVED, in tcp_input_with_port() 1363 } else if (tp->t_state == TCPS_LISTEN) { in tcp_input_with_port() 1552 KASSERT(tp->t_state > TCPS_LISTEN, ("%s: TCPS_LISTEN", in tcp_do_segment() 1554 KASSERT(tp->t_state != TCPS_TIME_WAIT, ("%s: TCPS_TIME_WAIT", in tcp_do_segment() 1578 if ((tp->t_state == TCPS_SYN_SENT) && (thflags & TH_ACK) && in tcp_do_segment() 1648 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) { in tcp_do_segment() [all …]
|
| HD | tcp_subr.c | 1082 KASSERT(tp->t_state < TCPS_TIME_WAIT, in tcp_default_fb_init() 1084 tp->t_state)); in tcp_default_fb_init() 1094 if ((tp->t_state == TCPS_SYN_SENT) || in tcp_default_fb_init() 1095 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_default_fb_init() 1108 if (tp->t_state <= TCPS_LISTEN || tp->t_state >= TCPS_TIME_WAIT) in tcp_default_fb_init() 1115 if ((!TCPS_HAVEESTABLISHED(tp->t_state) || sbavail(&so->so_snd) || in tcp_default_fb_init() 1123 if (TCPS_HAVEESTABLISHED(tp->t_state) && tp->snd_wnd == 0 && in tcp_default_fb_init() 1134 TCPS_HAVEESTABLISHED(tp->t_state) ? TP_KEEPIDLE(tp) : in tcp_default_fb_init() 2188 (tp->t_state == TCPS_CLOSED || in tcp_respond() 2189 (tp->t_state > TCPS_LISTEN && tp->t_port != port)), in tcp_respond() [all …]
|
| HD | tcp_reass.c | 578 !TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass() 594 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) && in tcp_reass() 957 if (th->th_seq == tp->rcv_nxt && TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass() 1052 if (!TCPS_HAVEESTABLISHED(tp->t_state)) in tcp_reass()
|
| HD | tcp_offload.c | 150 flags = tcp_outflags[tp->t_state]; in tcp_offload_output()
|
| HD | siftr.c | 659 pn->conn_state = tp->t_state; in siftr_siftdata() 782 if (tp == NULL || tp->t_state < TCPS_ESTABLISHED) { in siftr_chkpkt() 931 if (tp == NULL || tp->t_state < TCPS_ESTABLISHED) { in siftr_chkpkt6()
|
| HD | tcp_var.h | 336 t_state:4, /* state of this connection */ member 1203 int32_t t_state; /* (s,p) */ member
|
| HD | tcp_lro_hpts.c | 571 if (tp->t_state == TCPS_TIME_WAIT) { in _tcp_lro_flush_tcphpts()
|
| HD | tcp_syncache.c | 925 tp->t_state = TCPS_SYN_RECEIVED; in syncache_socket() 2538 xt.t_state = TCPS_SYN_RECEIVED; in syncache_pcblist()
|
| /freebsd-14-stable/sys/dev/cxgbe/tom/ |
| HD | t4_cpl_io.c | 249 tcpstates[tp->t_state], in send_reset() 361 KASSERT(tp->t_state == TCPS_SYN_SENT || in make_established() 362 tp->t_state == TCPS_SYN_RECEIVED, in make_established() 363 ("%s: TCP state %s", __func__, tcpstates[tp->t_state])); in make_established() 1277 if (tp->t_state >= TCPS_ESTABLISHED) in t4_send_fin() 1300 __func__, toep->tid, tcpstates[tp->t_state])); in t4_send_rst() 1349 __func__, tid, tp ? tcpstates[tp->t_state] : "no tp", toep->flags, in do_peer_close() 1381 switch (tp->t_state) { in do_peer_close() 1408 __func__, tid, tp->t_state); in do_peer_close() 1447 __func__, tid, tp ? tcpstates[tp->t_state] : "no tp", toep->flags); in do_close_con_rpl() [all …]
|
| HD | t4_tom.c | 393 if (tp->t_state == TCPS_SYN_SENT) { in t4_pcb_detach() 400 toep->tid, tcpstates[tp->t_state], toep, toep->flags, inp, in t4_pcb_detach() 430 if (tp->t_state != TCPS_ESTABLISHED) in t4_ctloutput()
|
| /freebsd-14-stable/sys/netinet/tcp_stacks/ |
| HD | bbr.c | 577 (tp->t_state < TCPS_ESTABLISHED)) { in bbr_timer_start() 744 if ((tp->t_state == TCPS_CLOSED) || in bbr_start_hpts_timer() 745 (tp->t_state == TCPS_LISTEN)) { in bbr_start_hpts_timer() 827 (tp->t_state <= TCPS_CLOSING)) { in bbr_start_hpts_timer() 833 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in bbr_start_hpts_timer() 966 if (((rsm == NULL) || (tp->t_state < TCPS_ESTABLISHED)) && in bbr_timer_audit() 983 (tp->t_state <= TCPS_CLOSING)) && in bbr_timer_audit() 4366 if (bbr->r_state && (bbr->r_state != tp->t_state)) in bbr_timeout_rack() 4560 if (bbr->r_state && (bbr->r_state != tp->t_state)) in bbr_timeout_tlp() 4770 if (tp->t_state > TCPS_CLOSE_WAIT && in bbr_timeout_persist() [all …]
|
| HD | rack_bbr_common.c | 491 if (tp->t_state < TCPS_ESTABLISHED) in ctf_outstanding() 681 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK) && in __ctf_do_dropafterack() 726 KASSERT(tp->t_state != TCPS_SYN_SENT, in __ctf_process_rst() 735 switch (tp->t_state) { in __ctf_process_rst()
|
| HD | rack.c | 5216 TCPS_HAVEESTABLISHED(tp->t_state) && in rack_do_goodput_measurement() 5252 if (tp->t_state >= TCPS_FIN_WAIT_1) { in rack_do_goodput_measurement() 6347 if ((tp->t_state < TCPS_ESTABLISHED) || in rack_timer_start() 6388 if ((TCPS_HAVEESTABLISHED(tp->t_state) == 0) && in rack_timer_start() 6749 if ((tp->t_state == TCPS_CLOSED) || in rack_start_hpts_timer() 6750 (tp->t_state == TCPS_LISTEN)) { in rack_start_hpts_timer() 6851 (tp->t_state <= TCPS_CLOSING)) { in rack_start_hpts_timer() 6857 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in rack_start_hpts_timer() 7063 if (rack->r_state && (rack->r_state != tp->t_state)) in rack_timeout_rack() 7348 if (rack->r_state && (rack->r_state != tp->t_state)) in rack_timeout_tlp() [all …]
|
| /freebsd-14-stable/usr.bin/netstat/ |
| HD | inet.c | 290 (istcp && tp->t_state == TCPS_LISTEN) in protopr() 518 if (tp->t_state < 0 || tp->t_state >= TCP_NSTATES) in protopr() 519 xo_emit("{:tcp-state/%-11d}", tp->t_state); in protopr() 522 tcpstates[tp->t_state]); in protopr() 549 (tp->t_state >= TCPS_ESTABLISHED ? in protopr()
|
| /freebsd-14-stable/usr.sbin/tcpdrop/ |
| HD | tcpdrop.c | 259 if (xtp->t_state == TCPS_LISTEN) in tcpdropall() 263 if ((state != -1) && (xtp->t_state != state)) in tcpdropall()
|
| /freebsd-14-stable/usr.bin/systat/ |
| HD | netstat.c | 224 enter_kvm(&inpcb, &sockb, tcpcb.t_state, "tcp"); in fetchnetstat_kvm() 313 xtp->t_state, "tcp"); in fetchnetstat_sysctl()
|
| /freebsd-14-stable/contrib/bsnmp/snmp_mibII/ |
| HD | mibII_tcp.c | 313 switch (tcpoids[i].tp->t_state) { in op_tcpconn()
|
| /freebsd-14-stable/tools/tools/switch_tls/ |
| HD | switch_tls.c | 254 if (xtp->t_state == TCPS_LISTEN) in tcpswitchall()
|
| /freebsd-14-stable/usr.sbin/tcpsso/ |
| HD | tcpsso.c | 119 if ((state != -1) && (xtp->t_state != state)) in tcpssoall()
|
| /freebsd-14-stable/crypto/heimdal/appl/telnet/ |
| HD | README.ORIG | 615 TIOCGSTATE Get t_state of tty to look at TS_EXTPROC bit 628 int t_state;
|
| /freebsd-14-stable/usr.bin/sockstat/ |
| HD | sockstat.c | 799 sock->state = xtp->t_state; in gather_inet()
|