Home
last modified time | relevance | path

Searched refs:aRoute (Results 1 – 12 of 12) sorted by relevance

/external/ot-br-posix/src/rest/
Djson.cpp176 static cJSON *Route2Json(const otNetworkDiagRoute &aRoute) in Route2Json() argument
180 cJSON_AddItemToObject(route, "IdSequence", cJSON_CreateNumber(aRoute.mIdSequence)); in Route2Json()
183 for (uint16_t i = 0; i < aRoute.mRouteCount; ++i) in Route2Json()
185 cJSON *RouteDatavalue = RouteData2Json(aRoute.mRouteData[i]); in Route2Json()
415 std::string Route2JsonString(const otNetworkDiagRoute &aRoute) in Route2JsonString() argument
417 cJSON * route = Route2Json(aRoute); in Route2JsonString()
Djson.hpp151 std::string Route2JsonString(const otNetworkDiagRoute &aRoute);
/external/ot-br-posix/src/dbus/common/
Ddbus_message_helper_openthread.cpp204 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ExternalRoute &aRoute) in DBusMessageEncode() argument
211 SuccessOrExit(error = DBusMessageEncode(&sub, aRoute.mPrefix)); in DBusMessageEncode()
212 SuccessOrExit(error = DBusMessageEncode(&sub, aRoute.mRloc16)); in DBusMessageEncode()
213 SuccessOrExit(error = DBusMessageEncode(&sub, aRoute.mPreference)); in DBusMessageEncode()
214 SuccessOrExit(error = DBusMessageEncode(&sub, aRoute.mStable)); in DBusMessageEncode()
215 SuccessOrExit(error = DBusMessageEncode(&sub, aRoute.mNextHopIsThisDevice)); in DBusMessageEncode()
223 otbrError DBusMessageExtract(DBusMessageIter *aIter, ExternalRoute &aRoute) in DBusMessageExtract() argument
229 SuccessOrExit(error = DBusMessageExtract(&sub, aRoute.mPrefix)); in DBusMessageExtract()
230 SuccessOrExit(error = DBusMessageExtract(&sub, aRoute.mRloc16)); in DBusMessageExtract()
231 SuccessOrExit(error = DBusMessageExtract(&sub, aRoute.mPreference)); in DBusMessageExtract()
[all …]
Ddbus_message_helper.hpp62 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ExternalRoute &aRoute);
63 otbrError DBusMessageExtract(DBusMessageIter *aIter, ExternalRoute &aRoute);
/external/openthread/src/core/thread/
Dmle_router.hpp642 void UpdateRoutes(const RouteTlv &aRoute, uint8_t aRouterId);
643 bool UpdateLinkQualityOut(const RouteTlv &aRoute, Router &aNeighbor, bool &aResetAdvInterval);
664 bool HasOneNeighborWithComparableConnectivity(const RouteTlv &aRoute, uint8_t aRouterId);
Dnetwork_data.cpp296 bool NetworkData::ContainsExternalRoute(const ExternalRouteConfig &aRoute) const in ContainsExternalRoute()
302 while (GetNextExternalRoute(iterator, aRoute.mRloc16, route) == kErrorNone) in ContainsExternalRoute()
304 if (route == aRoute) in ContainsExternalRoute()
Dmle_router.cpp1513 void MleRouter::UpdateRoutes(const RouteTlv &aRoute, uint8_t aRouterId) in UpdateRoutes() argument
1523 changed = UpdateLinkQualityOut(aRoute, *neighbor, resetAdvInterval); in UpdateRoutes()
1533 if (!aRoute.IsRouterIdSet(routerId)) in UpdateRoutes()
1549 cost = aRoute.GetRouteCost(routeCount); in UpdateRoutes()
1635 bool MleRouter::UpdateLinkQualityOut(const RouteTlv &aRoute, Router &aNeighbor, bool &aResetAdvInte… in UpdateLinkQualityOut() argument
1645 VerifyOrExit(aRoute.IsRouterIdSet(myRouterId)); in UpdateLinkQualityOut()
1650 myRouteCount += aRoute.IsRouterIdSet(routerId); in UpdateLinkQualityOut()
1653 linkQuality = aRoute.GetLinkQualityIn(myRouteCount); in UpdateLinkQualityOut()
4320 bool MleRouter::HasOneNeighborWithComparableConnectivity(const RouteTlv &aRoute, uint8_t aRouterId) in HasOneNeighborWithComparableConnectivity() argument
4351 if (!aRoute.IsRouterIdSet(router.GetRouterId())) in HasOneNeighborWithComparableConnectivity()
[all …]
Dnetwork_data.hpp289 bool ContainsExternalRoute(const ExternalRouteConfig &aRoute) const;
/external/openthread/src/core/utils/
Dhistory_tracker.cpp347 …cker::RecordExternalRouteEvent(NetDataEvent aEvent, const NetworkData::ExternalRouteConfig &aRoute) in RecordExternalRouteEvent() argument
352 entry->mRoute = aRoute; in RecordExternalRouteEvent()
Dhistory_tracker.hpp395 …void RecordExternalRouteEvent(NetDataEvent aEvent, const NetworkData::ExternalRouteConfig &aRoute);
/external/openthread/src/cli/
Dcli.hpp417 void OutputRoute(uint8_t aIndentSize, const otNetworkDiagRoute &aRoute);
Dcli.cpp5124 void Interpreter::OutputRoute(uint8_t aIndentSize, const otNetworkDiagRoute &aRoute) in OutputRoute() argument
5126 OutputLine(aIndentSize, "IdSequence: %u", aRoute.mIdSequence); in OutputRoute()
5130 for (uint16_t i = 0; i < aRoute.mRouteCount; ++i) in OutputRoute()
5133 OutputRouteData(aIndentSize + 2, aRoute.mRouteData[i]); in OutputRoute()