[][src]Function openthread_sys::otBorderRouterGetNextOnMeshPrefix

pub unsafe extern "C" fn otBorderRouterGetNextOnMeshPrefix(
    aInstance: *mut otInstance,
    aIterator: *mut otNetworkDataIterator,
    aConfig: *mut otBorderRouterConfig
) -> otError

This function gets the next On Mesh Prefix in the local Network Data.

@param[in] aInstance A pointer to an OpenThread instance. @param[inout] aIterator A pointer to the Network Data iterator context. To get the first on-mesh entry it should be set to OT_NETWORK_DATA_ITERATOR_INIT. @param[out] aConfig A pointer to the On Mesh Prefix information.

@retval OT_ERROR_NONE Successfully found the next On Mesh prefix. @retval OT_ERROR_NOT_FOUND No subsequent On Mesh prefix exists in the Thread Network Data.