Lines Matching refs:TH_FIN
1218 if ((thflags & TH_FIN) && V_drop_synfin) { in tcp_input_with_port()
1556 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { in tcp_do_segment()
1589 if (thflags & TH_FIN) in tcp_do_segment()
1760 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_do_segment()
2009 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment()
2127 thflags &= ~TH_FIN; in tcp_do_segment()
2289 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in tcp_do_segment()
2295 thflags &= ~TH_FIN; in tcp_do_segment()
2380 thflags &= ~(TH_PUSH|TH_FIN); in tcp_do_segment()
2404 ((thflags & (TH_SYN|TH_FIN)) != 0))) { in tcp_do_segment()
2536 if (tlen == 0 && (thflags & TH_FIN) == 0) { in tcp_do_segment()
2592 if ((thflags & TH_FIN) && in tcp_do_segment()
3222 if ((tlen || (thflags & TH_FIN) || (tfo_syn && tlen > 0)) && in tcp_do_segment()
3258 thflags = tcp_get_flags(th) & TH_FIN; in tcp_do_segment()
3328 if ((thflags & TH_FIN) != 0) { in tcp_do_segment()
3344 if ((thflags & TH_FIN) != 0) { in tcp_do_segment()
3356 thflags &= ~TH_FIN; in tcp_do_segment()
3363 if (thflags & TH_FIN) { in tcp_do_segment()
3534 if (tcp_get_flags(th) & TH_FIN) in tcp_dropwithreset()