# otBorderAgentTrackerIterator Struct Reference

# otBorderAgentTrackerIterator


`#include <openthread/border_agent_tracker.h>`

Represents an iterator to iterate through the discovered Border Agents.

## Summary

The fields in this struct are for OpenThread internal use only and MUST NOT be accessed or modified by the caller.

An iterator MUST be initialized using `https://openthread.io/reference/group/api-border-agent-tracker#group__api-border-agent-tracker_1ga2dcb1a2193003f096e571cce8f2efc16` before it is used.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-border-agent-tracker-iterator#structot_border_agent_tracker_iterator_1a1c8d6f9e3e7f5cae6ecaee22de6e5330` | `uint64_t` |
| `https://openthread.io/reference/struct/ot-border-agent-tracker-iterator#structot_border_agent_tracker_iterator_1af395431125d252ae8cc5488588078274` | `const void *` |

## Public attributes

### mData

```
uint64_t otBorderAgentTrackerIterator::mData
```

### mPtr

```
const void * otBorderAgentTrackerIterator::mPtr
```

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