Home
last modified time | relevance | path

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

12

/openthread-3.6.0/src/core/api/
Dip6_api.cpp58 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>().HasUnicastAddress(AsCoreType(aAddress)); in otIp6HasUnicastAddress()
85 return AsCoreType(aInstance).Get<ThreadNetif>().AddExternalUnicastAddress(AsCoreType(aAddress)); in otIp6AddUnicastAddress()
90 …return AsCoreType(aInstance).Get<ThreadNetif>().RemoveExternalUnicastAddress(AsCoreType(aAddress)); in otIp6RemoveUnicastAddress()
95 return AsCoreType(aInstance).Get<ThreadNetif>().GetMulticastAddresses().GetHead(); in otIp6GetMulticastAddresses()
100 … return AsCoreType(aInstance).Get<ThreadNetif>().SubscribeExternalMulticast(AsCoreType(aAddress)); in otIp6SubscribeMulticastAddress()
105 …return AsCoreType(aInstance).Get<ThreadNetif>().UnsubscribeExternalMulticast(AsCoreType(aAddress)); in otIp6UnsubscribeMulticastAddress()
[all …]
Dlink_api.cpp324 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetPromiscuous()
338 VerifyOrExit(!instance.Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in otLinkSetEnabled()
/openthread-3.6.0/src/core/thread/
Dthread_netif.cpp50 ThreadNetif::ThreadNetif(Instance &aInstance) in ThreadNetif() function in ot::ThreadNetif
56 void ThreadNetif::Up(void) in Up()
87 void ThreadNetif::Down(void) in Down()
Dthread_netif.hpp53 class ThreadNetif : public Ip6::Netif class
62 explicit ThreadNetif(Instance &aInstance);
Ddua_manager.cpp108 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()
Dmlr_manager.cpp96 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in UpdateLocalSubscriptions()
115 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in IsAddressMlrRegisteredByNetif()
227 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in SendMlr()
508 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in SetMulticastAddressMlrState()
538 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in FinishMlr()
646 …for (const Ip6::Netif::ExternalMulticastAddress &addr : Get<ThreadNetif>().IterateExternalMulticas… in LogMulticastAddresses()
708 …Get<ThreadNetif>().IterateExternalMulticastAddresses(Ip6::Address::kTypeMulticastLargerThanRealmLo… in CheckInvariants()
Dchild_supervision.hpp53 class ThreadNetif;
Dmle.cpp175 Get<ThreadNetif>().RemoveUnicastAddress(mLinkLocal64); in Disable()
187 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Start()
196 Get<ThreadNetif>().AddUnicastAddress(mMeshLocal64); in Start()
198 Get<ThreadNetif>().SubscribeMulticast(mLinkLocalAllThreadNodes); in Start()
199 Get<ThreadNetif>().SubscribeMulticast(mRealmLocalAllThreadNodes); in Start()
247 Get<ThreadNetif>().UnsubscribeMulticast(mRealmLocalAllThreadNodes); in Stop()
248 Get<ThreadNetif>().UnsubscribeMulticast(mLinkLocalAllThreadNodes); in Stop()
249 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocal16); in Stop()
250 Get<ThreadNetif>().RemoveUnicastAddress(mMeshLocal64); in Stop()
701 Get<ThreadNetif>().RemoveUnicastAddress(Get<MleRouter>().mLeaderAloc); in SetStateDetached()
[all …]
Daddress_resolver.cpp788 for (Ip6::Netif::UnicastAddress &address : Get<ThreadNetif>().GetUnicastAddresses()) in HandleTmf()
801 Get<ThreadNetif>().RemoveUnicastAddress(address); in HandleTmf()
857 if (Get<ThreadNetif>().HasUnicastAddress(target)) in HandleTmf()
Ddiscover_scanner.cpp76 VerifyOrExit(Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in Discover()
/openthread-3.6.0/src/core/net/
Dnd_agent.cpp84 Get<ThreadNetif>().RemoveUnicastAddress(mAloc); in UpdateService()
109 Get<ThreadNetif>().AddUnicastAddress(mAloc); in UpdateService()
Dip6.cpp1065 … VerifyOrExit(Get<ThreadNetif>().HasUnicastAddress(header.GetSource()), error = kErrorDrop); in SendRaw()
1127 Get<ThreadNetif>().IsMulticastSubscribed(header.GetDestination())) in HandleDatagram()
1131 else if (Get<ThreadNetif>().IsMulticastPromiscuousEnabled()) in HandleDatagram()
1140 if (Get<ThreadNetif>().HasUnicastAddress(header.GetDestination())) in HandleDatagram()
1309 for (const Netif::UnicastAddress &addr : Get<ThreadNetif>().GetUnicastAddresses()) in SelectSourceAddress()
1422 for (const Netif::UnicastAddress &unicastAddr : Get<ThreadNetif>().GetUnicastAddresses()) in IsOnLink()
Ddhcp6_server.cpp101 Get<ThreadNetif>().RemoveUnicastAddress(prefixAgent.GetAloc()); in UpdateService()
171 Get<ThreadNetif>().AddUnicastAddress(newEntry->GetAloc()); in AddPrefixAgent()
Ddhcp6_client.cpp102 Get<ThreadNetif>().RemoveUnicastAddress(idAssociation.mNetifAddress); in UpdateAddresses()
584 Get<ThreadNetif>().AddUnicastAddress(idAssociation.mNetifAddress); in ProcessIaAddress()
Dsrp_client.cpp488 for (Ip6::Netif::UnicastAddress &unicastAddress : Get<ThreadNetif>().GetUnicastAddresses()) in EnableAutoHostAddress()
534 … for (const Ip6::Netif::UnicastAddress &unicastAddress : Get<ThreadNetif>().GetUnicastAddresses()) in ShouldUpdateHostAutoAddresses()
1306 for (Ip6::Netif::UnicastAddress &unicastAddress : Get<ThreadNetif>().GetUnicastAddresses()) in AppendHostDescriptionInstruction()
Dudp6.cpp211 …VerifyOrExit(aSockAddr.GetAddress().IsUnspecified() || Get<ThreadNetif>().HasUnicastAddress(aSockA… in Bind()
/openthread-3.6.0/src/core/utils/
Dslaac_address.cpp205 Get<ThreadNetif>().RemoveUnicastAddress(aAddress); in RemoveAddress()
227 for (const Ip6::Netif::UnicastAddress &netifAddr : Get<ThreadNetif>().GetUnicastAddresses()) in AddAddresses()
270 Get<ThreadNetif>().AddUnicastAddress(*newAddress); in AddAddressFor()
Djam_detector.hpp51 class ThreadNetif;
/openthread-3.6.0/src/core/backbone_router/
Dbbr_local.cpp231 Get<ThreadNetif>().RemoveUnicastAddress(mBbrPrimaryAloc); in SetState()
239 Get<ThreadNetif>().AddUnicastAddress(mBbrPrimaryAloc); in SetState()
/openthread-3.6.0/src/core/meshcop/
Dmeshcop.hpp57 class ThreadNetif;
Dborder_agent.cpp204 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in HandleCoapResponse()
601 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in HandleConnected()
Dtcat_agent.cpp496 Get<ThreadNetif>().Up(); in HandleStartThreadInterface()
Dcommissioner.cpp323 Get<ThreadNetif>().RemoveUnicastAddress(mCommissionerAloc); in Stop()
814 Get<ThreadNetif>().AddUnicastAddress(mCommissionerAloc); in HandleLeaderPetitionResponse()
/openthread-3.6.0/src/core/mac/
Dlink_raw.cpp92 VerifyOrExit(!Get<ThreadNetif>().IsUp(), error = kErrorInvalidState); in SetReceiveDone()
/openthread-3.6.0/src/core/instance/
Dinstance.hpp462 ThreadNetif mThreadNetif;
752 template <> inline ThreadNetif &Instance::Get(void) { return mThreadNetif; } in Get()

12