Home
last modified time | relevance | path

Searched refs:rlocs (Results 1 – 5 of 5) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_network_data.cpp113 uint16_t rlocs[kMaxRlocsArray]; in TestNetworkDataIterator() local
171 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator()
172 SuccessOrQuit(netData.FindBorderRouters(kAnyRole, rlocs, rlocsLength)); in TestNetworkDataIterator()
173 VerifyRlocsArray(rlocs, rlocsLength, kRlocs); in TestNetworkDataIterator()
176 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator()
177 SuccessOrQuit(netData.FindBorderRouters(kRouterRoleOnly, rlocs, rlocsLength)); in TestNetworkDataIterator()
178 VerifyRlocsArray(rlocs, rlocsLength, kRlocs); in TestNetworkDataIterator()
181 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator()
182 SuccessOrQuit(netData.FindBorderRouters(kChildRoleOnly, rlocs, rlocsLength)); in TestNetworkDataIterator()
287 rlocsLength = GetArrayLength(rlocs); in TestNetworkDataIterator()
[all …]
/openthread-3.6.0/src/core/thread/
Dnetwork_data.cpp778 Rlocs rlocs(aRoleFilter, aRlocs, aRlocsLength); in FindBorderRouters() local
785 SuccessOrExit(error = rlocs.AddRloc16(route.mRloc16)); in FindBorderRouters()
797 SuccessOrExit(error = rlocs.AddRloc16(prefix.mRloc16)); in FindBorderRouters()
801 aRlocsLength = rlocs.GetLength(); in FindBorderRouters()
814 uint16_t rlocs[kMaxRlocs]; in CountBorderRouters() local
817 SuccessOrAssert(FindBorderRouters(aRoleFilter, rlocs, rlocsLength)); in CountBorderRouters()
/openthread-3.6.0/tests/scripts/thread-cert/
Dtest_netdata_publisher.py425 rlocs = [int(prefix.split(' ')[3], 16) for prefix in prefixes]
426 self.assertTrue(rlocs.count(end_dev1.get_addr16()) == 1)
441 rlocs = [int(prefix.split(' ')[3], 16) for prefix in prefixes]
442 self.assertTrue(rlocs.count(end_dev1.get_addr16()) == 0)
/openthread-3.6.0/tests/scripts/thread-cert/pktverify/
Dtest_info.py54 self.rlocs = {int(k): Ipv6Addr(v) for k, v in test_info.get('rlocs', {}).items()}
Dpacket_verifier.py156 for i, rloc in self.test_info.rlocs.items():