Lines Matching refs:t_flags

264 	return ((tp->t_flags & TF_SACK_PERMIT) &&  in tcp_is_sack_recovery()
315 if (!IN_RECOVERY(tp->t_flags)) in cc_ack_received()
318 if ((tp->t_flags & TF_GPUTINPROG) && in cc_ack_received()
337 tp->t_flags &= ~TF_GPUTINPROG; in cc_ack_received()
429 if (!IN_FASTRECOVERY(tp->t_flags)) { in cc_cong_signal()
436 if (!IN_CONGRECOVERY(tp->t_flags) || in cc_cong_signal()
442 EXIT_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
452 EXIT_RECOVERY(tp->t_flags); in cc_cong_signal()
462 if (tp->t_flags & TF_WASFRECOVERY) in cc_cong_signal()
463 ENTER_FASTRECOVERY(tp->t_flags); in cc_cong_signal()
464 if (tp->t_flags & TF_WASCRECOVERY) in cc_cong_signal()
465 ENTER_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
467 tp->t_flags &= ~TF_PREVVALID; in cc_cong_signal()
497 EXIT_RECOVERY(tp->t_flags); in cc_post_recovery()
516 (tp->t_flags & TF_RXWIN0SENT) == 0) && \
518 (V_tcp_delack_enabled || (tp->t_flags & TF_NEEDSYN)))
548 tp->t_flags |= TF_ACKNOW; in cc_ecnpkt_handler_flags()
1029 if (tp->t_flags & TF_TOE) { in tcp_input_with_port()
1366 if (tp->t_flags & TF_SIGNATURE) { in tcp_input_with_port()
1509 if (tp->t_flags & TF_WAKESOR) { in tcp_handle_wakeup()
1512 tp->t_flags &= ~TF_WAKESOR; in tcp_handle_wakeup()
1623 if ((tp->t_flags & TF_SIGNATURE) != 0 && in tcp_do_segment()
1652 (tp->t_flags & TF_REQ_SCALE) && in tcp_do_segment()
1653 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1654 tp->t_flags |= TF_RCVD_SCALE; in tcp_do_segment()
1657 tp->t_flags &= ~TF_REQ_SCALE; in tcp_do_segment()
1665 (tp->t_flags & TF_REQ_TSTMP) && in tcp_do_segment()
1666 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1667 tp->t_flags |= TF_RCVD_TSTMP; in tcp_do_segment()
1671 tp->t_flags &= ~TF_REQ_TSTMP; in tcp_do_segment()
1676 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
1678 (tp->t_flags & TF_NOOPT))) { in tcp_do_segment()
1679 tp->t_flags &= ~TF_SACK_PERMIT; in tcp_do_segment()
1681 if (tp->t_flags & TF_FASTOPEN) { in tcp_do_segment()
1683 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1710 if ((tp->t_flags & TF_RCVD_TSTMP) && !(to.to_flags & TOF_TS)) { in tcp_do_segment()
1733 if (!(tp->t_flags & TF_RCVD_TSTMP) && (to.to_flags & TOF_TS)) { in tcp_do_segment()
1763 ((tp->t_flags & (TF_NEEDSYN|TF_NEEDFIN)) == 0) && in tcp_do_segment()
1782 !IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
1794 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1890 if ((tp->t_flags & TF_ACKNOW) || in tcp_do_segment()
1907 if ((tp->t_flags & TF_SACK_PERMIT) && tp->rcv_numsacks) in tcp_do_segment()
1955 tp->t_flags |= TF_DELACK; in tcp_do_segment()
1957 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1992 if (tp->t_flags & TF_FASTOPEN) { in tcp_do_segment()
2053 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2066 if ((tp->t_flags & TF_FASTOPEN) && in tcp_do_segment()
2079 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2090 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2093 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2112 tp->t_flags |= (TF_ACKNOW | TF_NEEDSYN | TF_SONOTCONN); in tcp_do_segment()
2301 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2312 if ((todrop > 0) && (tp->t_flags & TF_SACK_PERMIT)) { in tcp_do_segment()
2319 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2337 if ((tp->t_flags & TF_CLOSED) && tlen > 0 && in tcp_do_segment()
2372 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2416 (tp->t_flags & TF_NEEDSYN)) { in tcp_do_segment()
2418 (tp->t_flags & TF_FASTOPEN)) { in tcp_do_segment()
2423 } else if (tp->t_flags & TF_ACKNOW) in tcp_do_segment()
2477 if (tp->t_flags & TF_SONOTCONN) { in tcp_do_segment()
2487 tp->t_flags &= ~TF_SONOTCONN; in tcp_do_segment()
2491 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2502 if ((tp->t_flags & TF_FASTOPEN) && tp->t_tfo_pending) { in tcp_do_segment()
2506 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2509 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2521 if (!(tp->t_flags & TF_FASTOPEN)) in tcp_do_segment()
2530 if (SEQ_GT(th->th_ack, tp->snd_una) && !(tp->t_flags & TF_NEEDSYN)) in tcp_do_segment()
2565 (tp->t_flags & TF_LRD)) { in tcp_do_segment()
2584 (tp->t_flags & TF_SACK_PERMIT))) { in tcp_do_segment()
2642 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2646 IN_FASTRECOVERY(tp->t_flags) && in tcp_do_segment()
2647 (tp->t_flags & TF_SACK_PERMIT)) { in tcp_do_segment()
2651 IN_FASTRECOVERY(tp->t_flags) && in tcp_do_segment()
2670 IN_FASTRECOVERY(tp->t_flags) && in tcp_do_segment()
2681 (tp->t_flags & TF_SACK_PERMIT && in tcp_do_segment()
2705 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2815 if (tp->t_flags & TF_ACKNOW || in tcp_do_segment()
2825 tp->t_flags & TF_SENTFIN), in tcp_do_segment()
2858 if (!IN_FASTRECOVERY(tp->t_flags) && in tcp_do_segment()
2876 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2877 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2885 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2894 } else if (IN_CONGRECOVERY(tp->t_flags) && in tcp_do_segment()
2912 if (tp->t_flags & TF_NEEDSYN) { in tcp_do_segment()
2920 tp->t_flags &= ~TF_NEEDSYN; in tcp_do_segment()
2923 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2957 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
3053 if (!IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
3058 if (IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
3221 (tp->t_flags & TF_FASTOPEN)); in tcp_do_segment()
3245 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3247 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3266 tp->t_flags |= TF_WAKESOR; in tcp_do_segment()
3277 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3279 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
3374 if (tp->t_flags & TF_NEEDSYN) in tcp_do_segment()
3375 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3377 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3415 if (needoutput || (tp->t_flags & TF_ACKNOW)) { in tcp_do_segment()
3421 if (tp->t_flags & TF_DELACK) { in tcp_do_segment()
3422 tp->t_flags &= ~TF_DELACK; in tcp_do_segment()
3452 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
4021 tp->t_flags |= TF_TSO; in tcp_mss()
4091 (IN_CONGRECOVERY(tp->t_flags) && in tcp_do_prr_ack()
4092 !IN_FASTRECOVERY(tp->t_flags))) { in tcp_do_prr_ack()
4141 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_prr_ack()
4148 } else if (IN_CONGRECOVERY(tp->t_flags)) { in tcp_do_prr_ack()
4171 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_newreno_partial_ack()
4178 tp->t_flags |= TF_ACKNOW; in tcp_newreno_partial_ack()