pub unsafe extern "C" fn switchtec_diag_pattern_mon_get(
dev: *mut switchtec_dev,
port_id: c_int,
lane_id: c_int,
type_: *mut switchtec_diag_pattern,
err_cnt: *mut c_ulonglong,
) -> c_intpub unsafe extern "C" fn switchtec_diag_pattern_mon_get(
dev: *mut switchtec_dev,
port_id: c_int,
lane_id: c_int,
type_: *mut switchtec_diag_pattern,
err_cnt: *mut c_ulonglong,
) -> c_int