• Home
  • Raw
  • Download

Lines Matching refs:aInstanceInfo

114 …   [this](const std::string &aType, const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) {  in StartBrowse()  argument
115 OnTrelServiceInstanceResolved(aType, aInstanceInfo); in StartBrowse()
211 … const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) in OnTrelServiceInstanceResolved() argument
214 VerifyOrExit(aInstanceInfo.mNetifIndex == mTrelNetifIndex); in OnTrelServiceInstanceResolved()
216 if (aInstanceInfo.mRemoved) in OnTrelServiceInstanceResolved()
218 OnTrelServiceInstanceRemoved(aInstanceInfo.mName); in OnTrelServiceInstanceResolved()
222 OnTrelServiceInstanceAdded(aInstanceInfo); in OnTrelServiceInstanceResolved()
282 …TrelDnssd::OnTrelServiceInstanceAdded(const Mdns::Publisher::DiscoveredInstanceInfo &aInstanceInfo) in OnTrelServiceInstanceAdded() argument
284 std::string instanceName = StringUtils::ToLowercase(aInstanceInfo.mName); in OnTrelServiceInstanceAdded()
292aInstanceInfo.mName.c_str(), aInstanceInfo.mHostName.c_str(), aInstanceInfo.mAddresses.size(), in OnTrelServiceInstanceAdded()
293 aInstanceInfo.mPort, aInstanceInfo.mPriority, aInstanceInfo.mWeight); in OnTrelServiceInstanceAdded()
295 for (const auto &addr : aInstanceInfo.mAddresses) in OnTrelServiceInstanceAdded()
300 if (aInstanceInfo.mAddresses.empty()) in OnTrelServiceInstanceAdded()
302 … otbrLogWarning("Peer %s does not have any IPv6 address, ignored", aInstanceInfo.mName.c_str()); in OnTrelServiceInstanceAdded()
307 …memcpy(&peerInfo.mSockAddr.mAddress, &aInstanceInfo.mAddresses[0], sizeof(peerInfo.mSockAddr.mAddr… in OnTrelServiceInstanceAdded()
308 peerInfo.mSockAddr.mPort = aInstanceInfo.mPort; in OnTrelServiceInstanceAdded()
309 peerInfo.mTxtData = aInstanceInfo.mTxtData.data(); in OnTrelServiceInstanceAdded()
310 peerInfo.mTxtLength = aInstanceInfo.mTxtData.size(); in OnTrelServiceInstanceAdded()
313 Peer peer(aInstanceInfo.mTxtData, peerInfo.mSockAddr); in OnTrelServiceInstanceAdded()
315 … VerifyOrExit(peer.mValid, otbrLogWarning("Peer %s is invalid", aInstanceInfo.mName.c_str())); in OnTrelServiceInstanceAdded()