Lines Matching refs:ecn_flags
314 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
315 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
321 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
334 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
347 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
354 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
357 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
359 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
364 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
371 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
377 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || th->cwr)) in tcp_ecn_rcv_synack()
378 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_synack()
383 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || !th->cwr)) in tcp_ecn_rcv_syn()
384 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_syn()
389 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo()