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


mServiceType#

const char* otPlatDnssdKey::mServiceType

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


mKeyData#

const uint8_t* otPlatDnssdKey::mKeyData

Byte array containing the key record data.


mKeyDataLength#

uint16_t otPlatDnssdKey::mKeyDataLength

Length of mKeyData in bytes.


mClass#

uint16_t otPlatDnssdKey::mClass

The resource record class.


mTtl#

uint32_t otPlatDnssdKey::mTtl

The TTL in seconds.


mInfraIfIndex#

uint32_t otPlatDnssdKey::mInfraIfIndex

The infrastructure network interface index.