/openthread-3.4.0/src/core/api/ |
D | backbone_router_ftd_api.cpp | 48 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 …]
|
D | border_router_api.cpp | 59 … error = AsCoreType(aInstance).Get<BackboneRouter::Local>().SetDomainPrefix(AsCoreType(aConfig)); in otBorderRouterAddOnMeshPrefix() 75 …error = AsCoreType(aInstance).Get<BackboneRouter::Local>().RemoveDomainPrefix(AsCoreType(aPrefix)); in otBorderRouterRemoveOnMeshPrefix()
|
D | backbone_router_api.cpp | 49 return AsCoreType(aInstance).Get<BackboneRouter::Leader>().GetConfig(*aConfig); in otBackboneRouterGetPrimary()
|
/openthread-3.4.0/src/core/thread/ |
D | network_data_service.cpp | 50 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()
|
D | dua_manager.cpp | 81 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 …]
|
D | network_data_service.hpp | 64 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;
|
D | mlr_manager.cpp | 79 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 …]
|
D | dua_manager.hpp | 104 void HandleDomainPrefixUpdate(BackboneRouter::Leader::DomainPrefixState aState); 113 …void HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState, const BackboneRouter:…
|
D | mlr_manager.hpp | 98 …void HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState, const BackboneRouter:…
|
D | address_resolver.cpp | 627 …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()
|
D | tmf.cpp | 178 Case(kUriMlr, BackboneRouter::Manager); in HandleResource() 181 Case(kUriDuaRegistrationRequest, BackboneRouter::Manager); in HandleResource()
|
/openthread-3.4.0/src/core/backbone_router/ |
D | ndproxy_table.cpp | 45 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()
|
D | backbone_tmf.cpp | 42 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()
|
D | bbr_local.cpp | 48 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()
|
D | bbr_local.hpp | 67 namespace BackboneRouter { namespace 305 DefineMapEnum(otBackboneRouterState, BackboneRouter::Local::State);
|
D | multicast_listeners_table.hpp | 52 namespace BackboneRouter { namespace 238 DefineMapEnum(otBackboneRouterMulticastListenerEvent, BackboneRouter::MulticastListenersTable::List…
|
D | bbr_leader.cpp | 42 namespace BackboneRouter { namespace 78 error = Get<NetworkData::Service::Manager>().GetServiceId<NetworkData::Service::BackboneRouter>( in GetServiceId() 217 Get<BackboneRouter::Local>().HandleBackboneRouterPrimaryUpdate(state, mConfig); in UpdateBackboneRouterPrimary()
|
D | bbr_manager.cpp | 52 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()
|
D | ndproxy_table.hpp | 54 namespace BackboneRouter { namespace 316 DefineMapEnum(otBackboneRouterNdProxyEvent, BackboneRouter::NdProxyTable::NdProxy::Event);
|
D | backbone_tmf.hpp | 45 namespace BackboneRouter { namespace
|
D | bbr_leader.hpp | 53 namespace BackboneRouter { namespace
|
D | bbr_manager.hpp | 56 namespace BackboneRouter { namespace
|
/openthread-3.4.0/tests/unit/ |
D | test_ndproxy_table.cpp | 47 using namespace ot::BackboneRouter; 66 BackboneRouter::NdProxyTable &table = sInstance->Get<BackboneRouter::NdProxyTable>(); in TestNdProxyTable()
|
D | test_multicast_listeners_table.cpp | 47 using namespace ot::BackboneRouter;
|
/openthread-3.4.0/src/core/common/ |
D | instance.hpp | 529 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()
|