Home
last modified time | relevance | path

Searched refs:ThreadNetif (Results 1 – 25 of 33) sorted by relevance

12

/openthread-latest/src/core/api/
Dip6_api.cpp51 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 …]
Dlink_api.cpp352 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetPromiscuous()
366 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetEnabled()
/openthread-latest/src/core/thread/
Dthread_netif.cpp40 ThreadNetif::ThreadNetif(Instance &aInstance) in ThreadNetif() function in ot::ThreadNetif
46 void ThreadNetif::Up(void) in Up()
77 void ThreadNetif::Down(void) in Down()
Dthread_netif.hpp53 class ThreadNetif : public Ip6::Netif class
61 explicit ThreadNetif(Instance &aInstance);
Ddua_manager.cpp97 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()
Dmlr_manager.cpp88 …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()
Dchild_supervision.hpp54 class ThreadNetif;
Dmle.cpp152 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 …]
Daddress_resolver.cpp786 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()
Ddiscover_scanner.cpp69 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Discover()
Dmesh_forwarder_ftd.cpp529 isReachable = Get<ThreadNetif>().HasUnicastAddress(aIp6Header.GetDestination()); in CheckReachability()
541 isReachable = Get<ThreadNetif>().HasUnicastAddress(aIp6Header.GetDestination()) || in CheckReachability()
/openthread-latest/src/core/utils/
Dslaac_address.cpp230 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()
Djam_detector.hpp51 class ThreadNetif;
/openthread-latest/src/core/net/
Dnd_agent.cpp79 Get<ThreadNetif>().RemoveUnicastAddress(mAloc); in UpdateService()
104 Get<ThreadNetif>().AddUnicastAddress(mAloc); in UpdateService()
Ddhcp6_server.cpp93 Get<ThreadNetif>().RemoveUnicastAddress(prefixAgent.GetAloc()); in UpdateService()
163 Get<ThreadNetif>().AddUnicastAddress(newEntry->GetAloc()); in AddPrefixAgent()
Dip6.cpp1055 … 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()
Ddhcp6_client.cpp94 Get<ThreadNetif>().RemoveUnicastAddress(idAssociation.mNetifAddress); in UpdateAddresses()
571 Get<ThreadNetif>().AddUnicastAddress(idAssociation.mNetifAddress); in ProcessIaAddress()
Dudp6.cpp250 …VerifyOrExit(aSockAddr.GetAddress().IsUnspecified() || Get<ThreadNetif>().HasUnicastAddress(aSockA… in Bind()
/openthread-latest/tests/nexus/platform/
Dnexus_node.cpp42 Get<ThreadNetif>().Up(); in Form()
74 Get<ThreadNetif>().Up(); in Join()
/openthread-latest/src/core/backbone_router/
Dbbr_local.cpp221 Get<ThreadNetif>().RemoveUnicastAddress(mBbrPrimaryAloc); in SetState()
229 Get<ThreadNetif>().AddUnicastAddress(mBbrPrimaryAloc); in SetState()
/openthread-latest/src/core/meshcop/
Dmeshcop.hpp56 class ThreadNetif;
Dborder_agent.cpp303 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in HandleConnected()
448 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in HandleCoapResponse()
/openthread-latest/tests/nexus/
Dtest_border_agent.cpp63 node1.Get<ThreadNetif>().Up(); in TestBorderAgent()
212 node1.Get<ThreadNetif>().Up(); in TestBorderAgentEphemeralKey()
/openthread-latest/src/core/mac/
Dlink_raw.cpp86 VerifyOrExit(!Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in SetReceiveDone()
/openthread-latest/src/core/instance/
Dinstance.hpp498 ThreadNetif mThreadNetif;
807 template <> inline ThreadNetif &Instance::Get(void) { return mThreadNetif; } in Get()

12