# otCacheEntryIterator Struct Reference

# otCacheEntryIterator


`#include <openthread/thread_ftd.h>`

Represents an iterator used for iterating through the EID cache table entries.

## Summary

To initialize the iterator and start from the first entry in the cache table, set all its fields in the structure to zero (e.g., `memset` the iterator to zero).

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-cache-entry-iterator#structot_cache_entry_iterator_1aa46b92df3fb760c9c72ff052c36ec1b5[2]` | `const void *` Opaque data used by the core implementation. Should not be changed by user. |

## Public attributes

### mData

```
const void * otCacheEntryIterator::mData[2]
```
Opaque data used by the core implementation. Should not be changed by user.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).