Lines Matching refs:t_flags
413 if (!IN_FASTRECOVERY(tp->t_flags)) { in cc_cong_signal()
415 if (tp->t_flags & TF_ECN_PERMIT) in cc_cong_signal()
416 tp->t_flags |= TF_ECN_SND_CWR; in cc_cong_signal()
420 if (!IN_CONGRECOVERY(tp->t_flags)) { in cc_cong_signal()
423 if (tp->t_flags & TF_ECN_PERMIT) in cc_cong_signal()
424 tp->t_flags |= TF_ECN_SND_CWR; in cc_cong_signal()
431 EXIT_RECOVERY(tp->t_flags); in cc_cong_signal()
442 if (tp->t_flags & TF_WASFRECOVERY) in cc_cong_signal()
443 ENTER_FASTRECOVERY(tp->t_flags); in cc_cong_signal()
444 if (tp->t_flags & TF_WASCRECOVERY) in cc_cong_signal()
445 ENTER_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
447 tp->t_flags &= ~TF_PREVVALID; in cc_cong_signal()
485 (tp->t_flags & TF_RXWIN0SENT) == 0) && \
487 (V_tcp_delack_enabled || (tp->t_flags & TF_NEEDSYN)))
512 if (tp->t_flags & TF_DELACK) in cc_ecnpkt_handler()
996 if (tp->t_flags & TF_TOE) { in tcp_input()
1016 !IS_FASTOPEN(tp->t_flags)))) { in tcp_input()
1377 if (tp->t_flags & TF_SIGNATURE) { in tcp_input()
1600 if (tp->t_flags & TF_ECN_PERMIT) { in tcp_do_segment()
1602 tp->t_flags &= ~TF_ECN_SND_ECE; in tcp_do_segment()
1605 tp->t_flags |= TF_ECN_SND_ECE; in tcp_do_segment()
1633 if ((tp->t_flags & TF_SIGNATURE) != 0 && in tcp_do_segment()
1649 else if (tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1662 (tp->t_flags & TF_REQ_SCALE)) { in tcp_do_segment()
1663 tp->t_flags |= TF_RCVD_SCALE; in tcp_do_segment()
1672 tp->t_flags |= TF_RCVD_TSTMP; in tcp_do_segment()
1678 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
1680 tp->t_flags &= ~TF_SACK_PERMIT; in tcp_do_segment()
1681 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
1703 if ((tp->t_flags & TF_RCVD_TSTMP) && !(to.to_flags & TOF_TS)) { in tcp_do_segment()
1710 if (!(tp->t_flags & TF_RCVD_TSTMP) && (to.to_flags & TOF_TS)) { in tcp_do_segment()
1740 ((tp->t_flags & (TF_NEEDSYN|TF_NEEDFIN)) == 0) && in tcp_do_segment()
1760 !IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
1773 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1870 if ((tp->t_flags & TF_SACK_PERMIT) && tp->rcv_numsacks) in tcp_do_segment()
1914 tp->t_flags |= TF_DELACK; in tcp_do_segment()
1916 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1947 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
2006 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2017 if (IS_FASTOPEN(tp->t_flags) && in tcp_do_segment()
2030 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2034 tp->t_flags |= TF_ECN_PERMIT; in tcp_do_segment()
2045 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2047 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2066 tp->t_flags |= (TF_ACKNOW | TF_NEEDSYN); in tcp_do_segment()
2275 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2286 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2293 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2344 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2388 (tp->t_flags & TF_NEEDSYN)) { in tcp_do_segment()
2390 IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
2395 } else if (tp->t_flags & TF_ACKNOW) in tcp_do_segment()
2416 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2427 if (IS_FASTOPEN(tp->t_flags) && tp->t_tfo_pending) { in tcp_do_segment()
2437 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2439 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2451 if (!IS_FASTOPEN(tp->t_flags)) in tcp_do_segment()
2483 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
2505 (tp->t_flags & TF_SACK_PERMIT))) { in tcp_do_segment()
2557 ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
2563 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2566 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
2567 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2601 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2602 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2619 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2683 tp->t_flags & TF_SENTFIN), in tcp_do_segment()
2704 if ((tp->t_flags & TF_SACK_PERMIT) && sack_changed) in tcp_do_segment()
2715 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2717 if (tp->t_flags & TF_SACK_PERMIT) in tcp_do_segment()
2728 if (tp->t_flags & TF_NEEDSYN) { in tcp_do_segment()
2736 tp->t_flags &= ~TF_NEEDSYN; in tcp_do_segment()
2739 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2764 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
2843 if (!IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
2848 if (IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
2850 EXIT_RECOVERY(tp->t_flags); in tcp_do_segment()
2853 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
3019 IS_FASTOPEN(tp->t_flags)); in tcp_do_segment()
3043 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3045 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3066 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3068 if ((tp->t_flags & TF_SACK_PERMIT) && (save_tlen > 0)) { in tcp_do_segment()
3130 if (tp->t_flags & TF_NEEDSYN) in tcp_do_segment()
3131 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3133 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3179 if (needoutput || (tp->t_flags & TF_ACKNOW)) in tcp_do_segment()
3185 if (tp->t_flags & TF_DELACK) { in tcp_do_segment()
3186 tp->t_flags &= ~TF_DELACK; in tcp_do_segment()
3220 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3772 tp->t_flags |= TF_TSO; in tcp_mss()
3845 tp->t_flags |= TF_ACKNOW; in tcp_newreno_partial_ack()