Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/thread/
Dnetwork_data_tlvs.hpp789 template <typename SubTlvType> SubTlvType *FindSubTlv(void) in FindSubTlv() function in ot::NetworkData::PrefixTlv
791 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv()
802 template <typename SubTlvType> const SubTlvType *FindSubTlv(void) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
804 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv()
817 template <typename SubTlvType> SubTlvType *FindSubTlv(bool aStable) in FindSubTlv() function in ot::NetworkData::PrefixTlv
819 return As<SubTlvType>(FindSubTlv(static_cast<Type>(SubTlvType::kType), aStable)); in FindSubTlv()
832 template <typename SubTlvType> const SubTlvType *FindSubTlv(bool aStable) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
834 return As<SubTlvType>(FindSubTlv(static_cast<Type>(SubTlvType::kType), aStable)); in FindSubTlv()
845 NetworkDataTlv *FindSubTlv(Type aType) { return AsNonConst(AsConst(this)->FindSubTlv(aType)); } in FindSubTlv() function in ot::NetworkData::PrefixTlv
855 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.cpp564 …return (aPrefix == nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<HasRouteTlv>(aStab… in ContainsMatchingEntry()
593 …return (aPrefix == nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<BorderRouterTlv>(a… in ContainsMatchingEntry()
810 HasRouteTlv *dstHasRoute = aDstPrefix.FindSubTlv<HasRouteTlv>(aHasRoute.IsStable()); in AddHasRoute()
847 …BorderRouterTlv *dstBorderRouter = aDstPrefix.FindSubTlv<BorderRouterTlv>(aBorderRouter.Is… in AddBorderRouter()
848 ContextTlv *dstContext = aDstPrefix.FindSubTlv<ContextTlv>(); in AddBorderRouter()
1095 if ((context = aPrefix.FindSubTlv<ContextTlv>()) != nullptr) in RemoveRlocInPrefix()
1097 if (aPrefix.FindSubTlv<BorderRouterTlv>() == nullptr) in RemoveRlocInPrefix()
1248 const ContextTlv *context = prefix->FindSubTlv<ContextTlv>(); in HandleNetworkDataRestoredAfterReset()
1290 …const BorderRouterTlv *borderRouter = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ (i == 0… in ContainsOmrPrefix()
Dnetwork_data_leader.cpp152 contextTlv = prefixTlv->FindSubTlv<ContextTlv>(); in GetContext()
185 const ContextTlv *contextTlv = prefixTlv->FindSubTlv<ContextTlv>(); in GetContext()
Dnetwork_data_local.cpp73 VerifyOrExit(tlv->FindSubTlv(NetworkDataTlv::kTypeBorderRouter) != nullptr); in ContainsOnMeshPrefix()
Dnetwork_data_publisher.cpp978 brSubTlv = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ true); in CountOnMeshPrefixEntries()
1025 hrSubTlv = prefixTlv->FindSubTlv<HasRouteTlv>(/* aStable */ true); in CountExternalRouteEntries()
Dnetwork_data.cpp471 ContextTlv *context = aPrefix.FindSubTlv<ContextTlv>(); in RemoveTemporaryDataIn()