Lines Matching refs:TH_CWR
129 if ((thflags & (TH_CWR | TH_ECE)) == (0 | TH_ECE)) { in tcp_ecn_input_syn_sent()
148 switch (thflags & (TH_AE | TH_CWR | TH_ECE)) { in tcp_ecn_input_syn_sent()
156 case (0|TH_CWR|0): in tcp_ecn_input_syn_sent()
172 case (0|TH_CWR|TH_ECE): in tcp_ecn_input_syn_sent()
180 case (TH_AE|TH_CWR|0): in tcp_ecn_input_syn_sent()
237 if ((thflags & (TH_CWR | TH_ECE)) == (TH_CWR | TH_ECE)) { in tcp_ecn_input_parallel_syn()
248 switch (thflags & (TH_AE | TH_CWR | TH_ECE)) { in tcp_ecn_input_parallel_syn()
253 case (0|TH_CWR|TH_ECE): in tcp_ecn_input_parallel_syn()
259 case (TH_AE|TH_CWR|TH_ECE): in tcp_ecn_input_parallel_syn()
355 if (thflags & TH_CWR) { in tcp_ecn_input_segment()
384 thflags = TH_ECE|TH_CWR; in tcp_ecn_output_syn_sent()
386 thflags = TH_ECE|TH_CWR; in tcp_ecn_output_syn_sent()
391 thflags = TH_ECE|TH_CWR|TH_AE; in tcp_ecn_output_syn_sent()
393 thflags = TH_ECE|TH_CWR|TH_AE; in tcp_ecn_output_syn_sent()
448 *thflags |= TH_CWR; in tcp_ecn_output_established()
509 switch (thflags & (TH_AE|TH_CWR|TH_ECE)) { in tcp_ecn_syncache_add()
514 case (0|TH_CWR|TH_ECE): in tcp_ecn_syncache_add()
518 case (TH_AE|TH_CWR|TH_ECE): in tcp_ecn_syncache_add()
577 thflags |= (0 | TH_CWR | 0); in tcp_ecn_syncache_respond()
587 thflags |= (0 | TH_ECE | TH_CWR); in tcp_ecn_syncache_respond()
592 thflags |= (TH_AE | TH_CWR | 0); in tcp_ecn_syncache_respond()
604 return ((thflags & (TH_AE|TH_CWR|TH_ECE)) >> TH_ACE_SHIFT); in tcp_ecn_get_ace()
610 *thflags &= ~(TH_AE|TH_CWR|TH_ECE); in tcp_ecn_set_ace()
611 *thflags |= ((t_rcep << TH_ACE_SHIFT) & (TH_AE|TH_CWR|TH_ECE)); in tcp_ecn_set_ace()