pub type gnrc_icmpv6_echo_rsp_handle_cb_t = Option<unsafe extern "C" fn(pkt: *mut gnrc_pktsnip_t, corrupt: c_int, rtt_us: u32, ctx: *mut c_void) -> c_int>;
Expand description

@brief ICMPv6 echo response callback

@param[in] pkt Packet containing the ICMPv6 response @param[in] corrupt Offset of corrupt payload, -1 if no corruption detected @param[in] rtt_us round-trip-time in µs (0 if this information is not available) @param[in] ctx User supplied context

@return 0 on success @return <0 on error

Aliased Type§

enum gnrc_icmpv6_echo_rsp_handle_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut gnrc_pktsnip, _: i32, _: u32, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut gnrc_pktsnip, _: i32, _: u32, _: *mut c_void) -> i32)

Some value of type T.