Type Alias shadow_rs::cshadow::TCPCongHooks

source ·
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>