Type Alias FnDefPktDataMon

Source
pub type FnDefPktDataMon = Option<unsafe extern "C" fn(p_context: *const c_void, op: ocsd_datapath_op_t, index_sop: ocsd_trc_index_t, p_packet_in: *const c_void, size: u32, p_data: *const u8)>;
Expand description

function pointer type for packet processor packet monitor sink, raw packet monitor / display input - generic declaration

Aliased Type§

enum FnDefPktDataMon {
    None,
    Some(unsafe extern "C" fn(*const c_void, u32, u32, *const c_void, u32, *const u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, u32, u32, *const c_void, u32, *const u8))

Some value of type T.