Lines Matching refs:t_flags
299 return ((tp->t_flags & TF_SACK_PERMIT) && in tcp_is_sack_recovery()
350 if (!IN_RECOVERY(tp->t_flags)) in cc_ack_received()
353 if ((tp->t_flags & TF_GPUTINPROG) && in cc_ack_received()
372 tp->t_flags &= ~TF_GPUTINPROG; in cc_ack_received()
465 if (!IN_FASTRECOVERY(tp->t_flags)) { in cc_cong_signal()
472 if (!IN_CONGRECOVERY(tp->t_flags) || in cc_cong_signal()
478 EXIT_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
488 EXIT_RECOVERY(tp->t_flags); in cc_cong_signal()
498 if (tp->t_flags & TF_WASFRECOVERY) in cc_cong_signal()
499 ENTER_FASTRECOVERY(tp->t_flags); in cc_cong_signal()
500 if (tp->t_flags & TF_WASCRECOVERY) in cc_cong_signal()
501 ENTER_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
503 tp->t_flags &= ~TF_PREVVALID; in cc_cong_signal()
543 (tp->t_flags & TF_RXWIN0SENT) == 0) && \
545 (V_tcp_delack_enabled || (tp->t_flags & TF_NEEDSYN)))
575 tp->t_flags |= TF_ACKNOW; in cc_ecnpkt_handler_flags()
1046 if (tp->t_flags & TF_TOE) { in tcp_input_with_port()
1396 if (tp->t_flags & TF_SIGNATURE) { in tcp_input_with_port()
1528 if (tp->t_flags & TF_WAKESOR) { in tcp_handle_wakeup()
1529 tp->t_flags &= ~TF_WAKESOR; in tcp_handle_wakeup()
1622 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1654 if ((tp->t_flags & TF_SIGNATURE) != 0 && in tcp_do_segment()
1671 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1693 (tp->t_flags & TF_REQ_SCALE) && in tcp_do_segment()
1694 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1695 tp->t_flags |= TF_RCVD_SCALE; in tcp_do_segment()
1698 tp->t_flags &= ~TF_REQ_SCALE; in tcp_do_segment()
1705 (tp->t_flags & TF_REQ_TSTMP) && in tcp_do_segment()
1706 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1707 tp->t_flags |= TF_RCVD_TSTMP; in tcp_do_segment()
1711 tp->t_flags &= ~TF_REQ_TSTMP; in tcp_do_segment()
1714 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
1716 (tp->t_flags & TF_NOOPT))) in tcp_do_segment()
1717 tp->t_flags &= ~TF_SACK_PERMIT; in tcp_do_segment()
1718 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
1720 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1744 if ((tp->t_flags & TF_RCVD_TSTMP) && !(to.to_flags & TOF_TS)) { in tcp_do_segment()
1767 if (!(tp->t_flags & TF_RCVD_TSTMP) && (to.to_flags & TOF_TS)) { in tcp_do_segment()
1797 ((tp->t_flags & (TF_NEEDSYN|TF_NEEDFIN)) == 0) && in tcp_do_segment()
1816 !IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
1829 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1927 if ((tp->t_flags & TF_SACK_PERMIT) && tp->rcv_numsacks) in tcp_do_segment()
1980 tp->t_flags |= TF_DELACK; in tcp_do_segment()
1982 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2012 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
2071 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2082 if (IS_FASTOPEN(tp->t_flags) && in tcp_do_segment()
2095 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2110 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2112 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2131 tp->t_flags |= (TF_ACKNOW | TF_NEEDSYN); in tcp_do_segment()
2334 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2345 if ((todrop > 0) && (tp->t_flags & TF_SACK_PERMIT)) { in tcp_do_segment()
2352 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2401 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2445 (tp->t_flags & TF_NEEDSYN)) { in tcp_do_segment()
2447 IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
2452 } else if (tp->t_flags & TF_ACKNOW) in tcp_do_segment()
2472 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2483 if (IS_FASTOPEN(tp->t_flags) && tp->t_tfo_pending) { in tcp_do_segment()
2487 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2489 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2501 if (!IS_FASTOPEN(tp->t_flags)) in tcp_do_segment()
2510 if (SEQ_GT(th->th_ack, tp->snd_una) && !(tp->t_flags & TF_NEEDSYN)) in tcp_do_segment()
2560 (tp->t_flags & TF_SACK_PERMIT))) { in tcp_do_segment()
2618 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2622 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2625 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2650 (tp->t_flags & TF_SACK_PERMIT && in tcp_do_segment()
2674 (tp->t_flags & TF_SACK_PERMIT)) { in tcp_do_segment()
2675 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2775 tp->t_flags & TF_SENTFIN), in tcp_do_segment()
2805 if (!IN_FASTRECOVERY(tp->t_flags) && in tcp_do_segment()
2822 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2824 if (tp->t_flags & TF_SACK_PERMIT) in tcp_do_segment()
2829 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2837 } else if (IN_CONGRECOVERY(tp->t_flags)) { in tcp_do_segment()
2852 if (tp->t_flags & TF_NEEDSYN) { in tcp_do_segment()
2860 tp->t_flags &= ~TF_NEEDSYN; in tcp_do_segment()
2863 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2897 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
2978 if (!IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
2983 if (IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
2985 EXIT_RECOVERY(tp->t_flags); in tcp_do_segment()
2988 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
3151 IS_FASTOPEN(tp->t_flags)); in tcp_do_segment()
3175 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3177 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3196 tp->t_flags |= TF_WAKESOR; in tcp_do_segment()
3207 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3209 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
3275 if (tp->t_flags & TF_NEEDSYN) in tcp_do_segment()
3276 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3278 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3321 if (needoutput || (tp->t_flags & TF_ACKNOW)) in tcp_do_segment()
3327 if (tp->t_flags & TF_DELACK) { in tcp_do_segment()
3328 tp->t_flags &= ~TF_DELACK; in tcp_do_segment()
3362 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3921 tp->t_flags |= TF_TSO; in tcp_mss()
3984 (IN_CONGRECOVERY(tp->t_flags) && in tcp_do_prr_ack()
3985 !IN_FASTRECOVERY(tp->t_flags))) { in tcp_do_prr_ack()
4026 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_prr_ack()
4035 } else if (IN_CONGRECOVERY(tp->t_flags)) in tcp_do_prr_ack()
4063 tp->t_flags |= TF_ACKNOW; in tcp_newreno_partial_ack()