Type Alias fnPktMonCB

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

callback function to connect to the packet monitor interface of the packet processor Implements IPktRawDataMon::RawPacketDataMon with addition of library context pointer.

Aliased Type§

enum fnPktMonCB {
    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.