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* otMdnsSrvResult::mServiceInstance

The service instance name label.


Definition at line 577 of file include/openthread/mdns.h

mServiceType#

const char* otMdnsSrvResult::mServiceType

The service type.


Definition at line 578 of file include/openthread/mdns.h

mHostName#

const char* otMdnsSrvResult::mHostName

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


Definition at line 579 of file include/openthread/mdns.h

mPort#

uint16_t otMdnsSrvResult::mPort

The service port number.


Definition at line 580 of file include/openthread/mdns.h

mPriority#

uint16_t otMdnsSrvResult::mPriority

The service priority.


Definition at line 581 of file include/openthread/mdns.h

mWeight#

uint16_t otMdnsSrvResult::mWeight

The service weight.


Definition at line 582 of file include/openthread/mdns.h

mTtl#

uint32_t otMdnsSrvResult::mTtl

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


Definition at line 583 of file include/openthread/mdns.h

mInfraIfIndex#

uint32_t otMdnsSrvResult::mInfraIfIndex

The infrastructure network interface index.


Definition at line 584 of file include/openthread/mdns.h