Home
last modified time | relevance | path

Searched refs:aRouteTlv (Results 1 – 7 of 7) sorted by relevance

/openthread-3.6.0/src/core/thread/
Drouter_table.cpp69 bool RouterTable::IsRouteTlvIdSequenceMoreRecent(const Mle::RouteTlv &aRouteTlv) const in IsRouteTlvIdSequenceMoreRecent()
72 SerialNumber::IsGreater(aRouteTlv.GetRouterIdSequence(), GetRouterIdSequence()); in IsRouteTlvIdSequenceMoreRecent()
564 void RouterTable::UpdateRoutes(const Mle::RouteTlv &aRouteTlv, uint8_t aNeighborId) in UpdateRoutes() argument
594 index += aRouteTlv.IsRouterIdSet(routerId) ? 1 : 0, routerId++) in UpdateRoutes()
601 if (aRouteTlv.IsRouterIdSet(routerId)) in UpdateRoutes()
603 LinkQuality linkQuality = aRouteTlv.GetLinkQualityIn(index); in UpdateRoutes()
618 index += aRouteTlv.IsRouterIdSet(routerId) ? 1 : 0, routerId++) in UpdateRoutes()
624 if (!aRouteTlv.IsRouterIdSet(routerId)) in UpdateRoutes()
638 cost = aRouteTlv.GetRouteCost(index); in UpdateRoutes()
688 void RouterTable::UpdateRoutesOnFed(const Mle::RouteTlv &aRouteTlv, uint8_t aParentId) in UpdateRoutesOnFed() argument
[all …]
Drouter_table.hpp329 bool IsRouteTlvIdSequenceMoreRecent(const Mle::RouteTlv &aRouteTlv) const;
368 void UpdateRoutes(const Mle::RouteTlv &aRouteTlv, uint8_t aNeighborId);
379 void UpdateRoutesOnFed(const Mle::RouteTlv &aRouteTlv, uint8_t aParentId);
400 void FillRouteTlv(Mle::RouteTlv &aRouteTlv, const Neighbor *aNeighbor = nullptr) const;
Dmle_router.hpp656 Error ProcessRouteTlv(const RouteTlv &aRouteTlv, RxInfo &aRxInfo);
707 bool ShouldDowngrade(uint8_t aNeighborId, const RouteTlv &aRouteTlv) const;
708 bool NeighborHasComparableConnectivity(const RouteTlv &aRouteTlv, uint8_t aNeighborId) const;
Dnetwork_diagnostic.cpp969 static void ParseRoute(const RouteTlv &aRouteTlv, otNetworkDiagRoute &aNetworkDiagRoute) in ParseRoute() argument
975 if (!aRouteTlv.IsRouterIdSet(i)) in ParseRoute()
980 … aNetworkDiagRoute.mRouteData[routeCount].mRouteCost = aRouteTlv.GetRouteCost(routeCount); in ParseRoute()
981 … aNetworkDiagRoute.mRouteData[routeCount].mLinkQualityIn = aRouteTlv.GetLinkQualityIn(routeCount); in ParseRoute()
982 …aNetworkDiagRoute.mRouteData[routeCount].mLinkQualityOut = aRouteTlv.GetLinkQualityOut(routeCount); in ParseRoute()
986 aNetworkDiagRoute.mIdSequence = aRouteTlv.GetRouterIdSequence(); in ParseRoute()
Dmle_router.cpp1072 Error MleRouter::ProcessRouteTlv(const RouteTlv &aRouteTlv, RxInfo &aRxInfo) in ProcessRouteTlv() argument
1091 mRouterTable.UpdateRouterIdSet(aRouteTlv.GetRouterIdSequence(), aRouteTlv.GetRouterIdMask()); in ProcessRouteTlv()
3767 bool MleRouter::ShouldDowngrade(uint8_t aNeighborId, const RouteTlv &aRouteTlv) const in ShouldDowngrade()
3816 VerifyOrExit(NeighborHasComparableConnectivity(aRouteTlv, aNeighborId)); in ShouldDowngrade()
3829 bool MleRouter::NeighborHasComparableConnectivity(const RouteTlv &aRouteTlv, uint8_t aNeighborId) c… in NeighborHasComparableConnectivity() argument
3839 index += aRouteTlv.IsRouterIdSet(routerId) ? 1 : 0, routerId++) in NeighborHasComparableConnectivity()
3868 if (!aRouteTlv.IsRouterIdSet(routerId)) in NeighborHasComparableConnectivity()
3873 … peerLinkQuality = Min(aRouteTlv.GetLinkQualityIn(index), aRouteTlv.GetLinkQualityOut(index)); in NeighborHasComparableConnectivity()
Dmle.hpp1072 Error ReadRouteTlv(RouteTlv &aRouteTlv) const;
Dmle.cpp5081 Error Mle::RxMessage::ReadRouteTlv(RouteTlv &aRouteTlv) const in ReadRouteTlv()
5085 SuccessOrExit(error = Tlv::FindTlv(*this, aRouteTlv)); in ReadRouteTlv()
5086 VerifyOrExit(aRouteTlv.IsValid(), error = kErrorParse); in ReadRouteTlv()