Lines Matching refs:t_flags

266 	return ((tp->t_flags & TF_SACK_PERMIT) &&  in tcp_is_sack_recovery()
317 if (!IN_RECOVERY(tp->t_flags)) in cc_ack_received()
320 if ((tp->t_flags & TF_GPUTINPROG) && in cc_ack_received()
339 tp->t_flags &= ~TF_GPUTINPROG; in cc_ack_received()
431 if (!IN_FASTRECOVERY(tp->t_flags)) { in cc_cong_signal()
438 if (!IN_CONGRECOVERY(tp->t_flags) || in cc_cong_signal()
444 EXIT_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
454 EXIT_RECOVERY(tp->t_flags); in cc_cong_signal()
464 if (tp->t_flags & TF_WASFRECOVERY) in cc_cong_signal()
465 ENTER_FASTRECOVERY(tp->t_flags); in cc_cong_signal()
466 if (tp->t_flags & TF_WASCRECOVERY) in cc_cong_signal()
467 ENTER_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
469 tp->t_flags &= ~TF_PREVVALID; in cc_cong_signal()
490 EXIT_RECOVERY(tp->t_flags); in cc_post_recovery()
509 (tp->t_flags & TF_RXWIN0SENT) == 0) && \
511 (V_tcp_delack_enabled || (tp->t_flags & TF_NEEDSYN)))
541 tp->t_flags |= TF_ACKNOW; in cc_ecnpkt_handler_flags()
1021 if (tp->t_flags & TF_TOE) { in tcp_input_with_port()
1367 if (tp->t_flags & TF_SIGNATURE) { in tcp_input_with_port()
1510 if (tp->t_flags & TF_WAKESOR) { in tcp_handle_wakeup()
1513 tp->t_flags &= ~TF_WAKESOR; in tcp_handle_wakeup()
1617 if ((tp->t_flags & TF_SIGNATURE) != 0 && in tcp_do_segment()
1634 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1650 (tp->t_flags & TF_REQ_SCALE) && in tcp_do_segment()
1651 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1652 tp->t_flags |= TF_RCVD_SCALE; in tcp_do_segment()
1655 tp->t_flags &= ~TF_REQ_SCALE; in tcp_do_segment()
1662 (tp->t_flags & TF_REQ_TSTMP) && in tcp_do_segment()
1663 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1664 tp->t_flags |= TF_RCVD_TSTMP; in tcp_do_segment()
1668 tp->t_flags &= ~TF_REQ_TSTMP; in tcp_do_segment()
1671 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
1673 (tp->t_flags & TF_NOOPT))) in tcp_do_segment()
1674 tp->t_flags &= ~TF_SACK_PERMIT; in tcp_do_segment()
1675 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
1677 !(tp->t_flags & TF_NOOPT)) { in tcp_do_segment()
1701 if ((tp->t_flags & TF_RCVD_TSTMP) && !(to.to_flags & TOF_TS)) { in tcp_do_segment()
1724 if (!(tp->t_flags & TF_RCVD_TSTMP) && (to.to_flags & TOF_TS)) { in tcp_do_segment()
1754 ((tp->t_flags & (TF_NEEDSYN|TF_NEEDFIN)) == 0) && in tcp_do_segment()
1773 !IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
1786 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1880 tp->snd_max) || tp->t_flags & TF_ACKNOW) in tcp_do_segment()
1894 if ((tp->t_flags & TF_SACK_PERMIT) && tp->rcv_numsacks) in tcp_do_segment()
1942 tp->t_flags |= TF_DELACK; in tcp_do_segment()
1944 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1979 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
2040 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2053 if (IS_FASTOPEN(tp->t_flags) && in tcp_do_segment()
2066 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2077 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2080 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2099 tp->t_flags |= (TF_ACKNOW | TF_NEEDSYN | TF_SONOTCONN); in tcp_do_segment()
2288 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2299 if ((todrop > 0) && (tp->t_flags & TF_SACK_PERMIT)) { in tcp_do_segment()
2306 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2324 if ((tp->t_flags & TF_CLOSED) && tlen > 0 && in tcp_do_segment()
2359 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2403 (tp->t_flags & TF_NEEDSYN)) { in tcp_do_segment()
2405 IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
2410 } else if (tp->t_flags & TF_ACKNOW) in tcp_do_segment()
2464 if (tp->t_flags & TF_SONOTCONN) { in tcp_do_segment()
2474 tp->t_flags &= ~TF_SONOTCONN; in tcp_do_segment()
2478 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2489 if (IS_FASTOPEN(tp->t_flags) && tp->t_tfo_pending) { in tcp_do_segment()
2493 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
2496 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2508 if (!IS_FASTOPEN(tp->t_flags)) in tcp_do_segment()
2517 if (SEQ_GT(th->th_ack, tp->snd_una) && !(tp->t_flags & TF_NEEDSYN)) in tcp_do_segment()
2552 (tp->t_flags & TF_LRD)) { in tcp_do_segment()
2571 (tp->t_flags & TF_SACK_PERMIT))) { in tcp_do_segment()
2629 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2633 IN_FASTRECOVERY(tp->t_flags) && in tcp_do_segment()
2634 (tp->t_flags & TF_SACK_PERMIT)) { in tcp_do_segment()
2637 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2662 (tp->t_flags & TF_SACK_PERMIT && in tcp_do_segment()
2686 (tp->t_flags & TF_SACK_PERMIT)) { in tcp_do_segment()
2687 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2786 if (avail > 0 || tp->t_flags & TF_ACKNOW) in tcp_do_segment()
2793 tp->t_flags & TF_SENTFIN), in tcp_do_segment()
2825 if (!IN_FASTRECOVERY(tp->t_flags) && in tcp_do_segment()
2843 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2844 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2852 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2860 } else if (IN_CONGRECOVERY(tp->t_flags) && in tcp_do_segment()
2877 if (tp->t_flags & TF_NEEDSYN) { in tcp_do_segment()
2885 tp->t_flags &= ~TF_NEEDSYN; in tcp_do_segment()
2888 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2922 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
3018 if (!IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
3023 if (IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
3027 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
3186 IS_FASTOPEN(tp->t_flags)); in tcp_do_segment()
3210 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3212 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3231 tp->t_flags |= TF_WAKESOR; in tcp_do_segment()
3242 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3244 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
3339 if (tp->t_flags & TF_NEEDSYN) in tcp_do_segment()
3340 tp->t_flags |= TF_DELACK; in tcp_do_segment()
3342 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3380 if (needoutput || (tp->t_flags & TF_ACKNOW)) in tcp_do_segment()
3386 if (tp->t_flags & TF_DELACK) { in tcp_do_segment()
3387 tp->t_flags &= ~TF_DELACK; in tcp_do_segment()
3417 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3968 tp->t_flags |= TF_TSO; in tcp_mss()
4031 (IN_CONGRECOVERY(tp->t_flags) && in tcp_do_prr_ack()
4032 !IN_FASTRECOVERY(tp->t_flags))) { in tcp_do_prr_ack()
4083 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_prr_ack()
4092 } else if (IN_CONGRECOVERY(tp->t_flags)) in tcp_do_prr_ack()
4120 tp->t_flags |= TF_ACKNOW; in tcp_newreno_partial_ack()