riot_sys

Function gnrc_icmpv6_echo_send

Source
pub unsafe extern "C" fn gnrc_icmpv6_echo_send(
    netif: *const gnrc_netif_t,
    addr: *const ipv6_addr_t,
    id: u16,
    seq: u16,
    ttl: u8,
    len: size_t,
) -> c_int
Expand description

@brief Send out ICMPv6 echo request

@param[in] netif The interface the echo request should be sent on. @param[in] addr The destination address of the echo request @param[in] id ID for the echo message in host byte-order @param[in] seq Sequence number for the echo message in host byte-order @param[in] ttl Hop limit of the echo request @param[in] len Length of the payload

@return 0 on success @return <0 on error