openthread_sys

Function otNetDataGetNextOnMeshPrefix

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

Get the next On Mesh Prefix 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 on-mesh entry it should be set to OT_NETWORK_DATA_ITERATOR_INIT. @param[out] aConfig A pointer to where the On Mesh Prefix information will be placed.

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