Home
last modified time | relevance | path

Searched refs:IsPreferred (Results 1 – 3 of 3) sorted by relevance

/openthread-latest/src/core/thread/
Dnetwork_data_publisher.cpp262 bool Publisher::Entry::IsPreferred(uint16_t aRloc16) const in IsPreferred() function in ot::NetworkData::Publisher::Entry
702 if ((anycastInfo.mVersion > mInfo.GetVersion()) || IsPreferred(anycastInfo.mRloc16)) in CountAnycastEntries()
738 if ((unicastInfo.mVersion > mInfo.GetVersion()) || IsPreferred(unicastInfo.mRloc16)) in CountUnicastEntries()
996 if ((entryPreference > preference) || IsPreferred(entry->GetRloc())) in CountOnMeshPrefixEntries()
1043 if ((entryPreference > preference) || IsPreferred(entry->GetRloc())) in CountExternalRouteEntries()
Dnetwork_data_publisher.hpp351 bool IsPreferred(uint16_t aRloc16) const;
Dnetwork_data_tlvs.hpp895 bool IsPreferred(void) const { return (BigEndian::HostSwap16(mFlags) & kPreferredFlag) != 0; } in IsPreferred() function in ot::NetworkData::BorderRouterEntry