# otTrelPeer Struct Reference

# otTrelPeer


`#include <openthread/trel.h>`

Represents a TREL peer.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-trel-peer#structot_trel_peer_1aa9420371d4b3d63d2f66cc5388a90ec1` | `https://openthread.io/reference/struct/ot-ext-address` The Extended MAC Address of TREL peer. |
| `https://openthread.io/reference/struct/ot-trel-peer#structot_trel_peer_1ada598eae3472d33d76da09bf317c83b6` | `https://openthread.io/reference/struct/ot-extended-pan-id` The Extended PAN Identifier of TREL peer. |
| `https://openthread.io/reference/struct/ot-trel-peer#structot_trel_peer_1ab07eafa453c4e03cb4b5d06c46b95b70` | `https://openthread.io/reference/struct/ot-sock-addr` The IPv6 socket address of TREL peer. |

## Public attributes

### mExtAddress

```
otExtAddress otTrelPeer::mExtAddress
```
The Extended MAC Address of TREL peer.

### mExtPanId

```
otExtendedPanId otTrelPeer::mExtPanId
```
The Extended PAN Identifier of TREL peer.

### mSockAddr

```
otSockAddr otTrelPeer::mSockAddr
```
The IPv6 socket address of TREL peer.

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