# otExternalRouteConfig Struct Reference

# otExternalRouteConfig


`#include <openthread/netdata.h>`

Represents an External Route configuration.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-external-route-config#structot_external_route_config_1a7ce8cd3db3b54fb7ff25a9499f1d5340` | `bool` Whether or not BR is advertising a ULA prefix in PIO (AP flag). |
| `https://openthread.io/reference/struct/ot-external-route-config#structot_external_route_config_1a64b2ab295f98f600673051250d178584` | `bool` Whether this is a NAT64 prefix. |
| `https://openthread.io/reference/struct/ot-external-route-config#structot_external_route_config_1ac756eabd260361545cca11c0c82c9b57` | `bool` Whether the next hop is this device (value ignored on config add). |
| `https://openthread.io/reference/struct/ot-external-route-config#structot_external_route_config_1ae81bae317d63356a8c812dbf95c9a979` | `signed int` A 2-bit signed int preference (`OT_ROUTE_PREFERENCE_*` values). |
| `https://openthread.io/reference/struct/ot-external-route-config#structot_external_route_config_1ae4284a42a6559c9a0b8b1f60d9bb3349` | `https://openthread.io/reference/struct/ot-ip6-prefix` The IPv6 prefix. |
| `https://openthread.io/reference/struct/ot-external-route-config#structot_external_route_config_1a693665fff59126d2586bab65f8aef872` | `uint16_t` The border router's RLOC16 (value ignored on config add). |
| `https://openthread.io/reference/struct/ot-external-route-config#structot_external_route_config_1aef6feede7f856cf9ac120777cb67209e` | `bool` Whether this configuration is considered Stable Network Data. |

## Public attributes

### mAdvPio

```
bool otExternalRouteConfig::mAdvPio
```
Whether or not BR is advertising a ULA prefix in PIO (AP flag).

### mNat64

```
bool otExternalRouteConfig::mNat64
```
Whether this is a NAT64 prefix.

### mNextHopIsThisDevice

```
bool otExternalRouteConfig::mNextHopIsThisDevice
```
Whether the next hop is this device (value ignored on config add).

### mPreference

```
signed int otExternalRouteConfig::mPreference
```
A 2-bit signed int preference (`OT_ROUTE_PREFERENCE_*` values).

### mPrefix

```
otIp6Prefix otExternalRouteConfig::mPrefix
```
The IPv6 prefix.

### mRloc16

```
uint16_t otExternalRouteConfig::mRloc16
```
The border router's RLOC16 (value ignored on config add).

### mStable

```
bool otExternalRouteConfig::mStable
```
Whether this configuration is considered Stable Network Data.

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