Home
last modified time | relevance | path

Searched refs:mOnMesh (Results 1 – 13 of 13) sorted by relevance

/external/openthread/src/core/utils/
Dslaac_address.cpp141 return (((aConfig.mOnMesh && (aAddr.mPrefixLength == aConfig.mPrefix.mLength)) || in DoesConfigMatchNetifAddr()
142 (!aConfig.mOnMesh && (aAddr.mPrefixLength == 128))) && in DoesConfigMatchNetifAddr()
234 … slaacAddr.InitAsSlaacOrigin(config.mOnMesh ? prefix.mLength : 128, config.mPreferred); in Update()
/external/openthread/tests/unit/
Dtest_routing_manager.cpp448 VerifyOrQuit(prefixConfig.mOnMesh == true); in TestRoutingManager()
529 VerifyOrQuit(prefixConfig.mOnMesh == true); in TestRoutingManager()
664 VerifyOrQuit(prefixConfig.mOnMesh == true); in TestRoutingManager()
766 prefixConfig.mOnMesh = true; in TestRoutingManager()
799 VerifyOrQuit(prefixConfig.mOnMesh == true); in TestRoutingManager()
850 VerifyOrQuit(prefixConfig.mOnMesh == true); in TestRoutingManager()
Dtest_network_data.cpp86 … (aConfig1.mDefaultRoute == aConfig2.mDefaultRoute) && (aConfig1.mOnMesh == aConfig2.mOnMesh); in CompareOnMeshPrefixConfig()
/external/openthread/src/core/thread/
Dnetwork_data_types.cpp110 if (mOnMesh) in ConvertToTlvFlags()
153 mOnMesh = ((aFlags & BorderRouterEntry::kOnMeshFlag) != 0); in SetFromTlvFlags()
Dnetwork_data.cpp787 if (!prefix.mDefaultRoute || !prefix.mOnMesh) in FindBorderRouters()
836 if ((prefix.mRloc16 == aRloc16) && prefix.mOnMesh && (prefix.mDefaultRoute || prefix.mDp)) in ContainsBorderRouterWithRloc()
/external/openthread/include/openthread/
Dnetdata.h67 bool mOnMesh : 1; ///< Whether this prefix is considered on-mesh. member
/external/ot-br-posix/src/dbus/common/
Dtypes.hpp137 bool mOnMesh; member
Ddbus_message_helper_openthread.cpp257 SuccessOrExit(error = DBusMessageEncode(&sub, aPrefix.mOnMesh)); in DBusMessageEncode()
281 SuccessOrExit(error = DBusMessageExtract(&sub, aPrefix.mOnMesh)); in DBusMessageExtract()
/external/openthread/src/core/border_router/
Drouting_manager.cpp791 …if (!prefixConfig.mOnMesh || prefixConfig.mDp || (prefixConfig.GetPrefix() == mLocalOmrPrefix.GetP… in SendRouterAdvertisement()
870 if (prefixConfig.mOnMesh && !prefixConfig.mDp && !IsValidOmrPrefix(prefixConfig)) in SendRouterAdvertisement()
979 return IsValidOmrPrefix(aOnMeshPrefixConfig.GetPrefix()) && aOnMeshPrefixConfig.mOnMesh && in IsValidOmrPrefix()
2084 config.mOnMesh = true; in AddToNetData()
/external/openthread/src/cli/
Dcli_network_data.cpp75 if (aConfig.mOnMesh) in PrefixFlagsToString()
Dcli.cpp3727 aConfig.mOnMesh = true; in ParsePrefix()
/external/ot-br-posix/src/dbus/server/
Ddbus_thread_object.cpp490 config.mOnMesh = onMeshPrefix.mOnMesh; in AddOnMeshPrefixHandler()
1121 prefix.mOnMesh = config.mOnMesh; in GetOnMeshPrefixesHandler()
/external/openthread/src/ncp/
Dncp_base_mtd.cpp113 if (aConfig.mOnMesh) in BorderRouterConfigToFlagByte()
1014 borderRouterConfig.mOnMesh = ((flags & SPINEL_NET_FLAG_ON_MESH) != 0); in HandlePropertyInsert()