Home
last modified time | relevance | path

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

12

/freebsd/sys/netinet/
H A Dtcp_timer.c354 if (tp->t_state == TCPS_TIME_WAIT) { in tcp_timer_2msl()
396 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_timer_keep()
413 if (tp->t_state < TCPS_ESTABLISHED) in tcp_timer_keep()
417 tp->t_state <= TCPS_CLOSING) { in tcp_timer_keep()
525 if (tp->t_state > TCPS_CLOSE_WAIT && in tcp_timer_persist()
587 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()
651 (tp->t_state == TCPS_FIN_WAIT_1))) { in tcp_timer_rexmt()
894 MPASS(tp->t_state > TCPS_CLOSED); in tcp_timer_enter()
[all …]
H A Dtcp_usrreq.c181 tp->t_state = TCPS_CLOSED; in tcp_usr_attach()
211 tp->t_state < TCPS_SYN_SENT, in tcp_usr_detach()
701 if (tp->t_state == TCPS_TIME_WAIT) in tcp_usr_disconnect()
960 if (tp->t_state == TCPS_LISTEN) { in tcp_usr_send()
1060 KASSERT(tp->t_state == TCPS_CLOSED, in tcp_usr_send()
1552 ti->tcpi_state = tp->t_state; in tcp_fill_info()
2162 if (tp->t_state != TCPS_CLOSED) { in tcp_default_ctloutput()
2706 switch (tp->t_state) { in tcp_usrclosed()
2763 db_print_tstate(int t_state) in db_print_tstate() argument
2766 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.c243 ((tp->t_state == TCPS_SYN_SENT) || in tcp_default_output()
281 flags = tcp_outflags[tp->t_state]; in tcp_default_output()
433 if (tp->t_state != TCPS_SYN_RECEIVED) in tcp_default_output()
440 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_default_output()
469 ((tp->t_state == TCPS_SYN_SENT) && in tcp_default_output()
657 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_default_output()
1200 if ((TCPS_HAVERCVDSYN(tp->t_state)) && in tcp_default_output()
1455 if (tp->t_state == TCPS_SYN_SENT) in tcp_default_output()
1501 if (tp->t_state == TCPS_SYN_SENT) in tcp_default_output()
1709 if (TCPS_HAVERCVDSYN(tp->t_state)) { in tcp_default_output()
[all …]
H A Dtcp_input.c988 switch (tp->t_state) { in tcp_input_with_port()
1763 if (tp->t_state == TCPS_ESTABLISHED && in tcp_do_segment()
1978 switch (tp->t_state) { in tcp_do_segment()
2179 KASSERT(tp->t_state != TCPS_SYN_SENT, in tcp_do_segment()
2187 switch (tp->t_state) { in tcp_do_segment()
2441 switch (tp->t_state) { in tcp_do_segment()
3022 switch (tp->t_state) { in tcp_do_segment()
3288 tcpstates[tp->t_state], tlen); in tcp_do_segment()
3295 tcpstates[tp->t_state], tlen); in tcp_do_segment()
3304 tcpstates[tp->t_state]); in tcp_do_segment()
[all …]
H A Dtcp_subr.c1036 tp->t_state)); in tcp_default_fb_init()
1060 if (tp->t_state <= TCPS_LISTEN || tp->t_state >= TCPS_TIME_WAIT) in tcp_default_fb_init()
2140 (tp->t_state == TCPS_CLOSED || in tcp_respond()
2384 TCPSTATES_DEC(tp->t_state); in tcp_discardcb()
2471 if (tp->t_state == TCPS_LISTEN) in tcp_close()
2488 if (tp->t_state != TCPS_CLOSED) in tcp_close()
3228 if (tp->t_state != TCPS_SYN_SENT) in tcp_drop_syn_sent()
3883 int pstate = tp->t_state; in tcp_state_change()
3886 TCPSTATES_DEC(tp->t_state); in tcp_state_change()
3888 tp->t_state = newstate; in tcp_state_change()
[all …]
H A Dtcp_reass.c576 !TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass()
592 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) && in tcp_reass()
955 if (th->th_seq == tp->rcv_nxt && TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass()
1050 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.c687 pn->conn_state = tp->t_state; in siftr_siftdata()
810 if (tp == NULL || tp->t_state < TCPS_ESTABLISHED) { in siftr_chkpkt()
959 if (tp == NULL || tp->t_state < TCPS_ESTABLISHED) { in siftr_chkpkt6()
H A Dtcp_var.h340 t_state:4, /* state of this connection */ member
1178 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.c909 tp->t_state = TCPS_SYN_RECEIVED; in syncache_socket()
2548 xt.t_state = TCPS_SYN_RECEIVED; in syncache_pcblist()
/freebsd/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()
1407 __func__, tid, tp->t_state); in do_peer_close()
1454 switch (tp->t_state) { in do_close_con_rpl()
1481 __func__, tid, tcpstates[tp->t_state]); in do_close_con_rpl()
[all …]
H A Dt4_tom.c377 if (tp->t_state == TCPS_SYN_SENT) { in t4_pcb_detach()
384 toep->tid, tcpstates[tp->t_state], toep, toep->flags, inp, in t4_pcb_detach()
414 if (tp->t_state != TCPS_ESTABLISHED) in t4_ctloutput()
/freebsd/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()
5194 if (tp->t_state == TCPS_LISTEN) { in bbr_process_timers()
7383 th, tp->t_state, bbr, in bbr_log_ack()
7394 th_ack, tp->t_state, in bbr_log_ack()
8355 switch (tp->t_state) { in bbr_process_data()
10223 switch (tp->t_state) { in bbr_set_state()
11459 if (bbr->r_state != tp->t_state) in bbr_do_segment_nounlock()
11592 if (bbr->r_state != tp->t_state) in bbr_do_segment_nounlock()
[all …]
H A Drack.c8084 tp->t_state <= TCPS_CLOSING) { in rack_timeout_keepalive()
8577 if (tp->t_state == TCPS_LISTEN) { in rack_process_timers()
10994 tp->t_state, th_ack, rack, in rack_process_to_cumack()
13134 switch (tp->t_state) { in rack_process_data()
15909 switch (tp->t_state) { in rack_set_state()
16473 if (rack->r_state != tp->t_state) in rack_do_compressed_ack_processing()
16991 switch(tp->t_state) { in rack_do_compressed_ack_processing()
17601 if (rack->r_state != tp->t_state) in rack_do_segment_nounlock()
19408 flags = tcp_outflags[tp->t_state]; in rack_fast_rsm_output()
20997 flags = tcp_outflags[tp->t_state]; in rack_output()
[all …]
/freebsd/usr.bin/netstat/
H A Dinet.c283 (istcp && tp->t_state == TCPS_LISTEN) in protopr()
511 if (tp->t_state < 0 || tp->t_state >= TCP_NSTATES) in protopr()
512 xo_emit("{:tcp-state/%-11d}", tp->t_state); in protopr()
515 tcpstates[tp->t_state]); in protopr()
542 (tp->t_state >= TCPS_ESTABLISHED ? in protopr()
/freebsd/usr.sbin/tcpdrop/
H A Dtcpdrop.c258 if (xtp->t_state == TCPS_LISTEN) in tcpdropall()
262 if ((state != -1) && (xtp->t_state != state)) in tcpdropall()
/freebsd/usr.bin/systat/
H A Dnetstat.c219 enter_kvm(inpcb, &sockb, tcpcb.t_state, "tcp"); in fetchnetstat_kvm()
308 xtp->t_state, "tcp"); in fetchnetstat_sysctl()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c313 switch (tcpoids[i].tp->t_state) { in op_tcpconn()
/freebsd/tools/tools/switch_tls/
H A Dswitch_tls.c253 if (xtp->t_state == TCPS_LISTEN) in tcpswitchall()
/freebsd/usr.sbin/tcpsso/
H A Dtcpsso.c119 if ((state != -1) && (xtp->t_state != state)) in tcpssoall()
/freebsd/cddl/lib/libdtrace/
H A Dtcp.d227 tcps_state = p == NULL ? -1 : p->t_state;
/freebsd/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