/openthread-latest/src/core/api/ |
D | ip6_api.cpp | 51 instance.Get<ThreadNetif>().Up(); in otIp6SetEnabled() 55 instance.Get<ThreadNetif>().Down(); in otIp6SetEnabled() 64 bool otIp6IsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<ThreadNetif>().IsUp()… in otIp6IsEnabled() 68 return AsCoreType(aInstance).Get<ThreadNetif>().GetUnicastAddresses().GetHead(); in otIp6GetUnicastAddresses() 73 return AsCoreType(aInstance).Get<ThreadNetif>().HasUnicastAddress(AsCoreType(aAddress)); in otIp6HasUnicastAddress() 78 return AsCoreType(aInstance).Get<ThreadNetif>().AddExternalUnicastAddress(AsCoreType(aAddress)); in otIp6AddUnicastAddress() 83 …return AsCoreType(aInstance).Get<ThreadNetif>().RemoveExternalUnicastAddress(AsCoreType(aAddress)); in otIp6RemoveUnicastAddress() 88 return AsCoreType(aInstance).Get<ThreadNetif>().GetMulticastAddresses().GetHead(); in otIp6GetMulticastAddresses() 93 … return AsCoreType(aInstance).Get<ThreadNetif>().SubscribeExternalMulticast(AsCoreType(aAddress)); in otIp6SubscribeMulticastAddress() 98 …return AsCoreType(aInstance).Get<ThreadNetif>().UnsubscribeExternalMulticast(AsCoreType(aAddress)); in otIp6UnsubscribeMulticastAddress() [all …]
|
D | link_api.cpp | 352 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetPromiscuous() 366 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetEnabled()
|
/openthread-latest/src/core/thread/ |
D | thread_netif.cpp | 40 ThreadNetif::ThreadNetif(Instance &aInstance) in ThreadNetif() function in ot::ThreadNetif 46 void ThreadNetif::Up(void) in Up() 77 void ThreadNetif::Down(void) in Down()
|
D | thread_netif.hpp | 53 class ThreadNetif : public Ip6::Netif class 61 explicit ThreadNetif(Instance &aInstance);
|
D | dua_manager.cpp | 97 VerifyOrExit(!Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())); in HandleDomainPrefixUpdate() 166 if (Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())) in SetFixedDuaInterfaceIdentifier() 183 Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())) in ClearFixedDuaInterfaceIdentifier() 223 Get<ThreadNetif>().AddUnicastAddress(mDomainUnicastAddress); in AddDomainUnicastAddress() 235 Get<ThreadNetif>().RemoveUnicastAddress(mDomainUnicastAddress); in RemoveDomainUnicastAddress() 301 if (Get<ThreadNetif>().HasUnicastAddress(Get<DuaManager>().GetDomainUnicastAddress()) && in HandleNotifierEvents() 627 if (Get<ThreadNetif>().HasUnicastAddress(target)) in ProcessDuaResponse() 636 if (Get<ThreadNetif>().HasUnicastAddress(GetDomainUnicastAddress())) in ProcessDuaResponse()
|
D | mlr_manager.cpp | 88 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in UpdateLocalSubscriptions() 107 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in IsAddressMlrRegisteredByNetif() 226 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in SendMlr() 511 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in SetMulticastAddressMlrState() 546 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in FinishMlr() 659 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in LogMulticastAddresses() 728 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in CheckInvariants()
|
D | child_supervision.hpp | 54 class ThreadNetif;
|
D | mle.cpp | 152 Get<ThreadNetif>().RemoveUnicastAddress(mLinkLocalAddress); in Disable() 164 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Start() 173 Get<ThreadNetif>().AddUnicastAddress(mMeshLocalEid); in Start() 175 Get<ThreadNetif>().SubscribeMulticast(mLinkLocalAllThreadNodes); in Start() 176 Get<ThreadNetif>().SubscribeMulticast(mRealmLocalAllThreadNodes); in Start() 225 Get<ThreadNetif>().UnsubscribeMulticast(mRealmLocalAllThreadNodes); in Stop() 226 Get<ThreadNetif>().UnsubscribeMulticast(mLinkLocalAllThreadNodes); in Stop() 227 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocalRloc); in Stop() 228 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocalEid); in Stop() 704 Get<ThreadNetif>().RemoveUnicastAddress(Get<MleRouter>().mLeaderAloc); in SetStateDetached() [all …]
|
D | address_resolver.cpp | 786 for (Ip6::Netif::UnicastAddress &address : Get<ThreadNetif>().GetUnicastAddresses()) in HandleTmf() 799 Get<ThreadNetif>().RemoveUnicastAddress(address); in HandleTmf() 855 if (Get<ThreadNetif>().HasUnicastAddress(target)) in HandleTmf()
|
D | discover_scanner.cpp | 69 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Discover()
|
D | mesh_forwarder_ftd.cpp | 529 isReachable = Get<ThreadNetif>().HasUnicastAddress(aIp6Header.GetDestination()); in CheckReachability() 541 isReachable = Get<ThreadNetif>().HasUnicastAddress(aIp6Header.GetDestination()) || in CheckReachability()
|
/openthread-latest/src/core/utils/ |
D | slaac_address.cpp | 230 Get<ThreadNetif>().UpdatePreferredFlagOn(aAddress, false); in DeprecateAddress() 248 Get<ThreadNetif>().RemoveUnicastAddress(aAddress); in RemoveAddress() 277 Get<ThreadNetif>().UpdatePreferredFlagOn(slaacAddr, true); in AddAddresses() 290 for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in AddAddresses() 358 Get<ThreadNetif>().AddUnicastAddress(*newAddress); in AddAddressFor()
|
D | jam_detector.hpp | 51 class ThreadNetif;
|
/openthread-latest/src/core/net/ |
D | nd_agent.cpp | 79 Get<ThreadNetif>().RemoveUnicastAddress(mAloc); in UpdateService() 104 Get<ThreadNetif>().AddUnicastAddress(mAloc); in UpdateService()
|
D | dhcp6_server.cpp | 93 Get<ThreadNetif>().RemoveUnicastAddress(prefixAgent.GetAloc()); in UpdateService() 163 Get<ThreadNetif>().AddUnicastAddress(newEntry->GetAloc()); in AddPrefixAgent()
|
D | ip6.cpp | 1055 … VerifyOrExit(Get<ThreadNetif>().HasUnicastAddress(header.GetSource()), error = kErrorDrop); in SendRaw() 1115 Get<ThreadNetif>().IsMulticastSubscribed(header.GetDestination())) in HandleDatagram() 1124 if (Get<ThreadNetif>().HasUnicastAddress(header.GetDestination())) in HandleDatagram() 1278 for (const Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in SelectSourceAddress() 1367 for (const Netif::UnicastAddress &unicastAddr : Get<ThreadNetif>().GetUnicastAddresses()) in IsOnLink()
|
D | dhcp6_client.cpp | 94 Get<ThreadNetif>().RemoveUnicastAddress(idAssociation.mNetifAddress); in UpdateAddresses() 571 Get<ThreadNetif>().AddUnicastAddress(idAssociation.mNetifAddress); in ProcessIaAddress()
|
D | udp6.cpp | 250 …VerifyOrExit(aSockAddr.GetAddress().IsUnspecified() || Get<ThreadNetif>().HasUnicastAddress(aSockA… in Bind()
|
/openthread-latest/tests/nexus/platform/ |
D | nexus_node.cpp | 42 Get<ThreadNetif>().Up(); in Form() 74 Get<ThreadNetif>().Up(); in Join()
|
/openthread-latest/src/core/backbone_router/ |
D | bbr_local.cpp | 221 Get<ThreadNetif>().RemoveUnicastAddress(mBbrPrimaryAloc); in SetState() 229 Get<ThreadNetif>().AddUnicastAddress(mBbrPrimaryAloc); in SetState()
|
/openthread-latest/src/core/meshcop/ |
D | meshcop.hpp | 56 class ThreadNetif;
|
D | border_agent.cpp | 303 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in HandleConnected() 448 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in HandleCoapResponse()
|
/openthread-latest/tests/nexus/ |
D | test_border_agent.cpp | 63 node1.Get<ThreadNetif>().Up(); in TestBorderAgent() 212 node1.Get<ThreadNetif>().Up(); in TestBorderAgentEphemeralKey()
|
/openthread-latest/src/core/mac/ |
D | link_raw.cpp | 86 VerifyOrExit(!Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in SetReceiveDone()
|
/openthread-latest/src/core/instance/ |
D | instance.hpp | 498 ThreadNetif mThreadNetif; 807 template <> inline ThreadNetif &Instance::Get(void) { return mThreadNetif; } in Get()
|