Home
last modified time | relevance | path

Searched refs:mPreferred (Results 1 – 20 of 20) sorted by relevance

/openthread-3.6.0/src/core/net/
Dnetif.cpp255 info.mPreferred = false; in SignalMulticastAddressChange()
393 VerifyOrExit(aAddress.mPreferred != aPreferred); in UpdatePreferredFlagOn()
396 aAddress.mPreferred = aPreferred; in UpdatePreferredFlagOn()
429 info.mPreferred = aAddress.mPreferred; in SignalUnicastAddressChange()
450 entry->mPreferred = aAddress.mPreferred; in AddExternalUnicastAddress()
547 mPreferred = aPreferred; in InitAsThreadOrigin()
571 mPreferred = aPreferred; in InitAsSlaacOrigin()
Dip6.cpp1369 else if (addr.mPreferred != bestAddr->mPreferred) in SelectSourceAddress()
1373 if (addr.mPreferred) in SelectSourceAddress()
Ddhcp6_client.cpp581 idAssociation.mNetifAddress.mPreferred = option.GetPreferredLifetime() != 0; in ProcessIaAddress()
Dsrp_client.cpp568 VerifyOrExit(aUnicastAddress.mPreferred); in ShouldHostAutoAddressRegister()
/openthread-3.6.0/src/core/thread/
Dnetwork_data_types.cpp85 if (mPreferred) in ConvertToTlvFlags()
148 mPreferred = ((aFlags & BorderRouterEntry::kPreferredFlag) != 0); in SetFromTlvFlags()
Ddua_manager.cpp245 mDomainUnicastAddress.mPreferred = false; in RemoveDomainUnicastAddress()
380 mDomainUnicastAddress.mPreferred = true; in HandleTimeTick()
/openthread-3.6.0/include/openthread/
Dip6.h187 bool mPreferred : 1; ///< TRUE if the address is preferred, FALSE otherwise. member
481 bool mPreferred : 1; ///< Whether this is a preferred address. member
Dnetdata.h63 bool mPreferred : 1; ///< Whether prefix is preferred. member
Dhistory_tracker.h111 bool mPreferred : 1; ///< If the address is preferred. member
/openthread-3.6.0/src/core/utils/
Dslaac_address.cpp263 …ddress->InitAsSlaacOrigin(aConfig.mOnMesh ? aConfig.GetPrefix().mLength : 128, aConfig.mPreferred); in AddAddressFor()
Dhistory_tracker.cpp262 entry->mPreferred = aUnicastAddress.mPreferred; in RecordAddressEvent()
/openthread-3.6.0/src/cli/
Dcli_history.cpp178 … info->mPreferred ? 'Y' : 'N', info->mValid ? 'Y' : 'N', info->mRloc ? 'Y' : 'N'); in Process()
185 … info->mPreferred ? "yes" : "no", info->mValid ? "yes" : "no", info->mRloc ? "yes" : "no"); in Process()
Dcli_network_data.cpp59 if (aConfig.mPreferred) in PrefixFlagsToString()
Dcli.cpp3147 addr->mPrefixLength, addr->mPreferred, addr->mValid); in Process()
3169 address.mPreferred = true; in Process()
5685 aConfig.mPreferred = true; in ParsePrefix()
/openthread-3.6.0/tests/unit/
Dtest_routing_manager.cpp710 VerifyOrQuit(prefixConfig.mPreferred == true); in VerifyOmrPrefixInNetData()
1407 prefixConfig.mPreferred = true; in TestOmrSelection()
1571 prefixConfig.mPreferred = true; in TestDefaultRoute()
1737 prefixConfig.mPreferred = true; in TestAdvNonUlaRoute()
2022 prefixConfig.mPreferred = true; in TestDomainPrefixAsOmr()
3655 prefixConfig.mPreferred = true; in TestNat64PrefixSelection()
Dtest_dns_client.cpp523 netifAddr.mPreferred = true; in TestDnsClient()
/openthread-3.6.0/src/posix/platform/
Dnetif.cpp391 if (!aAddressInfo.mPreferred) in UpdateUnicastLinux()
464 ifr6.ifra_lifetime.ia6t_preferred = (aAddressInfo.mPreferred ? ND6_INFINITE_LIFETIME : 0); in UpdateUnicast()
/openthread-3.6.0/src/core/meshcop/
Dcommissioner.cpp78 mCommissionerAloc.mPreferred = true; in Commissioner()
/openthread-3.6.0/src/ncp/
Dncp_base_mtd.cpp86 if (aConfig.mPreferred) in BorderRouterConfigToFlagByte()
1013 borderRouterConfig.mPreferred = ((flags & SPINEL_NET_FLAG_PREFERRED) != 0); in HandlePropertyInsert()
1928 SuccessOrExit(error = mEncoder.WriteUint32(address->mPreferred ? 0xffffffff : 0)); in HandlePropertyGet()
1951 netifAddr.mPreferred = (preferredLifetime != 0); in HandlePropertyInsert()
/openthread-3.6.0/src/core/border_router/
Drouting_manager.cpp2011 if (!IsValidOmrPrefix(prefixConfig) || !prefixConfig.mPreferred) in DetermineFavoredPrefix()
2151 config.mPreferred = true; in AddOrUpdateLocalInNetData()