Home
last modified time | relevance | path

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

/openthread-latest/tests/unit/
Dtest_routing_manager.cpp1087 const RoutePrefix &routePrefix = aRoutePrefixes[index]; in VerifyPrefixTable() local
1089 if ((routePrefix.mPrefix == AsCoreType(&entry.mPrefix)) && in VerifyPrefixTable()
1090 (AsCoreType(&entry.mRouter.mAddress) == routePrefix.mRouterAddress)) in VerifyPrefixTable()
1092 VerifyOrQuit(entry.mValidLifetime == routePrefix.mValidLifetime); in VerifyPrefixTable()
1093 … VerifyOrQuit(static_cast<int8_t>(entry.mRoutePreference) == routePrefix.mPreference); in VerifyPrefixTable()
1253 Ip6::Prefix routePrefix = PrefixFromString("2000:1234:5678::", 64); in TestSamePrefixesFromMultipleRouters() local
1299 {Rio(routePrefix, kValidLitime, NetworkData::kRoutePreferenceMedium)}); in TestSamePrefixesFromMultipleRouters()
1315 … {RoutePrefix(routePrefix, kValidLitime, NetworkData::kRoutePreferenceMedium, routerAddressA)}); in TestSamePrefixesFromMultipleRouters()
1327 {Rio(routePrefix, kValidLitime, NetworkData::kRoutePreferenceMedium)}); in TestSamePrefixesFromMultipleRouters()
1334 … {RoutePrefix(routePrefix, kValidLitime, NetworkData::kRoutePreferenceMedium, routerAddressA)}); in TestSamePrefixesFromMultipleRouters()
[all …]
/openthread-latest/src/core/border_router/
Drouting_manager.cpp1889 for (const RoutePrefix &routePrefix : router.mRoutePrefixes) in IsAddressReachableThroughExplicitRoute() local
1891 if (routePrefix.GetPrefix().GetLength() == 0) in IsAddressReachableThroughExplicitRoute()
1896 isReachable = aAddress.MatchesPrefix(routePrefix.GetPrefix()); in IsAddressReachableThroughExplicitRoute()