pub type TCPCongHooks = TCPCongHooks_;
Aliased Type§
struct TCPCongHooks {
pub tcp_cong_delete: Option<unsafe extern "C-unwind" fn(_: *mut _TCP)>,
pub tcp_cong_duplicate_ack_ev: Option<unsafe extern "C-unwind" fn(_: *mut _TCP)>,
pub tcp_cong_fast_recovery: Option<unsafe extern "C-unwind" fn(_: *mut _TCP) -> bool>,
pub tcp_cong_new_ack_ev: Option<unsafe extern "C-unwind" fn(_: *mut _TCP, _: u32)>,
pub tcp_cong_timeout_ev: Option<unsafe extern "C-unwind" fn(_: *mut _TCP)>,
pub tcp_cong_ssthresh: Option<unsafe extern "C-unwind" fn(_: *mut _TCP) -> u32>,
pub tcp_cong_name_str: Option<unsafe extern "C-unwind" fn() -> *const i8>,
}
Fields§
§tcp_cong_delete: Option<unsafe extern "C-unwind" fn(_: *mut _TCP)>
§tcp_cong_duplicate_ack_ev: Option<unsafe extern "C-unwind" fn(_: *mut _TCP)>
§tcp_cong_fast_recovery: Option<unsafe extern "C-unwind" fn(_: *mut _TCP) -> bool>
§tcp_cong_new_ack_ev: Option<unsafe extern "C-unwind" fn(_: *mut _TCP, _: u32)>
§tcp_cong_timeout_ev: Option<unsafe extern "C-unwind" fn(_: *mut _TCP)>
§tcp_cong_ssthresh: Option<unsafe extern "C-unwind" fn(_: *mut _TCP) -> u32>
§tcp_cong_name_str: Option<unsafe extern "C-unwind" fn() -> *const i8>
Trait Implementations
Source§impl Clone for TCPCongHooks_
impl Clone for TCPCongHooks_
Source§fn clone(&self) -> TCPCongHooks_
fn clone(&self) -> TCPCongHooks_
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more