# otNetworkDiagConnectivity Struct Reference

# otNetworkDiagConnectivity


`#include <openthread/netdiag.h>`

Represents a Network Diagnostic Connectivity value.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1af8104a00a3ec8635009c81c732fb00a6` | `uint8_t` Number of active routers. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1aa710916c0508287bef80ff819498d954` | `uint8_t` Most recent received ID seq number. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1a44ead2910bdb6a83b46cb0ead12c4fd2` | `uint8_t` Cost to the Leader. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1a1fde8d5cebb184e4831c3121efc4b0fe` | `uint8_t` Number of neighbors with link of quality 1. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1a1572df519966e3700bb7a684fa183cbb` | `uint8_t` Number of neighbors with link of quality 2. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1a38d98e079d30971798c0d936ef99b5a4` | `uint8_t` Number of neighbors with link of quality 3. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1a8e8b0e87d499f0b449a6eb3ca4698ce4` | `int8_t` The priority of the sender as a parent. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1a13e4d9cdc532d04008543e60bd631bfa` | `uint16_t` Buffer capacity in bytes for SEDs. Optional. |
| `https://openthread.io/reference/struct/ot-network-diag-connectivity#structot_network_diag_connectivity_1ad58e151484730ffe03947c49bc7a8cd3` | `uint8_t` Queue capacity (number of IPv6 datagrams) per SED. Optional. |

## Public attributes

### mActiveRouters

```
uint8_t otNetworkDiagConnectivity::mActiveRouters
```
Number of active routers.

### mIdSequence

```
uint8_t otNetworkDiagConnectivity::mIdSequence
```
Most recent received ID seq number.

### mLeaderCost

```
uint8_t otNetworkDiagConnectivity::mLeaderCost
```
Cost to the Leader.

### mLinkQuality1

```
uint8_t otNetworkDiagConnectivity::mLinkQuality1
```
Number of neighbors with link of quality 1.

### mLinkQuality2

```
uint8_t otNetworkDiagConnectivity::mLinkQuality2
```
Number of neighbors with link of quality 2.

### mLinkQuality3

```
uint8_t otNetworkDiagConnectivity::mLinkQuality3
```
Number of neighbors with link of quality 3.

### mParentPriority

```
int8_t otNetworkDiagConnectivity::mParentPriority
```
The priority of the sender as a parent.

### mSedBufferSize

```
uint16_t otNetworkDiagConnectivity::mSedBufferSize
```
Buffer capacity in bytes for SEDs. Optional.

### mSedDatagramCount

```
uint8_t otNetworkDiagConnectivity::mSedDatagramCount
```
Queue capacity (number of IPv6 datagrams) per SED. Optional.

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