Lines Matching refs:ecn_flags
337 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
338 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
344 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
357 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
370 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
377 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
380 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
382 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
387 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
394 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
400 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || th->cwr)) in tcp_ecn_rcv_synack()
401 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_synack()
406 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || !th->cwr)) in tcp_ecn_rcv_syn()
407 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_syn()
412 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo()