Lines Matching refs:aConfig
119 bool Slaac::IsSlaac(const NetworkData::OnMeshPrefixConfig &aConfig) const in IsSlaac()
121 …return aConfig.mSlaac && !aConfig.mDp && (aConfig.GetPrefix().GetLength() == Ip6::NetworkPrefix::k… in IsSlaac()
124 bool Slaac::IsFiltered(const NetworkData::OnMeshPrefixConfig &aConfig) const in IsFiltered()
126 return (mFilter != nullptr) ? mFilter(&GetInstance(), &aConfig.GetPrefix()) : false; in IsFiltered()
158 bool Slaac::DoesConfigMatchNetifAddr(const NetworkData::OnMeshPrefixConfig &aConfig, in DoesConfigMatchNetifAddr() argument
161 return (((aConfig.mOnMesh && (aAddr.mPrefixLength == aConfig.mPrefix.mLength)) || in DoesConfigMatchNetifAddr()
162 (!aConfig.mOnMesh && (aAddr.mPrefixLength == 128))) && in DoesConfigMatchNetifAddr()
163 (aAddr.GetAddress().MatchesPrefix(aConfig.GetPrefix()))); in DoesConfigMatchNetifAddr()
306 void Slaac::AddAddressFor(const NetworkData::OnMeshPrefixConfig &aConfig) in AddAddressFor() argument
345 …newAddress->InitAsSlaacOrigin(aConfig.mOnMesh ? aConfig.GetPrefix().mLength : 128, aConfig.mPrefer… in AddAddressFor()
346 newAddress->GetAddress().SetPrefix(aConfig.GetPrefix()); in AddAddressFor()
348 IgnoreError(Get<NetworkData::Leader>().FindDomainIdFor(aConfig.GetPrefix(), domainId)); in AddAddressFor()