Lines Matching refs:TH_SYN
238 flags |= TH_SYN; in tcp_output()
338 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_output()
340 flags &= ~TH_SYN; in tcp_output()
347 flags &= ~TH_SYN; in tcp_output()
356 if ((flags & TH_SYN) && (tp->t_flags & TF_NOOPT)) { in tcp_output()
379 (((flags & TH_SYN) && (tp->t_rxtshift > 0)) || in tcp_output()
638 ((flags & TH_SYN) && (tp->t_flags & TF_NEEDSYN) == 0)) in tcp_output()
732 if (flags & TH_SYN) { in tcp_output()
771 if ((flags & TH_SYN) && (tp->t_flags & TF_REQ_SCALE)) { in tcp_output()
777 ((flags & TH_SYN) && (tp->t_flags & TF_REQ_TSTMP))) { in tcp_output()
790 if (flags & TH_SYN) in tcp_output()
930 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_output()
1104 if (len || (flags & (TH_SYN|TH_FIN)) || in tcp_output()
1152 if (flags & TH_SYN) in tcp_output()
1229 if (flags & (TH_SYN|TH_FIN)) { in tcp_output()
1230 if (flags & TH_SYN) in tcp_output()
1304 if (flags & TH_SYN) in tcp_output()
1331 ((flags & TH_SYN) == 0) && in tcp_output()