Home
last modified time | relevance | path

Searched refs:t_fb (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/netinet/
H A Dtcp_subr.c501 KASSERT(tp->t_fb != &tcp_def_funcblk, in tcp_switch_back_to_default()
504 if (tp->t_fb->tfb_tcp_timer_stop_all != NULL) in tcp_switch_back_to_default()
505 tp->t_fb->tfb_tcp_timer_stop_all(tp); in tcp_switch_back_to_default()
514 if (tfb == tp->t_fb) { in tcp_switch_back_to_default()
529 if (tp->t_fb->tfb_tcp_fb_fini != NULL) in tcp_switch_back_to_default()
530 (*tp->t_fb->tfb_tcp_fb_fini)(tp, 0); in tcp_switch_back_to_default()
531 refcount_release(&tp->t_fb->tfb_refcnt); in tcp_switch_back_to_default()
533 tp->t_fb = tfb; in tcp_switch_back_to_default()
563 if (tp->t_fb->tfb_tcp_fb_fini != NULL) in tcp_switch_back_to_default()
564 (*tp->t_fb->tfb_tcp_fb_fini)(tp, 0); in tcp_switch_back_to_default()
[all …]
H A Dtcp_var.h310 #define t_start_zero t_fb
313 struct tcp_function_block *t_fb;/* TCP function call block */ member
662 rv = tp->t_fb->tfb_tcp_output(tp); in tcp_output()
664 KASSERT(tp->t_fb->tfb_flags & TCP_FUNC_OUTPUT_CANDROP, in tcp_output()
666 tp->t_fb->tfb_tcp_block_name, tp)); in tcp_output()
688 rv = tp->t_fb->tfb_tcp_output(tp); in tcp_output_unlock()
690 KASSERT(tp->t_fb->tfb_flags & TCP_FUNC_OUTPUT_CANDROP, in tcp_output_unlock()
692 tp->t_fb->tfb_tcp_block_name, tp)); in tcp_output_unlock()
720 rv = tp->t_fb->tfb_tcp_output(tp); in tcp_output_nodrop()
721 KASSERT(rv >= 0 || tp->t_fb->tfb_flags & TCP_FUNC_OUTPUT_CANDROP, in tcp_output_nodrop()
[all …]
H A Dtcp_usrreq.c519 ", error code %d", tp->t_fb->tfb_tcp_block_name, tp, -error)); in tcp_usr_connect()
641 ", error code %d", tp->t_fb->tfb_tcp_block_name, tp, -error)); in tcp6_usr_connect()
1296 if (tp->t_fb->tfb_pru_options) { in tcp_pru_options_support()
1297 ret = (*tp->t_fb->tfb_pru_options)(tp, flags); in tcp_pru_options_support()
1690 if (tp->t_fb == blk) { in tcp_ctloutput_set()
1711 if (tp->t_fb->tfb_tcp_timer_stop_all != NULL) in tcp_ctloutput_set()
1712 tp->t_fb->tfb_tcp_timer_stop_all(tp); in tcp_ctloutput_set()
1729 if (tp->t_fb->tfb_switch_failed) { in tcp_ctloutput_set()
1730 (*tp->t_fb->tfb_switch_failed)(tp); in tcp_ctloutput_set()
1735 if (tp->t_fb->tfb_tcp_fb_fini) { in tcp_ctloutput_set()
[all …]
H A Dtcp_timer.c297 if ((rv = tp->t_fb->tfb_tcp_output(tp)) < 0) { in tcp_output_locked()
298 KASSERT(tp->t_fb->tfb_flags & TCP_FUNC_OUTPUT_CANDROP, in tcp_output_locked()
300 tp->t_fb->tfb_tcp_block_name, tp)); in tcp_output_locked()
564 if (tp->t_fb->tfb_tcp_rexmit_tmr) { in tcp_timer_rexmt()
566 (*tp->t_fb->tfb_tcp_rexmit_tmr)(tp); in tcp_timer_rexmt()
H A Dtcp_lro_hpts.c150 if (tp->t_fb->tfb_early_wake_check != NULL) in tcp_lro_check_wake_status()
151 return ((tp->t_fb->tfb_early_wake_check)(tp)); in tcp_lro_check_wake_status()
656 if ((*tp->t_fb->tfb_do_queued_segments)(tp, 0))
H A Dtcp_hpts_test.c398 tp->t_fb = &test_tcp_fb; in test_hpts_create_tcpcb()
594 KTEST_NEQUAL(tp->t_fb, NULL); in KTEST_FUNC()
595 KTEST_NEQUAL(tp->t_fb->tfb_tcp_output, NULL); in KTEST_FUNC()
596 KTEST_NEQUAL(tp->t_fb->tfb_do_queued_segments, NULL); in KTEST_FUNC()
H A Dtcp_input.c1129 tp->t_fb->tfb_tcp_do_segment(tp, m, th, drop_hdrlen, in tcp_input_with_port()
1354 tp->t_fb->tfb_tcp_do_segment(tp, m, th, drop_hdrlen, tlen, iptos); in tcp_input_with_port()
4124 if (tp->t_fb->tfb_compute_pipe != NULL) { in tcp_compute_pipe()
4125 pipe = (*tp->t_fb->tfb_compute_pipe)(tp); in tcp_compute_pipe()
H A Dtcp_syncache.c1022 if (tp->t_fb->tfb_inherit != NULL) { in syncache_socket()
1023 (*tp->t_fb->tfb_inherit)(tp, sotoinpcb(lso)); in syncache_socket()
H A Dtcp_hpts.c1390 error = -(*tp->t_fb->tfb_do_queued_segments)(tp, in tcp_hptsi()
H A Dtcp_log_buf.c1829 log_buf->tlb_stackid = tp->t_fb->tfb_id; in tcp_log_event()
/freebsd/sys/kern/
H A Duipc_ktls.c1455 if (tp->t_fb->tfb_hwtls_change != NULL) in ktls_enable_tx()
1456 (*tp->t_fb->tfb_hwtls_change)(tp, 1); in ktls_enable_tx()
1638 if (tp->t_fb->tfb_hwtls_change != NULL) in ktls_set_tx_mode()
1639 (*tp->t_fb->tfb_hwtls_change)(tp, 1); in ktls_set_tx_mode()
3370 tp->t_fb->tfb_hwtls_change != NULL) in ktls_disable_ifnet_help()
3371 (*tp->t_fb->tfb_hwtls_change)(tp, 0); in ktls_disable_ifnet_help()
/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c445 retval = (*tp->t_fb->tfb_do_segment_nounlock)(tp, m, th, in ctf_process_inbound_raw()
H A Drack.c14270 if (tp->t_fb->tfb_chg_query == NULL) { in rack_init_outstanding()
14333 if ((*tp->t_fb->tfb_chg_query)(tp, &qr) == 0) in rack_init_outstanding()
14755 if (tp->t_fb->tfb_chg_query == NULL) { in rack_init()
14765 ret = (*tp->t_fb->tfb_chg_query)(tp, &qr); in rack_init()
14814 ret = (*tp->t_fb->tfb_chg_query)(tp, &qr); in rack_init()
16686 (*tp->t_fb->tfb_tcp_do_segment)(tp, m, th, drop_hdrlen, in rack_do_segment_nounlock()
23596 if (par->t_fb != tp->t_fb) { in rack_inherit()
24215 if (tp->t_fb != &__tcp_rack) { in rack_set_sockopt()
H A Dbbr.c11449 (*tp->t_fb->tfb_tcp_do_segment)(tp, m, th, drop_hdrlen, in bbr_do_segment_nounlock()
14229 if (tp->t_fb != &__tcp_bbr) { in bbr_set_sockopt()