# otBorderRoutingPrefixTableIterator Struct Reference

# otBorderRoutingPrefixTableIterator


`#include <openthread/border_routing.h>`

Represents an iterator to iterate through the Border Router's discovered prefix table.

## Summary

The fields in this type are opaque (intended for use by OpenThread core only) and therefore should not be accessed or used by caller.

Before using an iterator, it MUST be initialized using `https://openthread.io/reference/group/api-border-routing#group__api-border-routing_1ga62eeb9d4aeece2a65f20c73ee3d34cff`.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-border-routing-prefix-table-iterator#structot_border_routing_prefix_table_iterator_1a63b706cc916a79689a448f7df9aeb43d` | `uint32_t` |
| `https://openthread.io/reference/struct/ot-border-routing-prefix-table-iterator#structot_border_routing_prefix_table_iterator_1a75013e33a2c36653e389622c5fcdc03f` | `uint32_t` |
| `https://openthread.io/reference/struct/ot-border-routing-prefix-table-iterator#structot_border_routing_prefix_table_iterator_1a2c89eea39fcf7c6502005d0add14ecb8` | `uint8_t` |
| `https://openthread.io/reference/struct/ot-border-routing-prefix-table-iterator#structot_border_routing_prefix_table_iterator_1ae36b80cf00c89a9fe4fd5d849c7bbd60` | `uint8_t` |
| `https://openthread.io/reference/struct/ot-border-routing-prefix-table-iterator#structot_border_routing_prefix_table_iterator_1a6b2dbe31786d669534fe391d805d71b1` | `const void *` |
| `https://openthread.io/reference/struct/ot-border-routing-prefix-table-iterator#structot_border_routing_prefix_table_iterator_1ae875019a73f24901a6c6b60481efe26d` | `const void *` |

## Public attributes

### mData0

```
uint32_t otBorderRoutingPrefixTableIterator::mData0
```

### mData1

```
uint32_t otBorderRoutingPrefixTableIterator::mData1
```

### mData2

```
uint8_t otBorderRoutingPrefixTableIterator::mData2
```

### mData3

```
uint8_t otBorderRoutingPrefixTableIterator::mData3
```

### mPtr1

```
const void * otBorderRoutingPrefixTableIterator::mPtr1
```

### mPtr2

```
const void * otBorderRoutingPrefixTableIterator::mPtr2
```

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