/external/ot-br-posix/src/rest/ |
D | json.cpp | 176 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()
|
D | json.hpp | 151 std::string Route2JsonString(const otNetworkDiagRoute &aRoute);
|
/external/ot-br-posix/src/dbus/common/ |
D | dbus_message_helper_openthread.cpp | 204 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 …]
|
D | dbus_message_helper.hpp | 62 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ExternalRoute &aRoute); 63 otbrError DBusMessageExtract(DBusMessageIter *aIter, ExternalRoute &aRoute);
|
/external/openthread/src/core/thread/ |
D | mle_router.hpp | 642 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);
|
D | network_data.cpp | 296 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()
|
D | mle_router.cpp | 1513 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 …]
|
D | network_data.hpp | 289 bool ContainsExternalRoute(const ExternalRouteConfig &aRoute) const;
|
/external/openthread/src/core/utils/ |
D | history_tracker.cpp | 347 …cker::RecordExternalRouteEvent(NetDataEvent aEvent, const NetworkData::ExternalRouteConfig &aRoute) in RecordExternalRouteEvent() argument 352 entry->mRoute = aRoute; in RecordExternalRouteEvent()
|
D | history_tracker.hpp | 395 …void RecordExternalRouteEvent(NetDataEvent aEvent, const NetworkData::ExternalRouteConfig &aRoute);
|
/external/openthread/src/cli/ |
D | cli.hpp | 417 void OutputRoute(uint8_t aIndentSize, const otNetworkDiagRoute &aRoute);
|
D | cli.cpp | 5124 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()
|