Lines Matching refs:t_flags
228 if (!IN_FASTRECOVERY(tp->t_flags)) { in cc_cong_signal()
230 if (tp->t_flags & TF_ECN_PERMIT) in cc_cong_signal()
231 tp->t_flags |= TF_ECN_SND_CWR; in cc_cong_signal()
235 if (!IN_CONGRECOVERY(tp->t_flags)) { in cc_cong_signal()
237 if (tp->t_flags & TF_ECN_PERMIT) in cc_cong_signal()
238 tp->t_flags |= TF_ECN_SND_CWR; in cc_cong_signal()
244 EXIT_RECOVERY(tp->t_flags); in cc_cong_signal()
271 if (tp->t_flags & TF_WASFRECOVERY) in cc_cong_signal()
272 ENTER_FASTRECOVERY(tp->t_flags); in cc_cong_signal()
273 if (tp->t_flags & TF_WASCRECOVERY) in cc_cong_signal()
274 ENTER_CONGRECOVERY(tp->t_flags); in cc_cong_signal()
276 tp->t_flags &= ~TF_PREVVALID; in cc_cong_signal()
319 (tp->t_flags & TF_RXWIN0SENT) == 0) && \
321 (V_tcp_delack_enabled || (tp->t_flags & TF_NEEDSYN)))
346 if (tp->t_flags & TF_DELACK) in cc_ecnpkt_handler()
865 tp->t_flags = tp->t_flags & (TF_NOPUSH | TF_NODELAY | TF_NOOPT); in tcp_input()
870 if (!(tp->t_flags & TF_NOOPT) && V_tcp_do_rfc1323) { in tcp_input()
908 tp->t_flags |= TF_REQ_SCALE|TF_RCVD_SCALE; in tcp_input()
913 tp->t_flags |= TF_REQ_TSTMP|TF_RCVD_TSTMP; in tcp_input()
927 tp->t_flags |= TF_SIGNATURE; in tcp_input()
931 tp->t_flags |= TF_SACK_PERMIT; in tcp_input()
934 tp->t_flags |= TF_ECN_PERMIT; in tcp_input()
948 tp->t_flags |= TF_FASTOPEN; in tcp_input()
959 tp->t_flags |= TF_ACKNOW; // samkumar: my addition in tcp_input()
1079 if (tp->t_flags & TF_ECN_PERMIT) { in tcp_do_segment()
1081 tp->t_flags &= ~TF_ECN_SND_ECE; in tcp_do_segment()
1084 tp->t_flags |= TF_ECN_SND_ECE; in tcp_do_segment()
1127 if ((tp->t_flags & TF_RCVD_TSTMP) && !(to.to_flags & TOF_TS)) { in tcp_do_segment()
1132 if (!(tp->t_flags & TF_RCVD_TSTMP) && (to.to_flags & TOF_TS)) { in tcp_do_segment()
1147 (tp->t_flags & TF_REQ_SCALE)) { in tcp_do_segment()
1148 tp->t_flags |= TF_RCVD_SCALE; in tcp_do_segment()
1157 tp->t_flags |= TF_RCVD_TSTMP; in tcp_do_segment()
1163 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
1165 tp->t_flags &= ~TF_SACK_PERMIT; in tcp_do_segment()
1169 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
1215 ((tp->t_flags & (TF_NEEDSYN|TF_NEEDFIN)) == 0) && in tcp_do_segment()
1235 !IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
1246 tp->t_flags & TF_PREVVALID && in tcp_do_segment()
1354 if ((tp->t_flags & TF_SACK_PERMIT) && tp->rcv_numsacks) in tcp_do_segment()
1456 tp->t_flags |= TF_DELACK; in tcp_do_segment()
1458 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1499 …} else if (!IS_FASTOPEN(tp->t_flags) && (thflags & TH_SYN) && !(thflags & TH_ACK) && (th->th_seq =… in tcp_do_segment()
1500 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1505 if (IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
1567 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
1578 if (IS_FASTOPEN(tp->t_flags) && in tcp_do_segment()
1591 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1594 tp->t_flags |= TF_ECN_PERMIT; in tcp_do_segment()
1604 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
1606 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
1625 tp->t_flags |= (TF_ACKNOW | TF_NEEDSYN); in tcp_do_segment()
1841 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1881 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
1932 (tp->t_flags & TF_NEEDSYN)) { in tcp_do_segment()
1934 IS_FASTOPEN(tp->t_flags)) { in tcp_do_segment()
1939 } else if (tp->t_flags & TF_ACKNOW) in tcp_do_segment()
1963 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
1977 if (IS_FASTOPEN(tp->t_flags)/* && tp->t_tfo_pending */) {\ in tcp_do_segment()
1989 if (tp->t_flags & TF_NEEDFIN) { in tcp_do_segment()
1991 tp->t_flags &= ~TF_NEEDFIN; in tcp_do_segment()
2003 if (!IS_FASTOPEN(tp->t_flags)) in tcp_do_segment()
2014 tp->t_flags &= ~TF_ACKNOW; in tcp_do_segment()
2057 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
2108 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2110 if ((tp->t_flags & TF_SACK_PERMIT) && in tcp_do_segment()
2111 IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2144 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2145 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2165 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2240 tp->t_flags & TF_SENTFIN), in tcp_do_segment()
2264 if (IN_FASTRECOVERY(tp->t_flags)) { in tcp_do_segment()
2266 if (tp->t_flags & TF_SACK_PERMIT) in tcp_do_segment()
2279 if (tp->t_flags & TF_NEEDSYN) { in tcp_do_segment()
2287 tp->t_flags &= ~TF_NEEDSYN; in tcp_do_segment()
2290 if ((tp->t_flags & (TF_RCVD_SCALE|TF_REQ_SCALE)) == in tcp_do_segment()
2308 if (tp->t_rxtshift == 1 && tp->t_flags & TF_PREVVALID && in tcp_do_segment()
2399 if (!IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
2404 if (IN_RECOVERY(tp->t_flags) && in tcp_do_segment()
2406 EXIT_RECOVERY(tp->t_flags); in tcp_do_segment()
2409 if (tp->t_flags & TF_SACK_PERMIT) { in tcp_do_segment()
2467 tp->t_flags &= ~TF_ACKNOW; in tcp_do_segment()
2542 IS_FASTOPEN(tp->t_flags)); in tcp_do_segment()
2574 tp->t_flags |= TF_DELACK; in tcp_do_segment()
2576 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2628 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2631 if (tlen > 0 && (tp->t_flags & TF_SACK_PERMIT)) in tcp_do_segment()
2669 if (tp->t_flags & TF_NEEDSYN) in tcp_do_segment()
2670 tp->t_flags |= TF_DELACK; in tcp_do_segment()
2672 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
2723 if (needoutput || (tp->t_flags & TF_ACKNOW)) in tcp_do_segment()
2727 if (tp->t_flags & TF_DELACK) { in tcp_do_segment()
2728 tp->t_flags &= ~TF_DELACK; in tcp_do_segment()
2756 tp->t_flags |= TF_ACKNOW; in tcp_do_segment()
3136 if ((tp->t_flags & (TF_REQ_TSTMP|TF_NOOPT)) == TF_REQ_TSTMP && in tcp_mss_update()
3138 (tp->t_flags & TF_RCVD_TSTMP) == TF_RCVD_TSTMP)) in tcp_mss_update()
3257 tp->t_flags |= TF_ACKNOW; in tcp_newreno_partial_ack()