otPlatTrelPeerInfo Struct Reference
This structure represents a TREL peer info discovered using DNS-SD browse on the service name "_trel._udp".
#include <
include/openthread/platform/trel.h
>
Public Attributes |
|
bool | mRemoved |
This boolean flag indicates whether the entry is being removed or added.
|
|
const uint8_t * | mTxtData |
The TXT record data (encoded as specified by DNS-SD) from the SRV record of the discovered TREL peer service instance.
|
|
uint16_t | mTxtLength |
Number of bytes in
mTxtData
buffer.
|
|
otSockAddr | mSockAddr |
The TREL peer socket address (IPv6 address and port number).
|
This structure represents a TREL peer info discovered using DNS-SD browse on the service name "_trel._udp".
Member Data Documentation
◆ mRemoved
bool otPlatTrelPeerInfo::mRemoved |
This boolean flag indicates whether the entry is being removed or added.
- TRUE indicates that peer is removed.
- FALSE indicates that it is a new entry or an update to an existing entry.
◆ mSockAddr
otSockAddr otPlatTrelPeerInfo::mSockAddr |
The TREL peer socket address (IPv6 address and port number).
The port number is determined from the SRV record of the discovered TREL peer service instance. The IPv6 address is determined from the DNS-SD query for AAAA records on the hostname indicated in the SRV record of the discovered service instance. If multiple host IPv6 addressees are discovered, one with highest scope is used.
The documentation for this struct was generated from the following file:
-
include/openthread/platform/
trel.h