riot_sys::bindgen

Function gnrc_netif_get_by_prefix

Source
pub unsafe extern "C" fn gnrc_netif_get_by_prefix(
    prefix: *const ipv6_addr_t,
) -> *mut gnrc_netif_t
Expand description

@brief Gets an interface by an address matching a given prefix best

@param[in] prefix an IPv6 address or prefix

@return The network interface that has an address assigned, that matches @p prefix best @return NULL, if there is no address on any interface that matches @prefix