Lines Matching refs:TH_ACK
415 if (th->th_flags & TH_ACK) { in tcp_dropwithreset()
420 tcp_respond(tp, instance, ip6, th, th->th_seq + tlen, (tcp_seq) 0, TH_RST | TH_ACK); in tcp_dropwithreset()
683 if (thflags & TH_ACK) { in tcp_input()
717 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input()
1212 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_do_segment()
1494 if ((thflags & TH_ACK) && in tcp_do_segment()
1499 …} else if (!IS_FASTOPEN(tp->t_flags) && (thflags & TH_SYN) && !(thflags & TH_ACK) && (th->th_seq =… in tcp_do_segment()
1513 if ((thflags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in tcp_do_segment()
1521 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment()
1542 if ((thflags & TH_ACK) && in tcp_do_segment()
1548 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment()
1558 if (thflags & TH_ACK) { in tcp_do_segment()
1663 if (thflags & TH_ACK) in tcp_do_segment()
1742 tcp_respond(tp, tp->instance, ip6, th, tp->rcv_nxt, tp->snd_nxt, TH_ACK); in tcp_do_segment()
1769 tcp_respond(tp, tp->instance, ip6, th, tp->rcv_nxt, tp->snd_nxt, TH_ACK); in tcp_do_segment()
1930 if ((thflags & TH_ACK) == 0) { in tcp_do_segment()
2495 if ((thflags & TH_ACK) && in tcp_do_segment()
2749 if (tp->t_state == TCPS_SYN_RECEIVED && (thflags & TH_ACK) && in tcp_do_segment()