Lines Matching refs:TH_FIN
1210 if ((thflags & TH_FIN) && V_drop_synfin) { in tcp_input_with_port()
1557 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { in tcp_do_segment()
1590 if (thflags & TH_FIN) in tcp_do_segment()
1751 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_do_segment()
1996 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment()
2114 thflags &= ~TH_FIN; in tcp_do_segment()
2276 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in tcp_do_segment()
2282 thflags &= ~TH_FIN; in tcp_do_segment()
2367 thflags &= ~(TH_PUSH|TH_FIN); in tcp_do_segment()
2391 ((thflags & (TH_SYN|TH_FIN)) != 0))) { in tcp_do_segment()
2523 if (tlen == 0 && (thflags & TH_FIN) == 0) { in tcp_do_segment()
2579 if ((thflags & TH_FIN) && in tcp_do_segment()
3187 if ((tlen || (thflags & TH_FIN) || (tfo_syn && tlen > 0)) && in tcp_do_segment()
3223 thflags = tcp_get_flags(th) & TH_FIN; in tcp_do_segment()
3293 if ((thflags & TH_FIN) != 0) { in tcp_do_segment()
3309 if ((thflags & TH_FIN) != 0) { in tcp_do_segment()
3321 thflags &= ~TH_FIN; in tcp_do_segment()
3328 if (thflags & TH_FIN) { in tcp_do_segment()
3499 if (tcp_get_flags(th) & TH_FIN) in tcp_dropwithreset()