Home
last modified time | relevance | path

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

12

/openthread-3.4.0/src/core/api/
Dbackbone_router_ftd_api.cpp48 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetEnabled(aEnabled); in otBackboneRouterSetEnabled()
53 return MapEnum(AsCoreType(aInstance).Get<BackboneRouter::Local>().GetState()); in otBackboneRouterGetState()
60 AsCoreType(aInstance).Get<BackboneRouter::Local>().GetConfig(*aConfig); in otBackboneRouterGetConfig()
67 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetConfig(*aConfig); in otBackboneRouterSetConfig()
72 …return AsCoreType(aInstance).Get<BackboneRouter::Local>().AddService(true /* Force registration */… in otBackboneRouterRegister()
77 return AsCoreType(aInstance).Get<BackboneRouter::Local>().GetRegistrationJitter(); in otBackboneRouterGetRegistrationJitter()
82 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetRegistrationJitter(aJitter); in otBackboneRouterSetRegistrationJitter()
87 return AsCoreType(aInstance).Get<BackboneRouter::Local>().GetDomainPrefix(AsCoreType(aConfig)); in otBackboneRouterGetDomainPrefix()
94 …return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetDomainPrefixCallback(aCallback, aCont… in otBackboneRouterSetDomainPrefixCallback()
102 AsCoreType(aInstance).Get<BackboneRouter::NdProxyTable>().SetCallback(aCallback, aContext); in otBackboneRouterSetNdProxyCallback()
[all …]
Dborder_router_api.cpp59 … error = AsCoreType(aInstance).Get<BackboneRouter::Local>().SetDomainPrefix(AsCoreType(aConfig)); in otBorderRouterAddOnMeshPrefix()
75 …error = AsCoreType(aInstance).Get<BackboneRouter::Local>().RemoveDomainPrefix(AsCoreType(aPrefix)); in otBorderRouterRemoveOnMeshPrefix()
Dbackbone_router_api.cpp49 return AsCoreType(aInstance).Get<BackboneRouter::Leader>().GetConfig(*aConfig); in otBackboneRouterGetPrimary()
/openthread-3.4.0/src/core/thread/
Dnetwork_data_service.cpp50 const uint8_t BackboneRouter::kServiceData;
97 void Manager::GetBackboneRouterPrimary(ot::BackboneRouter::Config &aConfig) const in GetBackboneRouterPrimary()
100 const BackboneRouter::ServerData *rvalServerData = nullptr; in GetBackboneRouterPrimary()
104 serviceData.Init(&BackboneRouter::kServiceData, BackboneRouter::kServiceDataMinSize); in GetBackboneRouterPrimary()
118 const BackboneRouter::ServerData *serverData; in GetBackboneRouterPrimary()
122 if (data.GetLength() < sizeof(BackboneRouter::ServerData)) in GetBackboneRouterPrimary()
127 serverData = reinterpret_cast<const BackboneRouter::ServerData *>(data.GetBytes()); in GetBackboneRouterPrimary()
150 const BackboneRouter::ServerData &aServerData, in IsBackboneRouterPreferredTo()
152 const BackboneRouter::ServerData &aOtherServerData) const in IsBackboneRouterPreferredTo()
Ddua_manager.cpp81 void DuaManager::HandleDomainPrefixUpdate(BackboneRouter::Leader::DomainPrefixState aState) in HandleDomainPrefixUpdate()
83 if ((aState == BackboneRouter::Leader::kDomainPrefixRemoved) || in HandleDomainPrefixUpdate()
84 (aState == BackboneRouter::Leader::kDomainPrefixRefreshed)) in HandleDomainPrefixUpdate()
107 case BackboneRouter::Leader::kDomainPrefixUnchanged: in HandleDomainPrefixUpdate()
113 case BackboneRouter::Leader::kDomainPrefixRefreshed: in HandleDomainPrefixUpdate()
114 case BackboneRouter::Leader::kDomainPrefixAdded: in HandleDomainPrefixUpdate()
116 const Ip6::Prefix *prefix = Get<BackboneRouter::Leader>().GetDomainPrefix(); in HandleDomainPrefixUpdate()
276 BackboneRouter::Config config; in UpdateReregistrationDelay()
278 VerifyOrExit(Get<BackboneRouter::Leader>().GetConfig(config) == kErrorNone); in UpdateReregistrationDelay()
354 void DuaManager::HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState, in HandleBackboneRouterPrimaryUpdate()
[all …]
Dnetwork_data_service.hpp64 class BackboneRouter class
149 BackboneRouter(void) = delete;
547 void GetBackboneRouterPrimary(ot::BackboneRouter::Config &aConfig) const;
613 const BackboneRouter::ServerData &aServerData,
615 const BackboneRouter::ServerData &aOtherServerData) const;
Dmlr_manager.cpp79 void MlrManager::HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState, in HandleBackboneRouterPrimaryUpdate()
80 const BackboneRouter::Config &aConfig) in HandleBackboneRouterPrimaryUpdate()
85 …aState == BackboneRouter::Leader::kStateAdded || aState == BackboneRouter::Leader::kStateToTrigger… in HandleBackboneRouterPrimaryUpdate()
235 VerifyOrExit(Get<BackboneRouter::Leader>().HasPrimary(), error = kErrorInvalidState); in SendMulticastListenerRegistration()
395 VerifyOrExit(Get<BackboneRouter::Leader>().HasPrimary(), error = kErrorInvalidState); in SendMulticastListenerRegistrationMessage()
424 SuccessOrExit(error = Get<BackboneRouter::Leader>().GetServiceId(pbbrServiceId)); in SendMulticastListenerRegistrationMessage()
430 Get<BackboneRouter::Leader>().GetServer16()); in SendMulticastListenerRegistrationMessage()
477 BackboneRouter::Config config; in HandleMulticastListenerRegistrationResponse()
483 if (Get<BackboneRouter::Leader>().GetConfig(config) == kErrorNone) in HandleMulticastListenerRegistrationResponse()
627 Get<BackboneRouter::Leader>().HasPrimary(); in UpdateReregistrationDelay()
[all …]
Ddua_manager.hpp104 void HandleDomainPrefixUpdate(BackboneRouter::Leader::DomainPrefixState aState);
113 …void HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState, const BackboneRouter:…
Dmlr_manager.hpp98 …void HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState, const BackboneRouter:…
Daddress_resolver.cpp627 …if (Get<BackboneRouter::Local>().IsPrimary() && Get<BackboneRouter::Leader>().IsDomainUnicast(aEid… in SendAddressQuery()
633 IgnoreError(Get<BackboneRouter::Manager>().SendBackboneQuery(aEid, selfRloc16)); in SendAddressQuery()
782 if (Get<BackboneRouter::Leader>().IsDomainUnicast(address.GetAddress())) in HandleTmf()
868 …if (Get<BackboneRouter::Local>().IsPrimary() && Get<BackboneRouter::Leader>().IsDomainUnicast(targ… in HandleTmf()
874 IgnoreError(Get<BackboneRouter::Manager>().SendBackboneQuery(target, srcRloc16)); in HandleTmf()
Dtmf.cpp178 Case(kUriMlr, BackboneRouter::Manager); in HandleResource()
181 Case(kUriDuaRegistrationRequest, BackboneRouter::Manager); in HandleResource()
/openthread-3.4.0/src/core/backbone_router/
Dndproxy_table.cpp45 namespace BackboneRouter { namespace
99 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Iterator()
112 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Iterator()
118 NdProxyTable &table = GetInstance().Get<BackboneRouter::NdProxyTable>(); in Advance()
257 if (Get<BackboneRouter::Manager>().SendBackboneQuery(GetDua(proxy)) == kErrorNone) in HandleTimer()
271 const Ip6::Prefix *prefix = Get<BackboneRouter::Leader>().GetDomainPrefix(); in TriggerCallback()
301 const Ip6::Prefix *domainPrefix = Get<BackboneRouter::Leader>().GetDomainPrefix(); in GetDua()
322 IgnoreError(Get<BackboneRouter::Manager>().SendProactiveBackboneNotification( in NotifyDuaRegistrationOnBackboneLink()
Dbackbone_tmf.cpp42 namespace BackboneRouter { namespace
123 return (Get<BackboneRouter::Local>().IsEnabled() && src.IsLinkLocal() && in IsBackboneTmfMessage()
124 … (dst.IsLinkLocal() || dst == Get<BackboneRouter::Local>().GetAllNetworkBackboneRoutersAddress() || in IsBackboneTmfMessage()
125 dst == Get<BackboneRouter::Local>().GetAllDomainBackboneRoutersAddress())); in IsBackboneTmfMessage()
Dbbr_local.cpp48 namespace BackboneRouter { namespace
177 NetworkData::Service::BackboneRouter::ServerData serverData; in AddService()
182 … !Get<BackboneRouter::Leader>().HasPrimary() /* if no available Backbone Router service */ || in AddService()
183 Get<BackboneRouter::Leader>().GetServer16() == Get<Mle::MleRouter>().GetRloc16() in AddService()
191 …rror = Get<NetworkData::Service::Manager>().Add<NetworkData::Service::BackboneRouter>(serverData)); in AddService()
205 …rExit(error = Get<NetworkData::Service::Manager>().Remove<NetworkData::Service::BackboneRouter>()); in RemoveService()
Dbbr_local.hpp67 namespace BackboneRouter { namespace
305 DefineMapEnum(otBackboneRouterState, BackboneRouter::Local::State);
Dmulticast_listeners_table.hpp52 namespace BackboneRouter { namespace
238 DefineMapEnum(otBackboneRouterMulticastListenerEvent, BackboneRouter::MulticastListenersTable::List…
Dbbr_leader.cpp42 namespace BackboneRouter { namespace
78 error = Get<NetworkData::Service::Manager>().GetServiceId<NetworkData::Service::BackboneRouter>( in GetServiceId()
217 Get<BackboneRouter::Local>().HandleBackboneRouterPrimaryUpdate(state, mConfig); in UpdateBackboneRouterPrimary()
Dbbr_manager.cpp52 namespace BackboneRouter { namespace
327 BackboneTmfAgent &backboneTmf = Get<BackboneRouter::BackboneTmfAgent>(); in SendBackboneMulticastListenerRegistration()
342 …messageInfo.SetPeerPort(BackboneRouter::kBackboneUdpPort); // TODO: Provide API for configuring Ba… in SendBackboneMulticastListenerRegistration()
536 messageInfo.SetPeerPort(BackboneRouter::kBackboneUdpPort); in SendBackboneQuery()
673 messageInfo.SetPeerPort(BackboneRouter::kBackboneUdpPort); in SendBackboneAnswer()
708 ot::BackboneRouter::NdProxyTable::NotifyDadComplete(*ndProxy, duplicate); in HandleDadBackboneAnswer()
746 BackboneRouter::NdProxyTable::Erase(*ndProxy); in HandleProactiveBackboneNotification()
757 BackboneRouter::NdProxyTable::Erase(*ndProxy); in HandleProactiveBackboneNotification()
Dndproxy_table.hpp54 namespace BackboneRouter { namespace
316 DefineMapEnum(otBackboneRouterNdProxyEvent, BackboneRouter::NdProxyTable::NdProxy::Event);
Dbackbone_tmf.hpp45 namespace BackboneRouter { namespace
Dbbr_leader.hpp53 namespace BackboneRouter { namespace
Dbbr_manager.hpp56 namespace BackboneRouter { namespace
/openthread-3.4.0/tests/unit/
Dtest_ndproxy_table.cpp47 using namespace ot::BackboneRouter;
66 BackboneRouter::NdProxyTable &table = sInstance->Get<BackboneRouter::NdProxyTable>(); in TestNdProxyTable()
Dtest_multicast_listeners_table.cpp47 using namespace ot::BackboneRouter;
/openthread-3.4.0/src/core/common/
Dinstance.hpp529 BackboneRouter::Leader mBackboneRouterLeader;
533 BackboneRouter::Local mBackboneRouterLocal;
534 BackboneRouter::Manager mBackboneRouterManager;
903 template <> inline BackboneRouter::Leader &Instance::Get(void) { return mBackboneRouterLeader; } in Get()
906 template <> inline BackboneRouter::Local &Instance::Get(void) { return mBackboneRouterLocal; } in Get()
907 template <> inline BackboneRouter::Manager &Instance::Get(void) { return mBackboneRouterManager; } in Get()
910 template <> inline BackboneRouter::MulticastListenersTable &Instance::Get(void) in Get()
917 template <> inline BackboneRouter::NdProxyTable &Instance::Get(void) in Get()
923 template <> inline BackboneRouter::BackboneTmfAgent &Instance::Get(void) in Get()

12