openthread_sys

Function otBorderRouterGetNextRoute

Source
pub unsafe extern "C" fn otBorderRouterGetNextRoute(
    aInstance: *mut otInstance,
    aIterator: *mut otNetworkDataIterator,
    aConfig: *mut otExternalRouteConfig,
) -> otError
Expand description

Gets the next external route in the local 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 the External Route information.

@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.