# otCacheEntryInfo Struct Reference

# otCacheEntryInfo


`#include <openthread/thread_ftd.h>`

Represents an EID cache entry.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1a87476422e0e2f7b45a869acaca4c0fb9` | `bool` Indicates whether the entry can be evicted. |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1ac7d25cae29ad34fb54addff4fb1313e6` | `uint32_t` Last transaction time (applicable in cached state). |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1aba8066577720a1ae13ace77da11065a2` | `https://openthread.io/reference/struct/ot-ip6-address` Mesh Local EID (applicable if entry in cached state). |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1aa87549136a713c0958bb7cac057a2347` | `bool` Whether in ramp-down mode while in `OT_CACHE_ENTRY_STATE_RETRY_QUERY`. |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1ade3dd637578d168b3e8a69abe61aee4c` | `uint16_t` Retry delay in seconds (applicable if in query-retry state). |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1a7e266eedfd91f7f92cf584fb7ddb7c1b` | `https://openthread.io/reference/group/radio-types#group__radio-types_1ga9199b7f0fe13ebcd0da2e3af71f04c40` RLOC16. |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1adfbd8048bf586be97a0b04a2e182b011` | `https://openthread.io/reference/group/api-thread-router#group__api-thread-router_1gafc8f547e17334f8da4f087618b97902f` Entry state. |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1a222080c2bfa5e27b598a8a187e75c7dc` | `https://openthread.io/reference/struct/ot-ip6-address` Target EID. |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1a19d193f53d5ac69f147bdc180fec6da8` | `uint16_t` Timeout in seconds (applicable if in snooped/query/retry-query states). |
| `https://openthread.io/reference/struct/ot-cache-entry-info#structot_cache_entry_info_1aa48f3571d3afc9418ba40b974bff4d75` | `bool` Indicates whether last transaction time and ML-EID are valid. |

## Public attributes

### mCanEvict

```
bool otCacheEntryInfo::mCanEvict
```
Indicates whether the entry can be evicted.

### mLastTransTime

```
uint32_t otCacheEntryInfo::mLastTransTime
```
Last transaction time (applicable in cached state).

### mMeshLocalEid

```
otIp6Address otCacheEntryInfo::mMeshLocalEid
```
Mesh Local EID (applicable if entry in cached state).

### mRampDown

```
bool otCacheEntryInfo::mRampDown
```
Whether in ramp-down mode while in `OT_CACHE_ENTRY_STATE_RETRY_QUERY`.

### mRetryDelay

```
uint16_t otCacheEntryInfo::mRetryDelay
```
Retry delay in seconds (applicable if in query-retry state).

### mRloc16

```
otShortAddress otCacheEntryInfo::mRloc16
```
RLOC16.

### mState

```
otCacheEntryState otCacheEntryInfo::mState
```
Entry state.

### mTarget

```
otIp6Address otCacheEntryInfo::mTarget
```
Target EID.

### mTimeout

```
uint16_t otCacheEntryInfo::mTimeout
```
Timeout in seconds (applicable if in snooped/query/retry-query states).

### mValidLastTrans

```
bool otCacheEntryInfo::mValidLastTrans
```
Indicates whether last transaction time and ML-EID are valid.

## 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).