otPlatDnssdSrvResult

#include <dnssd.h>

Represents an SRV resolver result.

Summary

Public attributes

mHostName
const char *
The host name (e.g., "myhost"). Can be NULL when mTtl is zero.
mInfraIfIndex
uint32_t
The infrastructure network interface index.
mPort
uint16_t
The service port number.
mPriority
uint16_t
The service priority.
mServiceInstance
const char *
The service instance name label.
mServiceType
const char *
The service type.
mTtl
uint32_t
The service TTL in seconds. Zero TTL indicates SRV record is removed.
mWeight
uint16_t
The service weight.

Public attributes

mHostName

const char * otPlatDnssdSrvResult::mHostName

The host name (e.g., "myhost"). Can be NULL when mTtl is zero.

mInfraIfIndex

uint32_t otPlatDnssdSrvResult::mInfraIfIndex

The infrastructure network interface index.

mPort

uint16_t otPlatDnssdSrvResult::mPort

The service port number.

mPriority

uint16_t otPlatDnssdSrvResult::mPriority

The service priority.

mServiceInstance

const char * otPlatDnssdSrvResult::mServiceInstance

The service instance name label.

mServiceType

const char * otPlatDnssdSrvResult::mServiceType

The service type.

mTtl

uint32_t otPlatDnssdSrvResult::mTtl

The service TTL in seconds. Zero TTL indicates SRV record is removed.

mWeight

uint16_t otPlatDnssdSrvResult::mWeight

The service weight.

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.