# otNetworkDiagRouteData Struct Reference

# otNetworkDiagRouteData


`#include <openthread/netdiag.h>`

Represents a Network Diagnostic Route data.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-network-diag-route-data#structot_network_diag_route_data_1afd2f92d315255354289525f5f4f91958` | `uint8_t` Link Quality In. |
| `https://openthread.io/reference/struct/ot-network-diag-route-data#structot_network_diag_route_data_1a21c7072ad4e345a0785ec6e20cd49e56` | `uint8_t` Link Quality Out. |
| `https://openthread.io/reference/struct/ot-network-diag-route-data#structot_network_diag_route_data_1a47ccf5c20d507d8cb316ea66e10b2482` | `uint8_t` Routing Cost. Infinite routing cost is represented by value 0. |
| `https://openthread.io/reference/struct/ot-network-diag-route-data#structot_network_diag_route_data_1a400bc87e87b25d96bb235e904c2a2488` | `uint8_t` The Assigned Router ID. |

## Public attributes

### mLinkQualityIn

```
uint8_t otNetworkDiagRouteData::mLinkQualityIn
```
Link Quality In.

### mLinkQualityOut

```
uint8_t otNetworkDiagRouteData::mLinkQualityOut
```
Link Quality Out.

### mRouteCost

```
uint8_t otNetworkDiagRouteData::mRouteCost
```
Routing Cost. Infinite routing cost is represented by value 0.

### mRouterId

```
uint8_t otNetworkDiagRouteData::mRouterId
```
The Assigned Router ID.

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