Home
last modified time | relevance | path

Searched refs:routeConfig (Results 1 – 4 of 4) sorted by relevance

/openthread-3.5.0/src/core/border_router/
Drouting_manager.cpp1048 NetworkData::ExternalRouteConfig routeConfig; in NetworkDataContainsUlaRoute() local
1051 while (Get<NetworkData::Leader>().GetNextExternalRoute(iterator, routeConfig) == kErrorNone) in NetworkDataContainsUlaRoute()
1053 … if (routeConfig.mStable && RoutePublisher::GetUlaPrefix().ContainsPrefix(routeConfig.GetPrefix())) in NetworkDataContainsUlaRoute()
2821 NetworkData::ExternalRouteConfig routeConfig; in UpdatePublishedRoute() local
2832 routeConfig.Clear(); in UpdatePublishedRoute()
2833 routeConfig.mPreference = mPreference; in UpdatePublishedRoute()
2834 routeConfig.mAdvPio = mAdvPioFlag; in UpdatePublishedRoute()
2835 routeConfig.mStable = true; in UpdatePublishedRoute()
2836 DeterminePrefixFor(aNewState, routeConfig.GetPrefix()); in UpdatePublishedRoute()
2847 routeConfig, NetworkData::Publisher::kFromRoutingManager)); in UpdatePublishedRoute()
[all …]
/openthread-3.5.0/tests/unit/
Dtest_routing_manager.cpp645 otExternalRouteConfig routeConfig; in VerifyExternalRouteInNetData() local
647 error = otNetDataGetNextRoute(sInstance, &iterator, &routeConfig); in VerifyExternalRouteInNetData()
659 VerifyOrQuit(routeConfig.mPrefix.mLength == 0); in VerifyExternalRouteInNetData()
660 …VerifyOrQuit((aAdvPioMode == kSkipAdvPioCheck) || (routeConfig.mAdvPio == (aAdvPioMode == kWithAdv… in VerifyExternalRouteInNetData()
661 VerifyOrQuit(otNetDataGetNextRoute(sInstance, &iterator, &routeConfig) != kErrorNone); in VerifyExternalRouteInNetData()
667 VerifyOrQuit(routeConfig.mPrefix.mLength == 7); in VerifyExternalRouteInNetData()
668 VerifyOrQuit(routeConfig.mPrefix.mPrefix.mFields.m8[0] == 0xfc); in VerifyExternalRouteInNetData()
669 …VerifyOrQuit((aAdvPioMode == kSkipAdvPioCheck) || (routeConfig.mAdvPio == (aAdvPioMode == kWithAdv… in VerifyExternalRouteInNetData()
670 VerifyOrQuit(otNetDataGetNextRoute(sInstance, &iterator, &routeConfig) != kErrorNone); in VerifyExternalRouteInNetData()
678 NetworkData::ExternalRouteConfig routeConfig; in VerifyNat64PrefixInNetData() local
[all …]
/openthread-3.5.0/src/ncp/
Dncp_base_mtd.cpp2130 otExternalRouteConfig routeConfig; in HandlePropertyGet() local
2133 while (otNetDataGetNextRoute(mInstance, &iter, &routeConfig) == OT_ERROR_NONE) in HandlePropertyGet()
2137 SuccessOrExit(error = mEncoder.WriteIp6Address(routeConfig.mPrefix.mPrefix)); in HandlePropertyGet()
2138 SuccessOrExit(error = mEncoder.WriteUint8(routeConfig.mPrefix.mLength)); in HandlePropertyGet()
2139 SuccessOrExit(error = mEncoder.WriteBool(routeConfig.mStable)); in HandlePropertyGet()
2140 SuccessOrExit(error = mEncoder.WriteUint8(ExternalRouteConfigToFlagByte(routeConfig))); in HandlePropertyGet()
2142 SuccessOrExit(error = mEncoder.WriteBool(routeConfig.mNextHopIsThisDevice)); in HandlePropertyGet()
2143 SuccessOrExit(error = mEncoder.WriteUint16(routeConfig.mRloc16)); in HandlePropertyGet()
2152 while (otBorderRouterGetNextRoute(mInstance, &iter, &routeConfig) == OT_ERROR_NONE) in HandlePropertyGet()
2156 SuccessOrExit(error = mEncoder.WriteIp6Address(routeConfig.mPrefix.mPrefix)); in HandlePropertyGet()
[all …]
/openthread-3.5.0/src/core/thread/
Dnetwork_data.cpp682 ExternalRouteConfig routeConfig; in GetNextServer() local
687 config.mExternalRoute = &routeConfig; in GetNextServer()