# otBorderRoutingCounters Struct Reference

# otBorderRoutingCounters


`#include <openthread/ip6.h>`

Represents the counters of packets forwarded via Border Routing.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a8e26ce2e89bb61f95eb762872a7eba25` | `https://openthread.io/reference/struct/ot-packets-and-bytes` The counters for inbound Internet when DHCPv6 PD enabled. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1ac017edaa63fb6543e25418317e89ea60` | `https://openthread.io/reference/struct/ot-packets-and-bytes` The counters for inbound multicast. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1ace88675b48d89ca37c74b8f19fa140a4` | `https://openthread.io/reference/struct/ot-packets-and-bytes` The counters for inbound unicast. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a0ef8ff95f7780690623ace55586c8e6f` | `https://openthread.io/reference/struct/ot-packets-and-bytes` The counters for outbound Internet when DHCPv6 PD enabled. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a2664c8d002da7a7095951fba3152fc47` | `https://openthread.io/reference/struct/ot-packets-and-bytes` The counters for outbound multicast. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a2fc212cd4d2bdc0dd46ea4d31b0c791f` | `https://openthread.io/reference/struct/ot-packets-and-bytes` The counters for outbound unicast. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a4b20c37985304028e881e91174607544` | `uint32_t` The number of received RA packets. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a8f020680ea98e1998ff81561634df36a` | `uint32_t` The number of RA packets failed to transmit. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a3af2027b71d8cacfca35cc179cc3637d` | `uint32_t` The number of RA packets successfully transmitted. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1ae6363dbccae9c2a68430ffbf6b5a2ac4` | `uint32_t` The number of received RS packets. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1af8325b6ba33ade29447e658f4fc1f085` | `uint32_t` The number of RS packets failed to transmit. |
| `https://openthread.io/reference/struct/ot-border-routing-counters#structot_border_routing_counters_1a655f5eef4cf741e75c958825b29b97ba` | `uint32_t` The number of RS packets successfully transmitted. |

## Public attributes

### mInboundInternet

```
otPacketsAndBytes otBorderRoutingCounters::mInboundInternet
```
The counters for inbound Internet when DHCPv6 PD enabled.

### mInboundMulticast

```
otPacketsAndBytes otBorderRoutingCounters::mInboundMulticast
```
The counters for inbound multicast.

### mInboundUnicast

```
otPacketsAndBytes otBorderRoutingCounters::mInboundUnicast
```
The counters for inbound unicast.

### mOutboundInternet

```
otPacketsAndBytes otBorderRoutingCounters::mOutboundInternet
```
The counters for outbound Internet when DHCPv6 PD enabled.

### mOutboundMulticast

```
otPacketsAndBytes otBorderRoutingCounters::mOutboundMulticast
```
The counters for outbound multicast.

### mOutboundUnicast

```
otPacketsAndBytes otBorderRoutingCounters::mOutboundUnicast
```
The counters for outbound unicast.

### mRaRx

```
uint32_t otBorderRoutingCounters::mRaRx
```
The number of received RA packets.

### mRaTxFailure

```
uint32_t otBorderRoutingCounters::mRaTxFailure
```
The number of RA packets failed to transmit.

### mRaTxSuccess

```
uint32_t otBorderRoutingCounters::mRaTxSuccess
```
The number of RA packets successfully transmitted.

### mRsRx

```
uint32_t otBorderRoutingCounters::mRsRx
```
The number of received RS packets.

### mRsTxFailure

```
uint32_t otBorderRoutingCounters::mRsTxFailure
```
The number of RS packets failed to transmit.

### mRsTxSuccess

```
uint32_t otBorderRoutingCounters::mRsTxSuccess
```
The number of RS packets successfully transmitted.

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