# otBorderRoutingRouterEntry Struct Reference

# otBorderRoutingRouterEntry


`#include <openthread/border_routing.h>`

Represents a discovered router on the infrastructure link.

## Summary

The `mIsPeerBr` field requires `OPENTHREAD_CONFIG_BORDER_ROUTING_TRACK_PEER_BR_INFO_ENABLE`. Routing Manager determines whether the router is a peer BR (connected to the same Thread mesh network) by comparing its advertised PIO/RIO prefixes with the entries in the Thread Network Data. While this method is generally effective, it may not be 100% accurate in all scenarios, so the `mIsPeerBr` flag should be used with caution.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1aaf945949144f6f993fcba6aed4caeb58` | `https://openthread.io/reference/struct/ot-ip6-address` IPv6 address of the router. |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1a166d78de6ee2e4ddacc27efef6465af4` | `uint32_t` The router's age in seconds (duration since its first discovery). |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1ac67802a0f3d53a7594554aeb2b32f2c5` | `bool` This router is the local device (this BR). |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1ab152900176db4748945dfc95bc22aeb6` | `bool` This router is (likely) a peer BR. |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1a7455ca7db60c0cdf26d3bb3358d3a208` | `bool` This router is reachable. |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1add09bcd9ad16192d1c5c00b873c631f7` | `bool` The router's Managed Address Config flag (`M` flag). |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1ae6e3e0076d13cfa4493873b6e940d1e2` | `uint32_t` Milliseconds since last update (any message rx) from this router. |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1aecdd2d10813f01092a7a7f66409b37c9` | `bool` The router's Other Config flag (`O` flag). |
| `https://openthread.io/reference/struct/ot-border-routing-router-entry#structot_border_routing_router_entry_1a0f53dede2beeada4667a2950d30ded0e` | `bool` The router's SNAC Router flag (`S` flag). |

## Public attributes

### mAddress

```
otIp6Address otBorderRoutingRouterEntry::mAddress
```
IPv6 address of the router.

### mAge

```
uint32_t otBorderRoutingRouterEntry::mAge
```
The router's age in seconds (duration since its first discovery).

### mIsLocalDevice

```
bool otBorderRoutingRouterEntry::mIsLocalDevice
```
This router is the local device (this BR).

### mIsPeerBr

```
bool otBorderRoutingRouterEntry::mIsPeerBr
```
This router is (likely) a peer BR.

### mIsReachable

```
bool otBorderRoutingRouterEntry::mIsReachable
```
This router is reachable.

### mManagedAddressConfigFlag

```
bool otBorderRoutingRouterEntry::mManagedAddressConfigFlag
```
The router's Managed Address Config flag (`M` flag).

### mMsecSinceLastUpdate

```
uint32_t otBorderRoutingRouterEntry::mMsecSinceLastUpdate
```
Milliseconds since last update (any message rx) from this router.

### mOtherConfigFlag

```
bool otBorderRoutingRouterEntry::mOtherConfigFlag
```
The router's Other Config flag (`O` flag).

### mSnacRouterFlag

```
bool otBorderRoutingRouterEntry::mSnacRouterFlag
```
The router's SNAC Router flag (`S` flag).

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