otPlatDnssdKey

#include <dnssd.h>

Represents a DNS-SD key record.

Summary

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

Public attributes

mClass
uint16_t
The resource record class.
mInfraIfIndex
uint32_t
The infrastructure network interface index.
mKeyData
const uint8_t *
Byte array containing the key record data.
mKeyDataLength
uint16_t
Length of mKeyData in bytes.
mName
const char *
A host or a service instance name (does not include domain name).
mServiceType
const char *
The service type if key is for a service (does not include domain name).
mTtl
uint32_t
The TTL in seconds.

Public attributes

mClass

uint16_t otPlatDnssdKey::mClass

The resource record class.

mInfraIfIndex

uint32_t otPlatDnssdKey::mInfraIfIndex

The infrastructure network interface index.

mKeyData

const uint8_t * otPlatDnssdKey::mKeyData

Byte array containing the key record data.

mKeyDataLength

uint16_t otPlatDnssdKey::mKeyDataLength

Length of mKeyData in bytes.

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

mTtl

uint32_t otPlatDnssdKey::mTtl

The TTL in seconds.

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.