Home
last modified time | relevance | path

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

/openthread-latest/src/core/thread/
Dnetwork_data_tlvs.hpp730 template <typename SubTlvType> SubTlvType *FindSubTlv(void) in FindSubTlv() function in ot::NetworkData::PrefixTlv
732 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv()
742 template <typename SubTlvType> const SubTlvType *FindSubTlv(void) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
744 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv()
756 template <typename SubTlvType> SubTlvType *FindSubTlv(bool aStable) in FindSubTlv() function in ot::NetworkData::PrefixTlv
758 return As<SubTlvType>(FindSubTlv(static_cast<Type>(SubTlvType::kType), aStable)); in FindSubTlv()
770 template <typename SubTlvType> const SubTlvType *FindSubTlv(bool aStable) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
772 return As<SubTlvType>(FindSubTlv(static_cast<Type>(SubTlvType::kType), aStable)); in FindSubTlv()
782 NetworkDataTlv *FindSubTlv(Type aType) { return AsNonConst(AsConst(this)->FindSubTlv(aType)); } in FindSubTlv() function in ot::NetworkData::PrefixTlv
791 const NetworkDataTlv *FindSubTlv(Type aType) const;
[all …]
Dnetwork_data_tlvs.cpp84 const NetworkDataTlv *PrefixTlv::FindSubTlv(Type aType) const { return Find(GetSubTlvs(), GetNext()… in FindSubTlv() function in ot::NetworkData::PrefixTlv
86 const NetworkDataTlv *PrefixTlv::FindSubTlv(Type aType, bool aStable) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
Dnetwork_data_leader_ftd.cpp542 …return (aPrefix == nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<HasRouteTlv>(aStab… in ContainsMatchingEntry()
571 …return (aPrefix == nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<BorderRouterTlv>(a… in ContainsMatchingEntry()
841 HasRouteTlv *dstHasRoute = aDstPrefix.FindSubTlv<HasRouteTlv>(aHasRoute.IsStable()); in AddHasRoute()
878 …BorderRouterTlv *dstBorderRouter = aDstPrefix.FindSubTlv<BorderRouterTlv>(aBorderRouter.Is… in AddBorderRouter()
879 ContextTlv *dstContext = aDstPrefix.FindSubTlv<ContextTlv>(); in AddBorderRouter()
1136 if ((context = aPrefix.FindSubTlv<ContextTlv>()) != nullptr) in RemoveRlocInPrefix()
1138 if (aPrefix.FindSubTlv<BorderRouterTlv>() == nullptr) in RemoveRlocInPrefix()
1312 const ContextTlv *context = prefix->FindSubTlv<ContextTlv>(); in HandleNetworkDataRestoredAfterReset()
Dnetwork_data_leader.cpp174 contextTlv = prefixTlv->FindSubTlv<ContextTlv>(); in GetContext()
200 const ContextTlv *contextTlv = prefixTlv->FindSubTlv<ContextTlv>(); in FindPrefixTlvForContextId()
281 if (prefixTlv->FindSubTlv<BorderRouterTlv>() == nullptr) in RouteLookup()
705 brSubTlv = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ true); in ContainsOmrPrefix()
Dnetwork_data_local.cpp66 VerifyOrExit(tlv->FindSubTlv(NetworkDataTlv::kTypeBorderRouter) != nullptr); in ContainsOnMeshPrefix()
Dnetwork_data_publisher.cpp970 brSubTlv = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ true); in CountOnMeshPrefixEntries()
1017 hrSubTlv = prefixTlv->FindSubTlv<HasRouteTlv>(/* aStable */ true); in CountExternalRouteEntries()
Dnetwork_data.cpp648 ContextTlv *context = aPrefix.FindSubTlv<ContextTlv>(); in RemoveTemporaryDataIn()