Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/netinet/
H A Dtcp_timer.c356 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 …]
H A Dtcp_usrreq.c183 tp->t_state = TCPS_CLOSED; in tcp_usr_attach()
213 tp->t_state < TCPS_SYN_SENT, in tcp_usr_detach()
703 if (tp->t_state == TCPS_TIME_WAIT) in tcp_usr_disconnect()
954 if (tp->t_state == TCPS_LISTEN) { in tcp_usr_send()
1054 KASSERT(tp->t_state == TCPS_CLOSED, in tcp_usr_send()
1546 ti->tcpi_state = tp->t_state; in tcp_fill_info()
2190 if (tp->t_state != TCPS_CLOSED) { in tcp_default_ctloutput()
2728 switch (tp->t_state) { in tcp_usrclosed()
2784 db_print_tstate(int t_state) in db_print_tstate() argument
2787 switch (t_state) { in db_print_tstate()
[all …]
H A Dtoecore.c226 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()
H A Dtcp_output.c245 ((tp->t_state == TCPS_SYN_SENT) || 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()
669 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_default_output()
1205 if ((TCPS_HAVERCVDSYN(tp->t_state)) && in tcp_default_output()
1460 if (tp->t_state == TCPS_SYN_SENT) in tcp_default_output()
1506 if (tp->t_state == TCPS_SYN_SENT) in tcp_default_output()
1715 if (TCPS_HAVERCVDSYN(tp->t_state)) { in tcp_default_output()
[all …]
H A Dtcp_input.c989 switch (tp->t_state) { in tcp_input_with_port()
1749 if (tp->t_state == TCPS_ESTABLISHED && in tcp_do_segment()
1962 switch (tp->t_state) { in tcp_do_segment()
2163 KASSERT(tp->t_state != TCPS_SYN_SENT, in tcp_do_segment()
2171 switch (tp->t_state) { in tcp_do_segment()
2455 switch (tp->t_state) { in tcp_do_segment()
3034 switch (tp->t_state) { in tcp_do_segment()
3299 tcpstates[tp->t_state], tlen); in tcp_do_segment()
3306 tcpstates[tp->t_state], tlen); in tcp_do_segment()
3315 tcpstates[tp->t_state]); in tcp_do_segment()
[all …]
H A Dtcp_subr.c1084 tp->t_state)); in tcp_default_fb_init()
1108 if (tp->t_state <= TCPS_LISTEN || tp->t_state >= TCPS_TIME_WAIT) in tcp_default_fb_init()
2188 (tp->t_state == TCPS_CLOSED || in tcp_respond()
2500 TCPSTATES_DEC(tp->t_state); in tcp_discardcb()
2587 if (tp->t_state == TCPS_LISTEN) in tcp_close()
2603 if (tp->t_state != TCPS_CLOSED) in tcp_close()
3342 if (tp->t_state != TCPS_SYN_SENT) in tcp_drop_syn_sent()
3978 int pstate = tp->t_state; in tcp_state_change()
3981 TCPSTATES_DEC(tp->t_state); in tcp_state_change()
3983 tp->t_state = newstate; in tcp_state_change()
[all …]
H A Dtcp_reass.c578 !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()
H A Dtcp_offload.c150 flags = tcp_outflags[tp->t_state]; in tcp_offload_output()
H A Dsiftr.c659 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()
H A Dtcp_var.h336 t_state:4, /* state of this connection */ member
1203 int32_t t_state; /* (s,p) */ member
H A Dtcp_lro_hpts.c563 if (tp->t_state == TCPS_TIME_WAIT) { in _tcp_lro_flush_tcphpts()
H A Dtcp_syncache.c925 tp->t_state = TCPS_SYN_RECEIVED; in syncache_socket()
2538 xt.t_state = TCPS_SYN_RECEIVED; in syncache_pcblist()
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c249 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()
1381 switch (tp->t_state) { in do_peer_close()
1408 __func__, tid, tp->t_state); in do_peer_close()
1455 switch (tp->t_state) { in do_close_con_rpl()
1483 __func__, tid, tcpstates[tp->t_state]); in do_close_con_rpl()
[all …]
H A Dt4_tom.c393 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.2/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c506 if (tp->t_state < TCPS_ESTABLISHED) in ctf_outstanding()
696 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK) && in __ctf_do_dropafterack()
741 KASSERT(tp->t_state != TCPS_SYN_SENT, in __ctf_process_rst()
750 switch (tp->t_state) { in __ctf_process_rst()
H A Dbbr.c744 if ((tp->t_state == TCPS_CLOSED) || in bbr_start_hpts_timer()
745 (tp->t_state == TCPS_LISTEN)) { in bbr_start_hpts_timer()
4829 tp->t_state <= TCPS_CLOSING) { in bbr_timeout_keepalive()
5184 if (tp->t_state == TCPS_LISTEN) { in bbr_process_timers()
7373 th, tp->t_state, bbr, in bbr_log_ack()
7384 th_ack, tp->t_state, in bbr_log_ack()
8382 switch (tp->t_state) { in bbr_process_data()
10250 switch (tp->t_state) { in bbr_set_state()
11479 if (bbr->r_state != tp->t_state) in bbr_do_segment_nounlock()
11610 if (bbr->r_state != tp->t_state) in bbr_do_segment_nounlock()
[all …]
H A Drack.c7627 tp->t_state <= TCPS_CLOSING) { in rack_timeout_keepalive()
8098 if (tp->t_state == TCPS_LISTEN) { in rack_process_timers()
10535 tp->t_state, th_ack, rack, in rack_process_to_cumack()
12845 switch (tp->t_state) { in rack_process_data()
15557 switch (tp->t_state) { in rack_set_state()
15983 if (rack->r_state != tp->t_state) in rack_do_compressed_ack_processing()
16522 switch(tp->t_state) { in rack_do_compressed_ack_processing()
17107 if (rack->r_state != tp->t_state) in rack_do_segment_nounlock()
18762 flags = tcp_outflags[tp->t_state]; in rack_fast_rsm_output()
20232 flags = tcp_outflags[tp->t_state]; in rack_output()
[all …]
/freebsd-14.2/usr.bin/netstat/
H A Dinet.c290 (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.2/usr.sbin/tcpdrop/
H A Dtcpdrop.c259 if (xtp->t_state == TCPS_LISTEN) in tcpdropall()
263 if ((state != -1) && (xtp->t_state != state)) in tcpdropall()
/freebsd-14.2/usr.bin/systat/
H A Dnetstat.c224 enter_kvm(&inpcb, &sockb, tcpcb.t_state, "tcp"); in fetchnetstat_kvm()
313 xtp->t_state, "tcp"); in fetchnetstat_sysctl()
/freebsd-14.2/tools/tools/switch_tls/
H A Dswitch_tls.c254 if (xtp->t_state == TCPS_LISTEN) in tcpswitchall()
/freebsd-14.2/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c313 switch (tcpoids[i].tp->t_state) { in op_tcpconn()
/freebsd-14.2/usr.sbin/tcpsso/
H A Dtcpsso.c119 if ((state != -1) && (xtp->t_state != state)) in tcpssoall()
/freebsd-14.2/cddl/lib/libdtrace/
H A Dtcp.d225 tcps_state = p == NULL ? -1 : p->t_state;
/freebsd-14.2/crypto/heimdal/appl/telnet/
H A DREADME.ORIG615 TIOCGSTATE Get t_state of tty to look at TS_EXTPROC bit
628 int t_state;

12