Home
last modified time | relevance | path

Searched refs:peerInfo (Results 1 – 3 of 3) sorted by relevance

/external/ot-br-posix/src/trel_dnssd/
Dtrel_dnssd.cpp285 otPlatTrelPeerInfo peerInfo; in OnTrelServiceInstanceAdded() local
306 peerInfo.mRemoved = false; 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()
317 otPlatTrelHandleDiscoveredPeerInfo(mNcp.GetInstance(), &peerInfo); in OnTrelServiceInstanceAdded()
371 otPlatTrelPeerInfo peerInfo; in NotifyRemovePeer() local
373 peerInfo.mRemoved = true; in NotifyRemovePeer()
[all …]
/external/openthread/examples/platforms/simulation/
Dtrel.c268 otPlatTrelPeerInfo peerInfo; in processMessage() local
291 memset(&peerInfo, 0, sizeof(peerInfo)); in processMessage()
292 peerInfo.mRemoved = (aMessage->mType == TREL_DNSSD_REMOVE_SERVICE_MESSAGE); in processMessage()
293 peerInfo.mTxtData = aMessage->mData; in processMessage()
294 peerInfo.mTxtLength = (uint8_t)(aMessage->mDataLength); in processMessage()
295 peerInfo.mSockAddr = aMessage->mSockAddr; in processMessage()
296 otPlatTrelHandleDiscoveredPeerInfo(aInstance, &peerInfo); in processMessage()
/external/openthread/src/core/net/
Dtcp6.cpp802 MessageInfo peerInfo; in AutoBind() local
805 peerInfo.Clear(); in AutoBind()
806 peerInfo.SetPeerAddr(aPeer.GetAddress()); in AutoBind()
807 netifAddress = Get<Ip6>().SelectSourceAddress(peerInfo); in AutoBind()