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.


mServiceType#

const char* otPlatDnssdSrvResult::mServiceType

The service type.


mHostName#

const char* otPlatDnssdSrvResult::mHostName

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


mPort#

uint16_t otPlatDnssdSrvResult::mPort

The service port number.


mPriority#

uint16_t otPlatDnssdSrvResult::mPriority

The service priority.


mWeight#

uint16_t otPlatDnssdSrvResult::mWeight

The service weight.


mTtl#

uint32_t otPlatDnssdSrvResult::mTtl

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


mInfraIfIndex#

uint32_t otPlatDnssdSrvResult::mInfraIfIndex

The infrastructure network interface index.