Lines Matching refs:ecn_flags
336 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
337 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
343 tcp_sk(sk)->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
356 tp->ecn_flags &= ~TCP_ECN_QUEUE_CWR; in tcp_ecn_withdraw_cwr()
369 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
376 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
379 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
381 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
386 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
393 if (tcp_sk(sk)->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
399 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || th->cwr)) in tcp_ecn_rcv_synack()
400 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_synack()
405 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || !th->cwr)) in tcp_ecn_rcv_syn()
406 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_syn()
411 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo()