openthread_sys

Function otThreadGetNextCacheEntry

Source
pub unsafe extern "C" fn otThreadGetNextCacheEntry(
    aInstance: *mut otInstance,
    aEntryInfo: *mut otCacheEntryInfo,
    aIterator: *mut otCacheEntryIterator,
) -> otError
Expand description

Gets the next EID cache entry (using an iterator).

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aEntryInfo A pointer to where the EID cache entry information is placed. @param[in,out] aIterator A pointer to an iterator. It will be updated to point to next entry on success. To get the first entry, initialize the iterator by setting all its fields to zero (e.g., memset the iterator structure to zero).

@retval OT_ERROR_NONE Successfully populated @p aEntryInfo for next EID cache entry. @retval OT_ERROR_NOT_FOUND No more entries in the address cache table.