Represents a DNS-SD key record.

See otPlatDnssdRegisterKey(), otPlatDnssdUnregisterKey() for more details about fields in each case.

Public Attributes#

const char *

A host or a service instance name (does not include domain name).

const char *

The service type if key is for a service (does not include domain name).

const uint8_t *

Byte array containing the key record data.

uint16_t

Length of mKeyData in bytes.

uint16_t

The resource record class.

uint32_t

The TTL in seconds.

uint32_t

The infrastructure network interface index.

Public Attribute Documentation#

mName#

const char* otPlatDnssdKey::mName

A host or a service instance name (does not include domain name).


Definition at line 129 of file include/openthread/platform/dnssd.h

mServiceType#

const char* otPlatDnssdKey::mServiceType

The service type if key is for a service (does not include domain name).


Definition at line 130 of file include/openthread/platform/dnssd.h

mKeyData#

const uint8_t* otPlatDnssdKey::mKeyData

Byte array containing the key record data.


Definition at line 131 of file include/openthread/platform/dnssd.h

mKeyDataLength#

uint16_t otPlatDnssdKey::mKeyDataLength

Length of mKeyData in bytes.


Definition at line 132 of file include/openthread/platform/dnssd.h

mClass#

uint16_t otPlatDnssdKey::mClass

The resource record class.


Definition at line 133 of file include/openthread/platform/dnssd.h

mTtl#

uint32_t otPlatDnssdKey::mTtl

The TTL in seconds.


Definition at line 134 of file include/openthread/platform/dnssd.h

mInfraIfIndex#

uint32_t otPlatDnssdKey::mInfraIfIndex

The infrastructure network interface index.


Definition at line 135 of file include/openthread/platform/dnssd.h