Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_stacks/bbr.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 14,137 Lines • ▼ Show 20 Lines | struct tcp_function_block __tcp_bbr = { | ||||
.tfb_tcp_fb_init = bbr_init, | .tfb_tcp_fb_init = bbr_init, | ||||
.tfb_tcp_fb_fini = bbr_fini, | .tfb_tcp_fb_fini = bbr_fini, | ||||
.tfb_tcp_timer_stop_all = bbr_stopall, | .tfb_tcp_timer_stop_all = bbr_stopall, | ||||
.tfb_tcp_rexmit_tmr = bbr_remxt_tmr, | .tfb_tcp_rexmit_tmr = bbr_remxt_tmr, | ||||
.tfb_tcp_handoff_ok = bbr_handoff_ok, | .tfb_tcp_handoff_ok = bbr_handoff_ok, | ||||
.tfb_tcp_mtu_chg = bbr_mtu_chg, | .tfb_tcp_mtu_chg = bbr_mtu_chg, | ||||
.tfb_pru_options = bbr_pru_options, | .tfb_pru_options = bbr_pru_options, | ||||
.tfb_switch_failed = bbr_switch_failed, | .tfb_switch_failed = bbr_switch_failed, | ||||
.tfb_flags = TCP_FUNC_OUTPUT_CANDROP, | .tfb_flags = TCP_FUNC_OUTPUT_CANDROP | TCP_FUNC_DEFAULT_OK, | ||||
}; | }; | ||||
/* | /* | ||||
* bbr_ctloutput() must drop the inpcb lock before performing copyin on | * bbr_ctloutput() must drop the inpcb lock before performing copyin on | ||||
* socket option arguments. When it re-acquires the lock after the copy, it | * socket option arguments. When it re-acquires the lock after the copy, it | ||||
* has to revalidate that the connection is still valid for the socket | * has to revalidate that the connection is still valid for the socket | ||||
* option. | * option. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 659 Lines • Show Last 20 Lines |