# otNetworkDiagRoute Struct Reference

# otNetworkDiagRoute


`#include <openthread/netdiag.h>`

Represents a Network Diagnostic Route64 TLV value.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-network-diag-route#structot_network_diag_route_1a22edf973ce557c2bf4364365cf3e333c` | `uint8_t` The sequence number associated with the set of Router ID assignments in [mRouteData](https://openthread.io/reference/struct/ot-network-diag-route#structot_network_diag_route_1a141a464670f9231fce3a616247dd272e). |
| `https://openthread.io/reference/struct/ot-network-diag-route#structot_network_diag_route_1a6c6a47173caddb3c661d206956d496ef` | `uint8_t` Number of routes. |
| `https://openthread.io/reference/struct/ot-network-diag-route#structot_network_diag_route_1a141a464670f9231fce3a616247dd272e[OT_NETWORK_MAX_ROUTER_ID+1]` | `https://openthread.io/reference/struct/ot-network-diag-route-data` Link Quality and Routing Cost data. |

## Public attributes

### mIdSequence

```
uint8_t otNetworkDiagRoute::mIdSequence
```
The sequence number associated with the set of Router ID assignments in [mRouteData](https://openthread.io/reference/struct/ot-network-diag-route#structot_network_diag_route_1a141a464670f9231fce3a616247dd272e).

Sequence number for Router ID assignments.

### mRouteCount

```
uint8_t otNetworkDiagRoute::mRouteCount
```
Number of routes.

### mRouteData

```
otNetworkDiagRouteData otNetworkDiagRoute::mRouteData[OT_NETWORK_MAX_ROUTER_ID+1]
```
Link Quality and Routing Cost 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).