Function openthread_sys::otNetDataGetNextRoute
source · pub unsafe extern "C" fn otNetDataGetNextRoute(
aInstance: *mut otInstance,
aIterator: *mut otNetworkDataIterator,
aConfig: *mut otExternalRouteConfig,
) -> otError
Expand description
Get the next external route in the partition’s Network Data.
@param[in] aInstance A pointer to an OpenThread instance. @param[in,out] aIterator A pointer to the Network Data iterator context. To get the first external route entry it should be set to OT_NETWORK_DATA_ITERATOR_INIT. @param[out] aConfig A pointer to where the External Route information will be placed.
@retval OT_ERROR_NONE Successfully found the next External Route. @retval OT_ERROR_NOT_FOUND No subsequent external route entry exists in the Thread Network Data.