otMdnsSrvResult

#include <mdns.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 * otMdnsSrvResult::mHostName

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

mInfraIfIndex

uint32_t otMdnsSrvResult::mInfraIfIndex

The infrastructure network interface index.

mPort

uint16_t otMdnsSrvResult::mPort

The service port number.

mPriority

uint16_t otMdnsSrvResult::mPriority

The service priority.

mServiceInstance

const char * otMdnsSrvResult::mServiceInstance

The service instance name label.

mServiceType

const char * otMdnsSrvResult::mServiceType

The service type.

mTtl

uint32_t otMdnsSrvResult::mTtl

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

mWeight

uint16_t otMdnsSrvResult::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.