Type Alias FnDefPktDataIn

Source
pub type FnDefPktDataIn = 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) -> ocsd_datapath_resp_t>;
Expand description

function pointer type for packet processor packet output sink, packet analyser/decoder input - generic declaration

Aliased Type§

enum FnDefPktDataIn {
    None,
    Some(unsafe extern "C" fn(*const c_void, u32, u32, *const c_void) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.