Home
last modified time | relevance | path

Searched refs:thflags (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/sys/netinet/
H A Dtcp_ecn.c222 if (thflags & TH_ACK) in tcp_ecn_input_parallel_syn()
366 uint16_t thflags = 0; in tcp_ecn_output_syn_sent() local
369 return thflags; in tcp_ecn_output_syn_sent()
387 return thflags; in tcp_ecn_output_syn_sent()
425 *thflags |= TH_ECE; in tcp_ecn_output_established()
427 *thflags |= TH_CWR; in tcp_ecn_output_established()
429 *thflags |= TH_AE; in tcp_ecn_output_established()
445 *thflags |= TH_CWR; in tcp_ecn_output_established()
449 *thflags |= TH_ECE; in tcp_ecn_output_established()
601 return thflags; in tcp_ecn_syncache_respond()
[all …]
H A Dtcp_timewait.c162 int thflags; in tcp_twcheck() local
168 thflags = tcp_get_flags(th); in tcp_twcheck()
170 if ((thflags & (TH_SYN | TH_ACK)) == TH_SYN) in tcp_twcheck()
190 if (thflags & TH_RST) in tcp_twcheck()
201 if ((thflags & TH_ACK) == 0) in tcp_twcheck()
211 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { in tcp_twcheck()
228 if (((thflags & (TH_SYN | TH_ACK)) == TH_SYN) && in tcp_twcheck()
265 if ((thflags & TH_ACK) == 0) in tcp_twcheck()
284 if (thflags & TH_FIN) { in tcp_twcheck()
285 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck()
[all …]
H A Dtcp_input.c622 int thflags; in tcp_input_with_port() local
1523 uint16_t thflags; in tcp_do_segment() local
1557 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { in tcp_do_segment()
1590 if (thflags & TH_FIN) in tcp_do_segment()
2024 if (thflags & TH_RST) in tcp_do_segment()
2081 thflags &= ~TH_SYN; in tcp_do_segment()
2114 thflags &= ~TH_FIN; in tcp_do_segment()
2264 thflags &= ~TH_SYN; in tcp_do_segment()
2282 thflags &= ~TH_FIN; in tcp_do_segment()
2314 thflags &= ~TH_URG; in tcp_do_segment()
[all …]
H A Dtcp_subr.c1813 int thflags = tcp_get_flags(th); in tcp_respond() local
2187 KASSERT((thflags & (TH_ACK|TH_SYN)) == TH_SYN && in tcp_respond()
2192 __func__, thflags, PRINT_TH_FLAGS, in tcp_respond()
/freebsd-14.2/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c577 int32_t thflags; in _ctf_drop_checks() local
580 thflags = *thf; in _ctf_drop_checks()
584 if (thflags & TH_SYN) { in _ctf_drop_checks()
585 thflags &= ~TH_SYN; in _ctf_drop_checks()
590 thflags &= ~TH_URG; in _ctf_drop_checks()
603 thflags &= ~TH_FIN; in _ctf_drop_checks()
635 thflags &= ~TH_URG; in _ctf_drop_checks()
666 thflags &= ~(TH_PUSH | TH_FIN); in _ctf_drop_checks()
668 *thf = thflags; in _ctf_drop_checks()
852 int32_t tlen, int32_t thflags, int32_t * ret_val) in ctf_ts_check() argument
[all …]
H A Drack_bbr_common.h101 struct tcphdr *th, int32_t thflags, int32_t tlen,
123 struct tcpcb *tp, int32_t tlen, int32_t thflags, int32_t * ret_val);
126 ctf_ts_check_ac(struct tcpcb *tp, int32_t thflags);
H A Dbbr.c8355 thflags &= ~TH_FIN; in bbr_process_data()
8362 if (thflags & TH_FIN) { in bbr_process_data()
8784 if (thflags & TH_RST) { in bbr_do_syn_sent()
8794 if (thflags & TH_ACK) { in bbr_do_syn_sent()
8860 thflags &= ~TH_SYN; in bbr_do_syn_sent()
8888 thflags &= ~TH_FIN; in bbr_do_syn_sent()
8900 if (thflags & TH_ACK) { in bbr_do_syn_sent()
9090 if (thflags & TH_ACK) in bbr_do_syn_recv()
9235 if (thflags & TH_SYN) { in bbr_do_established()
11477 if (thflags & TH_FIN) in bbr_do_segment_nounlock()
[all …]
H A Drack.c12818 thflags &= ~TH_FIN; in rack_process_data()
12825 if (thflags & TH_FIN) { in rack_process_data()
13274 if (thflags & TH_RST) { in rack_do_syn_sent()
13285 if (thflags & TH_ACK) { in rack_do_syn_sent()
13347 thflags &= ~TH_SYN; in rack_do_syn_sent()
13375 thflags &= ~TH_FIN; in rack_do_syn_sent()
16748 if ((thflags & TH_FIN) || (thflags & TH_RST)) in rack_do_segment_nounlock()
16765 if (thflags & TH_ACK) in rack_do_segment_nounlock()
16924 if (thflags & TH_ACK) in rack_do_segment_nounlock()
16930 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) { in rack_do_segment_nounlock()
[all …]