Home
last modified time | relevance | path

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

/external/openthread/src/core/thread/
Dnetwork_data_tlvs.hpp801 template <typename SubTlvType> SubTlvType *FindSubTlv(void) in FindSubTlv() function in ot::NetworkData::PrefixTlv
803 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv()
814 template <typename SubTlvType> const SubTlvType *FindSubTlv(void) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
816 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv()
829 template <typename SubTlvType> SubTlvType *FindSubTlv(bool aStable) in FindSubTlv() function in ot::NetworkData::PrefixTlv
831 return As<SubTlvType>(FindSubTlv(static_cast<Type>(SubTlvType::kType), aStable)); in FindSubTlv()
844 template <typename SubTlvType> const SubTlvType *FindSubTlv(bool aStable) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
846 return As<SubTlvType>(FindSubTlv(static_cast<Type>(SubTlvType::kType), aStable)); in FindSubTlv()
857 NetworkDataTlv *FindSubTlv(Type aType) { return AsNonConst(AsConst(this)->FindSubTlv(aType)); } in FindSubTlv() function in ot::NetworkData::PrefixTlv
867 const NetworkDataTlv *FindSubTlv(Type aType) const;
[all …]
Dnetwork_data_tlvs.cpp84 const NetworkDataTlv *PrefixTlv::FindSubTlv(Type aType) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
89 const NetworkDataTlv *PrefixTlv::FindSubTlv(Type aType, bool aStable) const in FindSubTlv() function in ot::NetworkData::PrefixTlv
Dnetwork_data_leader_ftd.cpp588 …return (aPrefix == nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<HasRouteTlv>(aStab… in ContainsMatchingEntry()
617 …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()
1170 if ((context = aPrefix.FindSubTlv<ContextTlv>()) != nullptr) in RemoveRlocInPrefix()
1321 const ContextTlv *context = prefix->FindSubTlv<ContextTlv>(); in HandleNetworkDataRestoredAfterReset()
1419 …const BorderRouterTlv *borderRouter = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ (i == 0… in ContainsOmrPrefix()
Dnetwork_data_leader.cpp147 contextTlv = prefix->FindSubTlv<ContextTlv>(); in GetContext()
181 const ContextTlv *contextTlv = prefix->FindSubTlv<ContextTlv>(); in GetContext()
210 … const BorderRouterTlv *borderRouter = prefix->FindSubTlv<BorderRouterTlv>(/* aStable */ (i == 0)); in IsOnMesh()
Dnetwork_data_local.cpp73 VerifyOrExit(tlv->FindSubTlv(NetworkDataTlv::kTypeBorderRouter) != nullptr); in ContainsOnMeshPrefix()
Dnetwork_data_publisher.cpp973 brSubTlv = prefixTlv->FindSubTlv<BorderRouterTlv>(/* aStable */ true); in CountOnMeshPrefixEntries()
1020 hrSubTlv = prefixTlv->FindSubTlv<HasRouteTlv>(/* aStable */ true); in CountExternalRouteEntries()
Dnetwork_data.cpp428 ContextTlv * context = aPrefix.FindSubTlv<ContextTlv>(); in RemoveTemporaryDataIn()