Lines Matching refs:ecn_flags
244 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
245 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
251 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
263 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_withdraw_cwr()
276 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
283 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
286 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
288 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
293 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
300 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
306 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || th->cwr)) in tcp_ecn_rcv_synack()
307 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_synack()
312 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || !th->cwr)) in tcp_ecn_rcv_syn()
313 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_syn()
318 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo()