otMdnsLocalHostAddress

#include <mdns.h>

Represents a local host IPv4 or IPv6 address entry.

Summary

Public attributes

mAddress
union otMdnsLocalHostAddress::@5
The address.
mInfraIfIndex
uint32_t
The infrastructure network interface index.
mIp4
The IPv4 address (valid when mIsIp6 is false).
mIp6
The IPv6 address (valid when mIsIp6 is true).
mIsIp6
bool
Indicates whether the address is IPv6 (true) or IPv4 (false).

Public attributes

mAddress

union otMdnsLocalHostAddress::@5 otMdnsLocalHostAddress::mAddress

The address.

mInfraIfIndex

uint32_t otMdnsLocalHostAddress::mInfraIfIndex

The infrastructure network interface index.

mIp4

otIp4Address otMdnsLocalHostAddress::mIp4

The IPv4 address (valid when mIsIp6 is false).

mIp6

otIp6Address otMdnsLocalHostAddress::mIp6

The IPv6 address (valid when mIsIp6 is true).

mIsIp6

bool otMdnsLocalHostAddress::mIsIp6

Indicates whether the address is IPv6 (true) or IPv4 (false).

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.