Struct ibverbs_sys::ibv_context_ops [−][src]
#[repr(C)]pub struct ibv_context_ops {Show 32 fields
pub _compat_query_device: Option<unsafe extern "C" fn(context: *mut ibv_context, device_attr: *mut ibv_device_attr) -> c_int>,
pub _compat_query_port: Option<unsafe extern "C" fn(context: *mut ibv_context, port_num: u8, port_attr: *mut _compat_ibv_port_attr) -> c_int>,
pub _compat_alloc_pd: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_dealloc_pd: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_reg_mr: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_rereg_mr: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_dereg_mr: Option<unsafe extern "C" fn() -> *mut c_void>,
pub alloc_mw: Option<unsafe extern "C" fn(pd: *mut ibv_pd, type_: ibv_mw_type) -> *mut ibv_mw>,
pub bind_mw: Option<unsafe extern "C" fn(qp: *mut ibv_qp, mw: *mut ibv_mw, mw_bind: *mut ibv_mw_bind) -> c_int>,
pub dealloc_mw: Option<unsafe extern "C" fn(mw: *mut ibv_mw) -> c_int>,
pub _compat_create_cq: Option<unsafe extern "C" fn() -> *mut c_void>,
pub poll_cq: Option<unsafe extern "C" fn(cq: *mut ibv_cq, num_entries: c_int, wc: *mut ibv_wc) -> c_int>,
pub req_notify_cq: Option<unsafe extern "C" fn(cq: *mut ibv_cq, solicited_only: c_int) -> c_int>,
pub _compat_cq_event: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_resize_cq: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_destroy_cq: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_create_srq: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_modify_srq: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_query_srq: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_destroy_srq: Option<unsafe extern "C" fn() -> *mut c_void>,
pub post_srq_recv: Option<unsafe extern "C" fn(srq: *mut ibv_srq, recv_wr: *mut ibv_recv_wr, bad_recv_wr: *mut *mut ibv_recv_wr) -> c_int>,
pub _compat_create_qp: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_query_qp: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_modify_qp: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_destroy_qp: Option<unsafe extern "C" fn() -> *mut c_void>,
pub post_send: Option<unsafe extern "C" fn(qp: *mut ibv_qp, wr: *mut ibv_send_wr, bad_wr: *mut *mut ibv_send_wr) -> c_int>,
pub post_recv: Option<unsafe extern "C" fn(qp: *mut ibv_qp, wr: *mut ibv_recv_wr, bad_wr: *mut *mut ibv_recv_wr) -> c_int>,
pub _compat_create_ah: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_destroy_ah: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_attach_mcast: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_detach_mcast: Option<unsafe extern "C" fn() -> *mut c_void>,
pub _compat_async_event: Option<unsafe extern "C" fn() -> *mut c_void>,
}Fields
_compat_query_device: Option<unsafe extern "C" fn(context: *mut ibv_context, device_attr: *mut ibv_device_attr) -> c_int>_compat_query_port: Option<unsafe extern "C" fn(context: *mut ibv_context, port_num: u8, port_attr: *mut _compat_ibv_port_attr) -> c_int>_compat_alloc_pd: Option<unsafe extern "C" fn() -> *mut c_void>_compat_dealloc_pd: Option<unsafe extern "C" fn() -> *mut c_void>_compat_reg_mr: Option<unsafe extern "C" fn() -> *mut c_void>_compat_rereg_mr: Option<unsafe extern "C" fn() -> *mut c_void>_compat_dereg_mr: Option<unsafe extern "C" fn() -> *mut c_void>alloc_mw: Option<unsafe extern "C" fn(pd: *mut ibv_pd, type_: ibv_mw_type) -> *mut ibv_mw>bind_mw: Option<unsafe extern "C" fn(qp: *mut ibv_qp, mw: *mut ibv_mw, mw_bind: *mut ibv_mw_bind) -> c_int>dealloc_mw: Option<unsafe extern "C" fn(mw: *mut ibv_mw) -> c_int>_compat_create_cq: Option<unsafe extern "C" fn() -> *mut c_void>poll_cq: Option<unsafe extern "C" fn(cq: *mut ibv_cq, num_entries: c_int, wc: *mut ibv_wc) -> c_int>req_notify_cq: Option<unsafe extern "C" fn(cq: *mut ibv_cq, solicited_only: c_int) -> c_int>_compat_cq_event: Option<unsafe extern "C" fn() -> *mut c_void>_compat_resize_cq: Option<unsafe extern "C" fn() -> *mut c_void>_compat_destroy_cq: Option<unsafe extern "C" fn() -> *mut c_void>_compat_create_srq: Option<unsafe extern "C" fn() -> *mut c_void>_compat_modify_srq: Option<unsafe extern "C" fn() -> *mut c_void>_compat_query_srq: Option<unsafe extern "C" fn() -> *mut c_void>_compat_destroy_srq: Option<unsafe extern "C" fn() -> *mut c_void>post_srq_recv: Option<unsafe extern "C" fn(srq: *mut ibv_srq, recv_wr: *mut ibv_recv_wr, bad_recv_wr: *mut *mut ibv_recv_wr) -> c_int>_compat_create_qp: Option<unsafe extern "C" fn() -> *mut c_void>_compat_query_qp: Option<unsafe extern "C" fn() -> *mut c_void>_compat_modify_qp: Option<unsafe extern "C" fn() -> *mut c_void>_compat_destroy_qp: Option<unsafe extern "C" fn() -> *mut c_void>post_send: Option<unsafe extern "C" fn(qp: *mut ibv_qp, wr: *mut ibv_send_wr, bad_wr: *mut *mut ibv_send_wr) -> c_int>post_recv: Option<unsafe extern "C" fn(qp: *mut ibv_qp, wr: *mut ibv_recv_wr, bad_wr: *mut *mut ibv_recv_wr) -> c_int>_compat_create_ah: Option<unsafe extern "C" fn() -> *mut c_void>_compat_destroy_ah: Option<unsafe extern "C" fn() -> *mut c_void>_compat_attach_mcast: Option<unsafe extern "C" fn() -> *mut c_void>_compat_detach_mcast: Option<unsafe extern "C" fn() -> *mut c_void>_compat_async_event: Option<unsafe extern "C" fn() -> *mut c_void>Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ibv_context_ops
impl Send for ibv_context_ops
impl Sync for ibv_context_ops
impl Unpin for ibv_context_ops
impl UnwindSafe for ibv_context_ops
Blanket Implementations
Mutably borrows from an owned value. Read more