/openthread-3.5.0/src/core/api/ |
D | ip6_api.cpp | 58 instance.Get<ThreadNetif>().Up(); in otIp6SetEnabled() 62 instance.Get<ThreadNetif>().Down(); in otIp6SetEnabled() 71 bool otIp6IsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<ThreadNetif>().IsUp()… in otIp6IsEnabled() 75 return AsCoreType(aInstance).Get<ThreadNetif>().GetUnicastAddresses().GetHead(); in otIp6GetUnicastAddresses() 80 return AsCoreType(aInstance).Get<ThreadNetif>().AddExternalUnicastAddress(AsCoreType(aAddress)); in otIp6AddUnicastAddress() 85 …return AsCoreType(aInstance).Get<ThreadNetif>().RemoveExternalUnicastAddress(AsCoreType(aAddress)); in otIp6RemoveUnicastAddress() 90 return AsCoreType(aInstance).Get<ThreadNetif>().GetMulticastAddresses().GetHead(); in otIp6GetMulticastAddresses() 95 … return AsCoreType(aInstance).Get<ThreadNetif>().SubscribeExternalMulticast(AsCoreType(aAddress)); in otIp6SubscribeMulticastAddress() 100 …return AsCoreType(aInstance).Get<ThreadNetif>().UnsubscribeExternalMulticast(AsCoreType(aAddress)); in otIp6UnsubscribeMulticastAddress() 105 return AsCoreType(aInstance).Get<ThreadNetif>().IsMulticastPromiscuousEnabled(); in otIp6IsMulticastPromiscuousEnabled() [all …]
|
D | link_api.cpp | 324 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetPromiscuous() 338 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetEnabled()
|
/openthread-3.5.0/src/core/thread/ |
D | thread_netif.cpp | 50 ThreadNetif::ThreadNetif(Instance &aInstance) in ThreadNetif() function in ot::ThreadNetif 56 void ThreadNetif::Up(void) in Up() 87 void ThreadNetif::Down(void) in Down()
|
D | thread_netif.hpp | 53 class ThreadNetif : public Ip6::Netif class 62 explicit ThreadNetif(Instance &aInstance);
|
D | dua_manager.cpp | 108 VerifyOrExit(!Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())); in HandleDomainPrefixUpdate() 177 if (Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())) in SetFixedDuaInterfaceIdentifier() 194 Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())) in ClearFixedDuaInterfaceIdentifier() 234 Get<ThreadNetif>().AddUnicastAddress(mDomainUnicastAddress); in AddDomainUnicastAddress() 246 Get<ThreadNetif>().RemoveUnicastAddress(mDomainUnicastAddress); in RemoveDomainUnicastAddress() 312 if (Get<ThreadNetif>().HasUnicastAddress(Get<DuaManager>().GetDomainUnicastAddress()) && in HandleNotifierEvents() 638 if (Get<ThreadNetif>().HasUnicastAddress(target)) in ProcessDuaResponse() 647 if (Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())) in ProcessDuaResponse()
|
D | mlr_manager.cpp | 96 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in UpdateLocalSubscriptions() 115 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in IsAddressMlrRegisteredByNetif() 228 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in SendMulticastListenerRegistration() 521 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in SetMulticastAddressMlrState() 553 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in FinishMulticastListenerRegistration() 661 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in LogMulticastAddresses() 763 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in CheckInvariants()
|
D | mle.cpp | 177 Get<ThreadNetif>().RemoveUnicastAddress(mLinkLocal64); in Disable() 189 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Start() 245 Get<ThreadNetif>().UnsubscribeMulticast(mRealmLocalAllThreadNodes); in Stop() 246 Get<ThreadNetif>().UnsubscribeMulticast(mLinkLocalAllThreadNodes); in Stop() 247 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocal16); in Stop() 248 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocal64); in Stop() 698 Get<ThreadNetif>().RemoveUnicastAddress(mLeaderAloc); in SetStateDetached() 724 Get<ThreadNetif>().RemoveUnicastAddress(mLeaderAloc); in SetStateChild() 882 Get<ThreadNetif>().RemoveUnicastAddress(mLinkLocal64); in UpdateLinkLocalAddress() 884 Get<ThreadNetif>().AddUnicastAddress(mLinkLocal64); in UpdateLinkLocalAddress() [all …]
|
D | child_supervision.hpp | 53 class ThreadNetif;
|
D | address_resolver.cpp | 777 for (const Ip6::Netif::UnicastAddress &address : Get<ThreadNetif>().GetUnicastAddresses()) in HandleTmf() 790 Get<ThreadNetif>().RemoveUnicastAddress(address); in HandleTmf() 846 if (Get<ThreadNetif>().HasUnicastAddress(target)) in HandleTmf()
|
D | discover_scanner.cpp | 76 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Discover()
|
/openthread-3.5.0/src/core/net/ |
D | nd_agent.cpp | 84 Get<ThreadNetif>().RemoveUnicastAddress(mAloc); in UpdateService() 108 Get<ThreadNetif>().AddUnicastAddress(mAloc); in UpdateService() 121 Get<ThreadNetif>().RemoveUnicastAddress(mAloc); in ApplyMeshLocalPrefix() 123 Get<ThreadNetif>().AddUnicastAddress(mAloc); in ApplyMeshLocalPrefix()
|
D | dhcp6_server.cpp | 101 Get<ThreadNetif>().RemoveUnicastAddress(prefixAgent.GetAloc()); in UpdateService() 171 Get<ThreadNetif>().AddUnicastAddress(newEntry->GetAloc()); in AddPrefixAgent() 496 Get<ThreadNetif>().RemoveUnicastAddress(entry->GetAloc()); in ApplyMeshLocalPrefix() 498 Get<ThreadNetif>().AddUnicastAddress(entry->GetAloc()); in ApplyMeshLocalPrefix()
|
D | ip6.cpp | 1162 Get<ThreadNetif>().IsMulticastSubscribed(header.GetDestination())) in HandleDatagram() 1166 else if (Get<ThreadNetif>().IsMulticastPromiscuousEnabled()) in HandleDatagram() 1175 if (Get<ThreadNetif>().HasUnicastAddress(header.GetDestination())) in HandleDatagram() 1328 for (const Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in SelectSourceAddress() 1433 for (const Netif::UnicastAddress &unicastAddr : Get<ThreadNetif>().GetUnicastAddresses()) in IsOnLink()
|
D | dhcp6_client.cpp | 102 Get<ThreadNetif>().RemoveUnicastAddress(idAssociation.mNetifAddress); in UpdateAddresses() 584 Get<ThreadNetif>().AddUnicastAddress(idAssociation.mNetifAddress); in ProcessIaAddress()
|
D | udp6.cpp | 211 …VerifyOrExit(aSockAddr.GetAddress().IsUnspecified() || Get<ThreadNetif>().HasUnicastAddress(aSockA… in Bind()
|
/openthread-3.5.0/src/core/utils/ |
D | slaac_address.cpp | 191 Get<ThreadNetif>().RemoveUnicastAddress(slaacAddr); in Update() 215 … for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in Update() 242 Get<ThreadNetif>().AddUnicastAddress(slaacAddr); in Update()
|
D | jam_detector.hpp | 51 class ThreadNetif;
|
/openthread-3.5.0/src/core/backbone_router/ |
D | bbr_local.cpp | 225 Get<ThreadNetif>().RemoveUnicastAddress(mBackboneRouterPrimaryAloc); in SetState() 231 Get<ThreadNetif>().AddUnicastAddress(mBackboneRouterPrimaryAloc); in SetState() 352 Get<ThreadNetif>().RemoveUnicastAddress(mBackboneRouterPrimaryAloc); in ApplyMeshLocalPrefix() 354 Get<ThreadNetif>().AddUnicastAddress(mBackboneRouterPrimaryAloc); in ApplyMeshLocalPrefix()
|
/openthread-3.5.0/src/core/meshcop/ |
D | meshcop.hpp | 58 class ThreadNetif; 447 Error GetBorderAgentRloc(ThreadNetif &aNetIf, uint16_t &aRloc);
|
D | border_agent.cpp | 192 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in HandleCoapResponse() 590 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in HandleConnected() 653 if (Get<ThreadNetif>().HasUnicastAddress(mCommissionerAloc)) in ApplyMeshLocalPrefix() 655 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in ApplyMeshLocalPrefix() 657 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in ApplyMeshLocalPrefix()
|
D | commissioner.cpp | 327 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in Stop() 849 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in HandleLeaderPetitionResponse() 1162 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in ApplyMeshLocalPrefix() 1164 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in ApplyMeshLocalPrefix()
|
D | meshcop.cpp | 303 Error GetBorderAgentRloc(ThreadNetif &aNetif, uint16_t &aRloc) in GetBorderAgentRloc()
|
D | joiner_router.cpp | 140 SuccessOrExit(error = GetBorderAgentRloc(Get<ThreadNetif>(), borderAgentRloc)); in HandleUdpReceive()
|
/openthread-3.5.0/src/core/mac/ |
D | link_raw.cpp | 92 VerifyOrExit(!Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in SetReceiveDone()
|
/openthread-3.5.0/src/core/common/ |
D | instance.hpp | 434 ThreadNetif mThreadNetif; 718 template <> inline ThreadNetif &Instance::Get(void) { return mThreadNetif; } in Get()
|