Lines Matching refs:ecn_flags
315 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
316 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
322 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
335 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
348 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
355 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
358 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
360 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
365 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
372 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
378 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || th->cwr)) in tcp_ecn_rcv_synack()
379 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_synack()
384 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || !th->cwr)) in tcp_ecn_rcv_syn()
385 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_syn()
390 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo()