Searched refs:GetPrefixLength (Results 1 – 5 of 5) sorted by relevance
381 …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()
634 uint8_t GetPrefixLength(void) const { return mPrefixLength; } in GetPrefixLength() function in ot::NetworkData::PrefixTlv655 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()
151 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()
156 uint8_t GetPrefixLength(void) const { return mPrefixLength; } in GetPrefixLength() function in ot::Ip6::Netif::UnicastAddress
250 entry->mPrefixLength = aUnicastAddress.GetPrefixLength(); in RecordAddressEvent()