Home
last modified time | relevance | path

Searched refs:GetPrefixLength (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/src/core/thread/
Dnetwork_data_leader_ftd.cpp381 …VerifyOrExit(validatedSegment.FindPrefix(prefix->GetPrefix(), prefix->GetPrefixLength()) == nullpt… in Validate()
753 PrefixTlv *dstPrefix = FindPrefix(aPrefix.GetPrefix(), aPrefix.GetPrefixLength()); in AddPrefix()
757 dstPrefix = As<PrefixTlv>(AppendTlv(PrefixTlv::CalculateSize(aPrefix.GetPrefixLength()))); in AddPrefix()
760 dstPrefix->Init(aPrefix.GetDomainId(), aPrefix.GetPrefixLength(), aPrefix.GetPrefix()); in AddPrefix()
918 dstContext->Init(static_cast<uint8_t>(contextId), aDstPrefix.GetPrefixLength()); in AddBorderRouter()
1045 aExcludeNetworkData.FindPrefix(prefix->GetPrefix(), prefix->GetPrefixLength()); in RemoveRloc()
Dnetwork_data_tlvs.hpp634 uint8_t GetPrefixLength(void) const { return mPrefixLength; } in GetPrefixLength() function in ot::NetworkData::PrefixTlv
655 void CopyPrefixTo(Ip6::Prefix &aPrefix) const { aPrefix.Set(GetPrefix(), GetPrefixLength()); } in CopyPrefixTo()
665 …bool IsEqual(Ip6::Prefix &aPrefix) const { return aPrefix.IsEqual(GetPrefix(), GetPrefixLength());… in IsEqual()
Dnetwork_data_leader.cpp151 if (aAddress.MatchesPrefix(prefixTlv->GetPrefix(), prefixTlv->GetPrefixLength())) in FindNextMatchingPrefixTlv()
181 if (prefixTlv->GetPrefixLength() > aContext.mPrefix.GetLength()) in GetContext()
383 uint8_t prefixLength = prefixTlv->GetPrefixLength(); in ExternalRouteLookup()
/openthread-latest/src/core/net/
Dnetif.hpp156 uint8_t GetPrefixLength(void) const { return mPrefixLength; } in GetPrefixLength() function in ot::Ip6::Netif::UnicastAddress
/openthread-latest/src/core/utils/
Dhistory_tracker.cpp250 entry->mPrefixLength = aUnicastAddress.GetPrefixLength(); in RecordAddressEvent()