Lines Matching refs:ecn_flags
212 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
213 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
219 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
224 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_withdraw_cwr()
235 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
242 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
245 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
247 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
252 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
259 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
265 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || th->cwr)) in tcp_ecn_rcv_synack()
266 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_synack()
271 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || !th->cwr)) in tcp_ecn_rcv_syn()
272 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_syn()
277 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo()