Home
last modified time | relevance | path

Searched refs:anycastInfo (Results 1 – 2 of 2) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_network_data.cpp688 Service::DnsSrpAnycast::Info anycastInfo; in TestNetworkDataDsnSrpServices() local
702 SuccessOrQuit(manager.GetNextDnsSrpAnycastInfo(iterator, anycastInfo)); in TestNetworkDataDsnSrpServices()
704 … printf("\nanycastInfo { %s, seq:%d }", anycastInfo.mAnycastAddress.ToString().AsCString(), in TestNetworkDataDsnSrpServices()
705 anycastInfo.mSequenceNumber); in TestNetworkDataDsnSrpServices()
707 … VerifyOrQuit(entry.Matches(anycastInfo), "GetNextDnsSrpAnycastInfo() returned incorrect info"); in TestNetworkDataDsnSrpServices()
710 VerifyOrQuit(manager.GetNextDnsSrpAnycastInfo(iterator, anycastInfo) == kErrorNotFound, in TestNetworkDataDsnSrpServices()
715 SuccessOrQuit(manager.FindPreferredDnsSrpAnycastInfo(anycastInfo)); in TestNetworkDataDsnSrpServices()
717 …printf("\n\nPreferred anycastInfo { %s, seq:%d }", anycastInfo.mAnycastAddress.ToString().AsCStrin… in TestNetworkDataDsnSrpServices()
718 anycastInfo.mSequenceNumber); in TestNetworkDataDsnSrpServices()
720 VerifyOrQuit(kAnycastEntries[kPreferredAnycastEntryIndex].Matches(anycastInfo), in TestNetworkDataDsnSrpServices()
[all …]
/openthread-3.6.0/src/core/net/
Dsrp_client.cpp2022 DnsSrpAnycast::Info anycastInfo; in ProcessAutoStart() local
2055 …else if (Get<NetworkData::Service::Manager>().FindPreferredDnsSrpAnycastInfo(anycastInfo) == kErro… in ProcessAutoStart()
2057 serverSockAddr.SetAddress(anycastInfo.mAnycastAddress); in ProcessAutoStart()
2067 (mAutoStart.GetAnycastSeqNum() != anycastInfo.mSequenceNumber)) in ProcessAutoStart()
2070 mAutoStart.SetAnycastSeqNum(anycastInfo.mSequenceNumber); in ProcessAutoStart()