| /f-stack/freebsd/netinet/ |
| H A D | tcp_timer.c | 318 ostate = tp->t_state; in tcp_timer_2msl() 410 ostate = tp->t_state; in tcp_timer_keep() 436 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_timer_keep() 454 if (tp->t_state < TCPS_ESTABLISHED) in tcp_timer_keep() 458 tp->t_state <= TCPS_CLOSING) { in tcp_timer_keep() 530 ostate = tp->t_state; in tcp_timer_persist() 579 if (tp->t_state > TCPS_CLOSE_WAIT && in tcp_timer_persist() 621 ostate = tp->t_state; in tcp_timer_rexmt() 664 if (tp->t_state == TCPS_SYN_SENT) { in tcp_timer_rexmt() 701 if ((tp->t_state == TCPS_SYN_SENT) || in tcp_timer_rexmt() [all …]
|
| H A D | tcp_usrreq.c | 204 tp->t_state = TCPS_CLOSED; in tcp_usr_attach() 302 tp->t_state < TCPS_SYN_SENT) { in tcp_usr_detach() 1765 ti->tcpi_state = tp->t_state; in tcp_fill_info() 1917 if (tp->t_state != TCPS_CLOSED) { in tcp_ctloutput() 2307 if ((tp->t_state > TCPS_LISTEN) && in tcp_default_ctloutput() 2322 tp->t_state == TCPS_SYN_SENT) in tcp_default_ctloutput() 2382 if (tp->t_state == TCPS_LISTEN) { in tcp_default_ctloutput() 2699 switch (tp->t_state) { in tcp_usrclosed() 2753 db_print_tstate(int t_state) in db_print_tstate() argument 2756 switch (t_state) { in db_print_tstate() [all …]
|
| H A D | tcp_output.c | 250 ((tp->t_state == TCPS_SYN_SENT) || in tcp_output() 251 (tp->t_state == TCPS_SYN_RECEIVED)) && in tcp_output() 288 flags = tcp_outflags[tp->t_state]; in tcp_output() 440 if (tp->t_state != TCPS_SYN_RECEIVED) in tcp_output() 447 (tp->t_state == TCPS_SYN_RECEIVED)) in tcp_output() 476 ((tp->t_state == TCPS_SYN_SENT) && in tcp_output() 661 !TCPS_HAVERCVDFIN(tp->t_state)) { in tcp_output() 1184 if (tp->t_state == TCPS_ESTABLISHED && in tcp_output() 1437 if (tp->t_state == TCPS_SYN_SENT) in tcp_output() 1482 if (tp->t_state == TCPS_SYN_SENT) in tcp_output() [all …]
|
| H A D | tcp_input.c | 1028 ostate = tp->t_state; in tcp_input() 1353 } else if (tp->t_state == TCPS_LISTEN) { in tcp_input() 1748 if (tp->t_state == TCPS_ESTABLISHED && in tcp_do_segment() 1955 switch (tp->t_state) { in tcp_do_segment() 2162 KASSERT(tp->t_state != TCPS_SYN_SENT, in tcp_do_segment() 2170 switch (tp->t_state) { in tcp_do_segment() 2203 tp->t_state != TCPS_SYN_RECEIVED) { in tcp_do_segment() 2399 if (tp->t_state == TCPS_SYN_RECEIVED || in tcp_do_segment() 2416 switch (tp->t_state) { in tcp_do_segment() 2946 switch (tp->t_state) { in tcp_do_segment() [all …]
|
| H A D | toecore.c | 219 if (tp->t_state != TCPS_LISTEN) in toe_listen_start() 237 KASSERT(tp->t_state == TCPS_LISTEN, in toe_listen_start_event() 238 ("%s: t_state %s", __func__, tcpstates[tp->t_state])); in toe_listen_start_event() 252 KASSERT(tp->t_state == TCPS_LISTEN, in toe_listen_stop_event() 253 ("%s: t_state %s", __func__, tcpstates[tp->t_state])); in toe_listen_stop_event()
|
| H A D | tcp_subr.c | 707 KASSERT(tp->t_state >= 0 && tp->t_state < TCPS_TIME_WAIT, in tcp_default_fb_init() 709 tp->t_state)); in tcp_default_fb_init() 715 if (tp->t_state <= TCPS_LISTEN || tp->t_state >= TCPS_TIME_WAIT) in tcp_default_fb_init() 2044 TCPSTATES_DEC(tp->t_state); in tcp_discardcb() 2078 TCPSTATES_DEC(tp->t_state); in tcp_timer_discard() 2109 if (tp->t_state == TCPS_LISTEN) in tcp_close() 3427 int pstate = tp->t_state; in tcp_state_change() 3430 TCPSTATES_DEC(tp->t_state); in tcp_state_change() 3432 tp->t_state = newstate; in tcp_state_change() 3452 xt->t_state = TCPS_TIME_WAIT; in tcp_inptoxtp() [all …]
|
| H A D | tcp_debug.c | 213 printf(" -> %s", tcpstates[tp->t_state]); in tcp_trace()
|
| H A D | tcp_offload.c | 151 flags = tcp_outflags[tp->t_state]; in tcp_offload_output()
|
| H A D | tcp_reass.c | 588 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) && in tcp_reass() 951 if (th->th_seq == tp->rcv_nxt && TCPS_HAVEESTABLISHED(tp->t_state)) { in tcp_reass() 1048 if (!TCPS_HAVEESTABLISHED(tp->t_state)) in tcp_reass()
|
| H A D | tcp_var.h | 138 t_state:4, /* state of this connection */ member 761 int32_t t_state; /* (s,p) */ member
|
| H A D | siftr.c | 789 pn->conn_state = tp->t_state; in siftr_siftdata()
|
| H A D | tcp_syncache.c | 2564 xt.t_state = TCPS_SYN_RECEIVED; in syncache_pcblist()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | rack_bbr_common.c | 472 if (tp->t_state < TCPS_ESTABLISHED) in ctf_outstanding() 633 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK) && in ctf_do_dropafterack() 677 KASSERT(tp->t_state != TCPS_SYN_SENT, in ctf_process_rst() 687 switch (tp->t_state) { in ctf_process_rst() 833 if (TCPS_HAVEESTABLISHED(tp->t_state)) { in ctf_fixed_maxseg()
|
| H A D | rack.c | 4750 if ((tp->t_state == TCPS_CLOSED) || in rack_start_hpts_timer() 4751 (tp->t_state == TCPS_LISTEN)) { in rack_start_hpts_timer() 5455 tp->t_state <= TCPS_CLOSING) { in rack_timeout_keepalive() 5800 if (tp->t_state == TCPS_LISTEN) { in rack_process_timers() 7532 th, tp->t_state, rack, in rack_log_ack() 8757 switch (tp->t_state) { in rack_process_data() 10622 switch (tp->t_state) { in rack_set_state() 11084 if (rack->r_state != tp->t_state) in rack_do_segment_nounlock() 12118 flags = tcp_outflags[tp->t_state]; in rack_output() 13740 if (tp->t_state == TCPS_SYN_SENT) in rack_output() [all …]
|
| H A D | bbr.c | 755 if ((tp->t_state == TCPS_CLOSED) || in bbr_start_hpts_timer() 756 (tp->t_state == TCPS_LISTEN)) { in bbr_start_hpts_timer() 838 (tp->t_state <= TCPS_CLOSING)) { in bbr_start_hpts_timer() 4847 tp->t_state <= TCPS_CLOSING) { in bbr_timeout_keepalive() 5204 if (tp->t_state == TCPS_LISTEN) { in bbr_process_timers() 7473 th, tp->t_state, bbr, in bbr_log_ack() 7484 th_ack, tp->t_state, in bbr_log_ack() 8440 switch (tp->t_state) { in bbr_process_data() 10354 switch (tp->t_state) { in bbr_set_state() 11582 if (bbr->r_state != tp->t_state) in bbr_do_segment_nounlock() [all …]
|
| /f-stack/tools/netstat/ |
| H A D | inet.c | 301 (istcp && tp->t_state == TCPS_LISTEN) in protopr() 541 if (tp->t_state < 0 || tp->t_state >= TCP_NSTATES) in protopr() 542 xo_emit("{:tcp-state/%-11d}", tp->t_state); in protopr() 545 tcpstates[tp->t_state]); in protopr() 572 (tp->t_state >= TCPS_ESTABLISHED ? in protopr()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcp_var.h | 138 t_state:4, /* state of this connection */ member 761 int32_t t_state; /* (s,p) */ member
|
| /f-stack/freebsd/netgraph/bluetooth/drivers/h4/ |
| H A D | ng_h4.c | 348 if ((tp->t_state & TS_CONNECTED) == 0) { in ng_h4_input()
|