Home
last modified time | relevance | path

Searched refs:GetIid (Results 1 – 25 of 32) sorted by relevance

12

/openthread-latest/src/core/thread/
Dlowpan.cpp99 if (iid == aIpAddr.GetIid()) in CompressSourceIid()
103 else if (aIpAddr.GetIid().IsLocator()) in CompressSourceIid()
106 error = aFrameBuilder.AppendBigEndianUint16(aIpAddr.GetIid().GetLocator()); in CompressSourceIid()
111 error = aFrameBuilder.Append(aIpAddr.GetIid()); in CompressSourceIid()
128 if (iid == aIpAddr.GetIid()) in CompressDestinationIid()
132 else if (aIpAddr.GetIid().IsLocator()) in CompressDestinationIid()
135 error = aFrameBuilder.AppendBigEndianUint16(aIpAddr.GetIid().GetLocator()); in CompressDestinationIid()
140 error = aFrameBuilder.Append(aIpAddr.GetIid()); in CompressDestinationIid()
697 SuccessOrExit(aFrameData.Read(aIp6Header.GetSource().GetIid())); in DecompressBaseHeader()
707 IgnoreError(ComputeIid(aMacAddrs.mSource, srcContext, aIp6Header.GetSource().GetIid())); in DecompressBaseHeader()
[all …]
Dchild.cpp196 mMeshLocalIid = aAddress.GetIid(); in AddIp6Address()
214 if (aAddress.GetIid() == mMeshLocalIid) in RemoveIp6Address()
258 hasAddress = (aAddress.GetIid() == mMeshLocalIid); in HasIp6Address()
Danycast_locator.cpp97 SuccessOrExit(Tlv::Find<ThreadMeshLocalEidTlv>(*aMessage, meshLocalAddress.GetIid())); in HandleResponse()
122 …ssOrExit(Tlv::Append<ThreadMeshLocalEidTlv>(*message, Get<Mle::Mle>().GetMeshLocalEid().GetIid())); in HandleTmf()
Dneighbor_table.cpp141 aIp6Address.GetIid().ConvertToMacAddress(macAddress); in FindNeighbor()
146 macAddress.SetShort(aIp6Address.GetIid().GetLocator()); in FindNeighbor()
Daddress_resolver.cpp677 … aMessageInfo.GetPeerAddr().GetIid().GetLocator(), target.ToString().AsCString(), rloc16); in HandleTmf()
788 …if (address.GetAddress() == target && Get<Mle::MleRouter>().GetMeshLocalEid().GetIid() != meshLoca… in HandleTmf()
853 aMessageInfo.GetPeerAddr().GetIid().GetLocator(), target.ToString().AsCString()); in HandleTmf()
857 SendAddressQueryResponse(target, Get<Mle::MleRouter>().GetMeshLocalEid().GetIid(), nullptr, in HandleTmf()
880 uint16_t srcRloc16 = aMessageInfo.GetPeerAddr().GetIid().GetLocator(); in HandleTmf()
Dmle.cpp108 mMeshLocalEid.GetAddress().GetIid().GenerateRandom(); in Mle()
111 mMeshLocalRloc.GetAddress().GetIid().SetToLocator(0); in Mle()
482 networkInfo.SetMeshLocalIid(mMeshLocalEid.GetAddress().GetIid()); in Store()
901 mLinkLocalAddress.GetAddress().GetIid().SetFromExtAddress(Get<Mac::Mac>().GetExtAddress()); in UpdateLinkLocalAddress()
971 (mMeshLocalRloc.GetAddress().GetIid().GetLocator() != aRloc16)) in SetRloc16()
985 mMeshLocalRloc.GetAddress().GetIid().SetLocator(aRloc16); in SetRloc16()
1098 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(aNeighbor.GetExtAddress()); in InitNeighbor()
1135 mMeshLocalEid.GetAddress().GetIid().GenerateRandom(); in HandleNotifierEvents()
1238 GetAddress().GetIid().SetToLocator(kNotInUse); in ServiceAloc()
2307 senderAddress->GetIid().ConvertToExtAddress(extAddress); in ProcessMessageSecurity()
[all …]
Dmesh_forwarder_ftd.cpp402 uint16_t rloc16 = aIp6Header.GetDestination().GetIid().GetLocator(); in UpdateIp6RouteFtd()
408 uint16_t aloc16 = aIp6Header.GetDestination().GetIid().GetLocator(); in UpdateIp6RouteFtd()
677 if (!aRxInfo.mIp6Headers.GetSourceAddress().GetIid().IsLocator() && in UpdateRoutes()
Ddua_manager.cpp182 if (GetDomainUnicastAddress().GetIid() == mFixedDuaInterfaceIdentifier && in ClearFixedDuaInterfaceIdentifier()
468 …uccessOrExit(error = Tlv::Append<ThreadMeshLocalEidTlv>(*message, mle.GetMeshLocalEid().GetIid())); in PerformNextRegistration()
Ddiscover_scanner.cpp325 … aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(AsCoreType(&result.mExtAddress)); in HandleDiscoveryResponse()
Dmle_router.cpp714 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(info.mExtAddress); in HandleLinkRequest()
1479 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(info.mChildExtAddress); in HandleParentRequest()
1929 IgnoreError(aRxInfo.mMessage.Read(offsetRange, address.GetIid())); in ProcessAddressRegistrationTlv()
2091 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleChildIdRequest()
2264 aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(extAddr); in HandleChildUpdateRequestOnParent()
2776 … aRxInfo.mMessageInfo.GetPeerAddr().GetIid().ConvertToExtAddress(AsCoreType(&info.mExtAddress)); in HandleDiscoveryRequest()
3651 oldRloc16 = aMessageInfo.GetPeerAddr().GetIid().GetLocator(); in SendAddressSolicitResponse()
/openthread-latest/src/core/net/
Dip6_address.hpp861 const InterfaceIdentifier &GetIid(void) const in GetIid() function in ot::Ip6::Address
871 …InterfaceIdentifier &GetIid(void) { return static_cast<InterfaceIdentifier &>(mFields.mComponents.… in GetIid() function in ot::Ip6::Address
878 void SetIid(const InterfaceIdentifier &aIid) { GetIid() = aIid; } in SetIid()
Dnd_agent.cpp53 uint8_t contextId = static_cast<uint8_t>(mAloc.GetAddress().GetIid().GetLocator() - in UpdateService()
Dip6_mpl.cpp99 VerifyOrExit(aAddress.GetIid().IsLocator(), error = kErrorDrop); in ProcessOption()
100 option.SetSeedId(aAddress.GetIid().GetLocator()); in ProcessOption()
Dicmp6.cpp168 rval = aAddress.GetIid().IsLocator(); in ShouldHandleEchoRequest()
Dip6_address.cpp344 GetIid().SetFromExtAddress(aExtAddress); in SetToLinkLocalAddress()
441 GetIid().SetToLocator(aLocator); in SetToLocator()
/openthread-latest/src/core/meshcop/
Dmeshcop_leader.cpp75 data.Init(aMessageInfo.GetPeerAddr().GetIid().GetLocator(), ++mSessionId); in HandleTmf()
146 uint16_t rloc = aMessageInfo.GetPeerAddr().GetIid().GetLocator(); in HandleTmf()
Djoiner_router.cpp134 SuccessOrExit(error = Tlv::Append<JoinerIidTlv>(*message, aMessageInfo.GetPeerAddr().GetIid())); in HandleUdpReceive()
/openthread-latest/tests/unit/
Dtest_ip_address.cpp425 address.GetIid().ApplyPrefix(ip6Prefix); in TestIp6AddressSetPrefix()
426 … VerifyOrQuit(CheckPrefixInIid(address.GetIid(), prefix, prefixLength), "IID is not correct"); in TestIp6AddressSetPrefix()
431 address.GetIid().ApplyPrefix(ip6Prefix); in TestIp6AddressSetPrefix()
432 … VerifyOrQuit(CheckPrefixInIid(address.GetIid(), prefix, prefixLength), "IID is not correct"); in TestIp6AddressSetPrefix()
Dtest_network_data.cpp643 VerifyOrQuit(aInfo.mAnycastAddress.GetIid().IsAnycastServiceLocator()); in TestNetworkDataDsnSrpServices()
645 return (aInfo.mAnycastAddress.GetIid().GetLocator() == mAloc16) && in TestNetworkDataDsnSrpServices()
/openthread-latest/src/core/backbone_router/
Dndproxy_table.cpp312 return Get<Leader>().IsDomainUnicast(aDua) ? FindByAddressIid(aDua.GetIid()) : nullptr; in ResolveDua()
334 if (proxy.mAddressIid == aDua.GetIid()) in GetInfo()
Dbbr_manager.cpp369 VerifyOrExit(aMessageInfo.GetPeerAddr().GetIid().IsRoutingLocator(), error = kErrorDrop); in HandleDuaRegistration()
397 …switch (mNdProxyTable.Register(target.GetIid(), meshLocalIid, aMessageInfo.GetPeerAddr().GetIid().… in HandleDuaRegistration()
494 VerifyOrExit(!mNdProxyTable.IsRegistered(aAddress.GetIid())); in ShouldForwardDuaToBackbone()
Dbbr_local.cpp60 mBbrPrimaryAloc.GetAddress().GetIid().SetToLocator(Mle::kAloc16BackboneRouterPrimary); in Local()
/openthread-latest/src/core/utils/
Dslaac_address.cpp443 aAddress.GetAddress().GetIid().SetBytes(hash.GetBytes()); in GenerateIid()
446 if (aAddress.GetAddress().GetIid().IsReserved()) in GenerateIid()
Dlink_metrics_manager.cpp217 AsCoreType(aAddress).GetIid().ConvertToExtAddress(extAddress); in HandleMgmtResponse()
/openthread-latest/src/lib/spinel/
Dspinel_driver.hpp216 spinel_iid_t GetIid(void) { return mIid; } in GetIid() function in ot::Spinel::SpinelDriver

12