# otNetifMulticastAddress Struct Reference

# otNetifMulticastAddress


`#include <openthread/ip6.h>`

Represents an IPv6 network interface multicast address.

## Summary

The `mAddressOrigin` field is set to either `OT_ADDRESS_ORIGIN_THREAD` if the multicast address is subscribed by OpenThread core or `OT_ADDRESS_ORIGIN_MANUAL` if it is subscribed manually using `https://openthread.io/reference/group/api-ip6#group__api-ip6_1gaaad3f2b2e8bb16aaba23c811796852a0`.

The multicast addresses subscribed by OpenThread core include addresses such as

- link-local all nodes (`ff02::01`),
- realm-local all nodes (`ff03::01`),
- link-local all routers (`ff02::02`),
- realm-local all routers (`ff03::02`),
- realm-local all MPL forwarders (`ff03::fc`),
- link-local all Thread nodes,
- realm-local all Thread nodes.

<br />

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-netif-multicast-address#structot_netif_multicast_address_1aa24fb07dbf3b92fb7941e463f3fe4cef` | `https://openthread.io/reference/struct/ot-ip6-address` The IPv6 multicast address. |
| `https://openthread.io/reference/struct/ot-netif-multicast-address#structot_netif_multicast_address_1ab9241076b2bde4446e978d08dfb360b6` | `uint8_t` The multicast address origin. |
| `https://openthread.io/reference/struct/ot-netif-multicast-address#structot_netif_multicast_address_1a18e88ccdfc175689d605f70b2c0ee613` | `uint8_t` Opaque data used by OpenThread core. |
| `https://openthread.io/reference/struct/ot-netif-multicast-address#structot_netif_multicast_address_1ac79817535440549184bb80e62eb15799` | `const struct https://openthread.io/reference/struct/ot-netif-multicast-address *` A pointer to the next multicast address. |

## Public attributes

### mAddress

```
otIp6Address otNetifMulticastAddress::mAddress
```
The IPv6 multicast address.

### mAddressOrigin

```
uint8_t otNetifMulticastAddress::mAddressOrigin
```
The multicast address origin.

### mData

```
uint8_t otNetifMulticastAddress::mData
```
Opaque data used by OpenThread core.

### mNext

```
const struct otNetifMulticastAddress * otNetifMulticastAddress::mNext
```
A pointer to the next multicast address.

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