Home
last modified time | relevance | path

Searched refs:t_flags2 (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/netinet/
H A Dtcp_ecn.c129 tp->t_flags2 |= TF2_ECN_PERMIT; in tcp_ecn_input_syn_sent()
130 tp->t_flags2 &= ~TF2_ACE_PERMIT; in tcp_ecn_input_syn_sent()
150 tp->t_flags2 |= TF2_ECN_PERMIT; in tcp_ecn_input_syn_sent()
151 tp->t_flags2 &= ~TF2_ACE_PERMIT; in tcp_ecn_input_syn_sent()
156 tp->t_flags2 |= TF2_ACE_PERMIT; in tcp_ecn_input_syn_sent()
157 tp->t_flags2 &= ~TF2_ECN_PERMIT; in tcp_ecn_input_syn_sent()
164 tp->t_flags2 |= TF2_ACE_PERMIT; in tcp_ecn_input_syn_sent()
165 tp->t_flags2 &= ~TF2_ECN_PERMIT; in tcp_ecn_input_syn_sent()
172 tp->t_flags2 |= TF2_ACE_PERMIT; in tcp_ecn_input_syn_sent()
173 tp->t_flags2 &= ~TF2_ECN_PERMIT; in tcp_ecn_input_syn_sent()
[all …]
H A Dtcp_hpts_test.c171 KTEST_LOG(ctx, " t_flags2: 0x%x", tp->t_flags2); in dump_tcpcb()
172 KTEST_LOG(ctx, " TF2_HPTS_CPU_SET: %s", (tp->t_flags2 & TF2_HPTS_CPU_SET) ? "YES" : "NO"); in dump_tcpcb()
173 KTEST_LOG(ctx, " TF2_HPTS_CALLS: %s", (tp->t_flags2 & TF2_HPTS_CALLS) ? "YES" : "NO"); in dump_tcpcb()
174 KTEST_LOG(ctx, " TF2_SUPPORTS_MBUFQ: %s", (tp->t_flags2 & TF2_SUPPORTS_MBUFQ) ? "YES" : "NO"); in dump_tcpcb()
579 KTEST_EQUAL((tp->t_flags2 & (TF2_HPTS_CPU_SET | TF2_HPTS_CALLS)), 0); in KTEST_FUNC()
618 KTEST_EQUAL((tp->t_flags2 & TF2_HPTS_CALLS), 0); in KTEST_FUNC()
621 tp->t_flags2 |= TF2_HPTS_CALLS; in KTEST_FUNC()
685 tp->t_flags2 |= TF2_HPTS_CALLS; /* Mark as needing HPTS processing */ in KTEST_FUNC()
812 tcpcbs[i]->t_flags2 |= TF2_HPTS_CALLS; in KTEST_FUNC()
886 tcpcbs[i]->t_flags2 |= TF2_HPTS_CALLS; in KTEST_FUNC()
[all …]
H A Dtcp_timer.c682 if (((tp->t_flags2 & (TF2_PLPMTU_PMTUD|TF2_PLPMTU_MAXSEGSNT)) == in tcp_timer_rexmt()
693 if ((tp->t_flags2 & TF2_PLPMTU_BLACKHOLE) == 0) { in tcp_timer_rexmt()
695 tp->t_flags2 |= TF2_PLPMTU_BLACKHOLE; in tcp_timer_rexmt()
718 tp->t_flags2 &= ~TF2_PLPMTU_PMTUD; in tcp_timer_rexmt()
738 tp->t_flags2 &= ~TF2_PLPMTU_PMTUD; in tcp_timer_rexmt()
755 if ((tp->t_flags2 & TF2_PLPMTU_BLACKHOLE) && in tcp_timer_rexmt()
757 tp->t_flags2 |= TF2_PLPMTU_PMTUD; in tcp_timer_rexmt()
758 tp->t_flags2 &= ~TF2_PLPMTU_BLACKHOLE; in tcp_timer_rexmt()
766 tp->t_flags2 |= TF2_PROC_SACK_PROHIBIT; in tcp_timer_rexmt()
768 tp->t_flags2 &= ~TF2_PROC_SACK_PROHIBIT; in tcp_timer_rexmt()
H A Dtcp_lro_hpts.c226 tp->t_flags2 |= TF2_MBUF_L_ACKS; in tcp_lro_get_last_if_ackcmp()
234 if (tp->t_flags2 & TF2_MBUF_L_ACKS) in tcp_lro_get_last_if_ackcmp()
377 ((tp->t_flags2 & TF2_DONT_SACK_QUEUE) == 0)) { in do_bpf_strip_and_compress()
392 if ((tp->t_flags2 & TF2_MBUF_ACKCMP) == 0) in do_bpf_strip_and_compress()
439 tp->t_flags2 |= TF2_MBUF_L_ACKS; in do_bpf_strip_and_compress()
581 if ((tp->t_flags2 & (TF2_SUPPORTS_MBUFQ | TF2_MBUF_ACKCMP)) == 0) { in _tcp_lro_flush_tcphpts()
586 if (tp->t_flags2 & TF2_MBUF_QUEUE_READY) in _tcp_lro_flush_tcphpts()
649 tcp_lro_log(tp, lc, le, NULL, 22, 1, tp->t_flags2, 0, 1);
H A Dtcp_output.c562 (tp->t_flags2 & TF2_IPSEC_TSO) != 0)) && in tcp_default_output()
763 tp->t_flags2 |= TF2_PLPMTU_MAXSEGSNT; in tcp_default_output()
765 tp->t_flags2 &= ~TF2_PLPMTU_MAXSEGSNT; in tcp_default_output()
1205 (tp->t_flags2 & (TF2_ECN_PERMIT | TF2_ACE_PERMIT))) { in tcp_default_output()
1208 (tp->t_flags2 & TF2_ECN_SND_ECE)) in tcp_default_output()
1209 tp->t_flags2 &= ~TF2_ECN_SND_ECE; in tcp_default_output()
1456 tp->t_flags2 |= TF2_PLPMTU_PMTUD; in tcp_default_output()
1458 tp->t_flags2 &= ~TF2_PLPMTU_PMTUD; in tcp_default_output()
1494 tp->t_flags2 |= TF2_PLPMTU_PMTUD; in tcp_default_output()
1499 tp->t_flags2 &= ~TF2_PLPMTU_PMTUD; in tcp_default_output()
H A Dtcp_input.c427 if (tp->t_flags2 & TF2_ECN_PERMIT) in cc_cong_signal()
428 tp->t_flags2 |= TF2_ECN_SND_CWR; in cc_cong_signal()
441 if (tp->t_flags2 & TF2_ECN_PERMIT) in cc_cong_signal()
442 tp->t_flags2 |= TF2_ECN_SND_CWR; in cc_cong_signal()
449 if (tp->t_flags2 & TF2_ECN_PERMIT) in cc_cong_signal()
450 tp->t_flags2 |= TF2_ECN_SND_CWR; in cc_cong_signal()
1571 if (tp->t_flags2 & TF2_PROC_SACK_PROHIBIT) { in tcp_do_segment()
1869 ((tp->t_flags2 & TF2_FBYTES_COMPLETE) == 0) && in tcp_do_segment()
1875 tp->t_flags2 |= TF2_FBYTES_COMPLETE; in tcp_do_segment()
2386 tp->t_flags2 |= TF2_NO_ISS_CHECK; in tcp_do_segment()
[all …]
H A Dtcp_hpts.c580 MPASS(!(tp->t_flags2 & TF2_HPTS_CPU_SET)); in __tcp_hpts_init()
1010 if (tp->t_flags2 & TF2_HPTS_CPU_SET) { in hpts_cpuid()
1285 if ((tp->t_flags2 & TF2_HPTS_CPU_SET) == 0) { in tcp_hptsi()
1396 tp->t_flags2 |= TF2_HPTS_CALLS; in tcp_hptsi()
1397 if ((tp->t_flags2 & TF2_SUPPORTS_MBUFQ) && in tcp_hptsi()
1524 if (tp->t_in_hpts == IHPTS_NONE && !(tp->t_flags2 & TF2_HPTS_CPU_SET)) { in __tcp_set_hpts()
1527 tp->t_flags2 |= TF2_HPTS_CPU_SET; in __tcp_set_hpts()
H A Dsiftr.c179 uint32_t t_flags2; member
422 pkt_node->t_flags2, in siftr_process_pkt()
681 pn->t_flags2 = tp->t_flags2; in siftr_siftdata()
H A Dtcp_subr.c3599 tp->t_flags2 |= TF2_PROC_SACK_PROHIBIT; in tcp_mtudisc()
3601 tp->t_flags2 &= ~TF2_PROC_SACK_PROHIBIT; in tcp_mtudisc()
3748 tp->t_flags2 |= TF2_PROC_SACK_PROHIBIT; in tcp6_use_min_mtu()
3750 tp->t_flags2 &= ~TF2_PROC_SACK_PROHIBIT; in tcp6_use_min_mtu()
4246 xt->xt_ecn = (tp->t_flags2 & TF2_ECN_PERMIT) ? 1 : 0 + in tcp_inptoxtp()
4247 (tp->t_flags2 & TF2_ACE_PERMIT) ? 2 : 0; in tcp_inptoxtp()
4402 if (tp->t_flags2 & TF2_TCP_ACCOUNTING) { in tcp_do_ack_accounting()
4407 if (tp->t_flags2 & TF2_TCP_ACCOUNTING) { in tcp_do_ack_accounting()
4415 if (tp->t_flags2 & TF2_TCP_ACCOUNTING) { in tcp_do_ack_accounting()
4420 if (tp->t_flags2 & TF2_TCP_ACCOUNTING) { in tcp_do_ack_accounting()
[all …]
H A Dtcp_usrreq.c1115 ((tp->t_flags2 & TF2_FBYTES_COMPLETE) == 0) && in tcp_usr_send()
1122 tp->t_flags2 |= TF2_FBYTES_COMPLETE; in tcp_usr_send()
1585 switch (tp->t_flags2 & (TF2_ECN_PERMIT | TF2_ACE_PERMIT)) { in tcp_fill_info()
1636 if ((tp->t_flags2 & (TF2_ECN_PERMIT | TF2_ACE_PERMIT)) == in tcp_fill_info()
2211 tp->t_flags2 |= TF2_PROC_SACK_PROHIBIT; in tcp_default_ctloutput()
2213 tp->t_flags2 &= ~TF2_PROC_SACK_PROHIBIT; in tcp_default_ctloutput()
2877 db_printf("t_flags2: 0x%b\n", tp->t_flags2, TF2_BITS); in db_print_tcpcb()
H A Dtcp_log_buf.c1307 tp->t_flags2 |= TF2_LOG_AUTO; in tcp_log_tcpcbinit()
1452 if (tp->t_flags2 & TF2_TCP_ACCOUNTING) { in tcp_log_tcpcbfini()
1746 if (tp->t_lib == NULL && (tp->t_flags2 & TF2_LOG_AUTO) && in tcp_log_event()
1868 log_buf->tlb_flags2 = tp->t_flags2; in tcp_log_event()
1974 tp->t_flags2 &= ~(TF2_LOG_AUTO); in tcp_log_state_change()
2386 if (tp->t_lib == NULL && (tp->t_flags2 & TF2_LOG_AUTO) && in tcp_log_dump_tp_logbuf()
H A Dtcp_var.h364 u_int t_flags2; /* More tcpcb flags storage */ member
1592 tp->t_flags2 &= ~(TF2_SUPPORTS_MBUFQ| in tcp_lro_features_off()
H A Dtcp_syncache.c1001 ((sototcpcb(lso)->t_flags2 & TF2_LOG_AUTO) == 0) && in syncache_socket()
1758 if (V_tcp_do_ecn && (tp->t_flags2 & TF2_CANNOT_DO_ECN) == 0) in syncache_add()
/freebsd/sys/netinet/cc/
H A Dcc_dctcp.c115 if (CCV(ccv, t_flags2) & TF2_ECN_PERMIT) { in dctcp_ack_received()
178 if (CCV(ccv, t_flags2) & TF2_ECN_PERMIT) { in dctcp_after_idle()
246 if (CCV(ccv, t_flags2) & TF2_ECN_PERMIT) { in dctcp_cong_signal()
320 if (CCV(ccv, t_flags2) & TF2_ECN_PERMIT) { in dctcp_conn_init()
323 CCV(ccv, t_flags2) |= TF2_ECN_USE_ECT1; in dctcp_conn_init()
335 if (CCV(ccv, t_flags2) & TF2_ECN_PERMIT) in dctcp_post_recovery()
362 CCV(ccv, t_flags2) |= TF2_ECN_SND_ECE; in dctcp_ecnpkt_handler()
368 CCV(ccv, t_flags2) &= ~TF2_ECN_SND_ECE; in dctcp_ecnpkt_handler()
/freebsd/cddl/lib/libdtrace/
H A Dsiftr.d53 uint32_t t_flags2; member
90 t_flags2 = p == NULL ? 0 : p->t_flags2;
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c2610 log.u_bbr.applimited = rack->rc_tp->t_flags2; in rack_log_to_start()
5602 if (tp->t_flags2 & TF2_ECN_PERMIT) in rack_cong_signal()
5603 tp->t_flags2 |= TF2_ECN_SND_CWR; in rack_cong_signal()
5617 if (tp->t_flags2 & TF2_ECN_PERMIT) in rack_cong_signal()
5618 tp->t_flags2 |= TF2_ECN_SND_CWR; in rack_cong_signal()
5636 if (tp->t_flags2 & TF2_ECN_PERMIT) in rack_cong_signal()
5637 tp->t_flags2 |= TF2_ECN_SND_CWR; in rack_cong_signal()
6618 tp->t_flags2 &= ~(TF2_DONT_SACK_QUEUE|TF2_MBUF_QUEUE_READY); in rack_start_hpts_timer()
6630 tp->t_flags2 |= TF2_MBUF_QUEUE_READY; in rack_start_hpts_timer()
6639 tp->t_flags2 |= TF2_DONT_SACK_QUEUE; in rack_start_hpts_timer()
[all …]
H A Dbbr.c890 bbr->rc_tp->t_flags2 |= TF2_MBUF_QUEUE_READY; in bbr_start_hpts_timer()
898 tp->t_flags2 |= TF2_DONT_SACK_QUEUE; in bbr_start_hpts_timer()
900 tp->t_flags2 &= ~TF2_DONT_SACK_QUEUE; in bbr_start_hpts_timer()
929 tp->t_flags2 |= (TF2_MBUF_QUEUE_READY | in bbr_start_hpts_timer()
933 tp->t_flags2 &= ~(TF2_MBUF_QUEUE_READY | in bbr_start_hpts_timer()
2484 log.u_bbr.pkts_out = bbr->rc_tp->t_flags2; in bbr_log_to_start()
5046 if (((tp->t_flags2 & (TF2_PLPMTU_PMTUD | TF2_PLPMTU_MAXSEGSNT)) == in bbr_timeout_rxt()
5056 if ((tp->t_flags2 & TF2_PLPMTU_BLACKHOLE) == 0) { in bbr_timeout_rxt()
5061 tp->t_flags2 |= TF2_PLPMTU_BLACKHOLE; in bbr_timeout_rxt()
5083 tp->t_flags2 &= ~TF2_PLPMTU_PMTUD; in bbr_timeout_rxt()
[all …]
H A Drack_bbr_common.c429 KASSERT((tp->t_flags2 & TF2_MBUF_ACKCMP), in ctf_process_inbound_raw()
/freebsd/sys/netipsec/
H A Dipsec_offload.c931 tp->t_flags2 |= TF2_IPSEC_TSO; in ipsec_accel_output()
933 tp->t_flags2 &= ~TF2_IPSEC_TSO; in ipsec_accel_output()