Lines Matching refs:ecn_flags
208 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_queue_cwr()
209 tp->ecn_flags |= TCP_ECN_QUEUE_CWR; in tcp_ecn_queue_cwr()
215 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_accept_cwr()
220 tp->ecn_flags &= ~TCP_ECN_DEMAND_CWR; in tcp_ecn_withdraw_cwr()
231 if (tp->ecn_flags & TCP_ECN_SEEN) in __tcp_ecn_check_ce()
238 if (!(tp->ecn_flags & TCP_ECN_DEMAND_CWR)) { in __tcp_ecn_check_ce()
241 tp->ecn_flags |= TCP_ECN_DEMAND_CWR; in __tcp_ecn_check_ce()
243 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
248 tp->ecn_flags |= TCP_ECN_SEEN; in __tcp_ecn_check_ce()
255 if (tp->ecn_flags & TCP_ECN_OK) in tcp_ecn_check_ce()
261 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || th->cwr)) in tcp_ecn_rcv_synack()
262 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_synack()
267 if ((tp->ecn_flags & TCP_ECN_OK) && (!th->ece || !th->cwr)) in tcp_ecn_rcv_syn()
268 tp->ecn_flags &= ~TCP_ECN_OK; in tcp_ecn_rcv_syn()
273 if (th->ece && !th->syn && (tp->ecn_flags & TCP_ECN_OK)) in tcp_ecn_rcv_ecn_echo()