# otBorderAgentSessionIterator Struct Reference

# otBorderAgentSessionIterator


`#include <openthread/border_agent.h>`

Represents an iterator for Border Agent sessions.

## Summary

The caller MUST NOT access or update the fields in this struct. It is intended for OpenThread internal use only.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-border-agent-session-iterator#structot_border_agent_session_iterator_1a5fa79edcd27a976fafc59c1dcd143cca` | `uint64_t` |
| `https://openthread.io/reference/struct/ot-border-agent-session-iterator#structot_border_agent_session_iterator_1a5361e389ca539397a0033f71b45e81ee` | `void *` |

## Public attributes

### mData

```
uint64_t otBorderAgentSessionIterator::mData
```

### mPtr

```
void * otBorderAgentSessionIterator::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).