riot_sys

Function gnrc_icmpv6_echo_rsp_handle

Source
pub unsafe extern "C" fn gnrc_icmpv6_echo_rsp_handle(
    pkt: *mut gnrc_pktsnip_t,
    len: size_t,
    cb: gnrc_icmpv6_echo_rsp_handle_cb_t,
    ctx: *mut c_void,
) -> c_int
Expand description

@brief Parse ICMPv6 echo response

@param[in] pkt Incoming ICMPv6 packet @param[in] len Expected echo response payload length @param[in] cb Callback function to execute @param[in] ctx Callback function context

@return 0 on success @return <0 on error