Represents an SRV resolver result.

Public Attributes#

const char *

The service instance name label.

const char *

The service type.

const char *

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

uint16_t

The service port number.

uint16_t

The service priority.

uint16_t

The service weight.

uint32_t

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

uint32_t

The infrastructure network interface index.

Public Attribute Documentation#

mServiceInstance#

const char* otPlatDnssdSrvResult::mServiceInstance

The service instance name label.


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

mServiceType#

const char* otPlatDnssdSrvResult::mServiceType

The service type.


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

mHostName#

const char* otPlatDnssdSrvResult::mHostName

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


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

mPort#

uint16_t otPlatDnssdSrvResult::mPort

The service port number.


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

mPriority#

uint16_t otPlatDnssdSrvResult::mPriority

The service priority.


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

mWeight#

uint16_t otPlatDnssdSrvResult::mWeight

The service weight.


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

mTtl#

uint32_t otPlatDnssdSrvResult::mTtl

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


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

mInfraIfIndex#

uint32_t otPlatDnssdSrvResult::mInfraIfIndex

The infrastructure network interface index.


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