Searched refs:thflags (Results 1 – 6 of 6) sorted by relevance
515 int32_t thflags; in ctf_drop_checks() local518 thflags = *thf; in ctf_drop_checks()522 if (thflags & TH_SYN) { in ctf_drop_checks()523 thflags &= ~TH_SYN; in ctf_drop_checks()528 thflags &= ~TH_URG; in ctf_drop_checks()535 || (todrop == tlen && (thflags & TH_FIN) == 0)) { in ctf_drop_checks()541 thflags &= ~TH_FIN; in ctf_drop_checks()572 thflags &= ~TH_URG; in ctf_drop_checks()603 thflags &= ~(TH_PUSH | TH_FIN); in ctf_drop_checks()605 *thf = thflags; in ctf_drop_checks()[all …]
8729 thflags &= ~TH_FIN; in rack_process_data()8736 if (thflags & TH_FIN) { in rack_process_data()9198 if (thflags & TH_RST) { in rack_do_syn_sent()9209 if (thflags & TH_ACK) { in rack_do_syn_sent()9274 thflags &= ~TH_SYN; in rack_do_syn_sent()9303 thflags &= ~TH_FIN; in rack_do_syn_sent()9315 if (thflags & TH_ACK) { in rack_do_syn_sent()9615 if (thflags & TH_SYN) { in rack_do_established()9710 if (thflags & TH_SYN) { in rack_do_close_wait()10861 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { in rack_do_segment_nounlock()[all …]
106 struct tcphdr *th, int32_t thflags, int32_t tlen, int32_t * ret_val);123 struct tcpcb *tp, int32_t tlen, int32_t thflags, int32_t * ret_val);
8412 thflags &= ~TH_FIN; in bbr_process_data()8419 if (thflags & TH_FIN) { in bbr_process_data()8873 if (thflags & TH_RST) { in bbr_do_syn_sent()8883 if (thflags & TH_ACK) { in bbr_do_syn_sent()8949 thflags &= ~TH_SYN; in bbr_do_syn_sent()8978 thflags &= ~TH_FIN; in bbr_do_syn_sent()8990 if (thflags & TH_ACK) { in bbr_do_syn_sent()9176 if (thflags & TH_ACK) in bbr_do_syn_recv()9313 if (thflags & TH_SYN) { in bbr_do_established()11580 if (thflags & TH_FIN) in bbr_do_segment_nounlock()[all …]
630 int thflags; in tcp_input() local803 thflags = th->th_flags; in tcp_input()1541 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { in tcp_do_segment()2010 if (thflags & TH_RST) in tcp_do_segment()2068 thflags &= ~TH_SYN; in tcp_do_segment()2103 thflags &= ~TH_FIN; in tcp_do_segment()2116 if (thflags & TH_ACK) in tcp_do_segment()2265 thflags &= ~TH_SYN; in tcp_do_segment()2283 thflags &= ~TH_FIN; in tcp_do_segment()2315 thflags &= ~TH_URG; in tcp_do_segment()[all …]
384 int thflags; in tcp_twcheck() local400 thflags = th->th_flags; in tcp_twcheck()401 KASSERT(to != NULL || (thflags & (TH_SYN | TH_ACK)) == TH_SYN, in tcp_twcheck()414 if (thflags & TH_RST) in tcp_twcheck()425 if ((thflags & TH_ACK) == 0) in tcp_twcheck()440 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) { in tcp_twcheck()448 if ((thflags & TH_ACK) == 0) in tcp_twcheck()465 if (thflags & TH_FIN) { in tcp_twcheck()466 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck()474 if (thflags != TH_ACK || tlen != 0 || in tcp_twcheck()