# otBorderRouterConfig


`#include <openthread/netdata.h>`

Represents a Border Router configuration.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a9fafbcb14f9369efeaf5d360fb8a1447` | `bool` Whether DHCPv6 Agent supplying other config data. |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a5a65e884930293c4a40c253524c56327` | `bool` Whether border router is a default router for prefix. |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a4c51169916172340439b8c363dbb6968` | `bool` Whether border router is DHCPv6 Agent. |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1ab1e29f8918a2cc4885d3834a5e1ff6b4` | `bool` Reserved (previously Thread Domain Prefix flag). |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1abcd194dcd62f0ad8dda859e7cfcfabd3` | `bool` Whether this border router can supply DNS information via ND. |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a1319bf366108cae969556d26cabc4cd2` | `bool` Whether this prefix is considered on-mesh. |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a6ab8e4df688e73ee9c14228bba11f35e` | `signed int` A 2-bit signed int preference (`OT_ROUTE_PREFERENCE_*` values). |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a2cbb73bd5a2311773b612bfbb2164bc2` | `bool` Whether prefix is preferred. |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a5c009110abe241276bf9cefb13e11822` | `https://openthread.io/reference/struct/ot-ip6-prefix` The IPv6 prefix. |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a534015ed8615413c9782675cb0967fc0` | `uint16_t` The border router's RLOC16 (value ignored on config add). |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1acb3d9aa94909a591af0a48e93809160c` | `bool` Whether prefix can be used for address auto-configuration (SLAAC). |
| `https://openthread.io/reference/struct/ot-border-router-config#structot_border_router_config_1a6b0ab66d71377681702e00905e849f43` | `bool` Whether this configuration is considered Stable Network Data. |

## Public attributes

### mConfigure

```
bool otBorderRouterConfig::mConfigure
```
Whether DHCPv6 Agent supplying other config data.

### mDefaultRoute

```
bool otBorderRouterConfig::mDefaultRoute
```
Whether border router is a default router for prefix.

### mDhcp

```
bool otBorderRouterConfig::mDhcp
```
Whether border router is DHCPv6 Agent.

### mDp

```
bool otBorderRouterConfig::mDp
```
Reserved (previously Thread Domain Prefix flag).

### mNdDns

```
bool otBorderRouterConfig::mNdDns
```
Whether this border router can supply DNS information via ND.

### mOnMesh

```
bool otBorderRouterConfig::mOnMesh
```
Whether this prefix is considered on-mesh.

### mPreference

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

### mPreferred

```
bool otBorderRouterConfig::mPreferred
```
Whether prefix is preferred.

### mPrefix

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

### mRloc16

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

### mSlaac

```
bool otBorderRouterConfig::mSlaac
```
Whether prefix can be used for address auto-configuration (SLAAC).

### mStable

```
bool otBorderRouterConfig::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).