/openthread-3.4.0/src/core/backbone_router/ |
D | multicast_listeners_table.cpp | 80 mCallback.InvokeIfSet(MapEnum(Listener::kEventAdded), &aAddress); in Add() 106 mCallback.InvokeIfSet(MapEnum(Listener::kEventRemoved), &aAddress); in Remove() 135 mCallback.InvokeIfSet(MapEnum(Listener::kEventRemoved), &address); in Expire() 270 mCallback.Invoke(MapEnum(Listener::kEventRemoved), &mListeners[i].GetAddress()); in Clear() 287 mCallback.Invoke(MapEnum(Listener::kEventAdded), &mListeners[i].GetAddress()); in SetCallback()
|
D | ndproxy_table.cpp | 144 mCallback.InvokeIfSet(MapEnum(NdProxy::kCleared), nullptr); in Clear() 280 mCallback.Invoke(MapEnum(aEvent), &dua); in TriggerCallback()
|
/openthread-3.4.0/src/core/api/ |
D | joiner_api.cpp | 64 return MapEnum(AsCoreType(aInstance).Get<MeshCoP::Joiner>().GetState()); in otJoinerGetState() 98 return MeshCoP::Joiner::StateToString(MapEnum(aState)); in otJoinerStateToString()
|
D | coap_api.cpp | 53 AsCoapMessage(aMessage).Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInit() 61 response.Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInitResponse() 144 …SetCode(otMessage *aMessage, otCoapCode aCode) { AsCoapMessage(aMessage).SetCode(MapEnum(aCode)); } in otCoapMessageSetCode()
|
D | srp_server_api.cpp | 54 return MapEnum(AsCoreType(aInstance).Get<Srp::Server>().GetState()); in otSrpServerGetState() 61 return MapEnum(AsCoreType(aInstance).Get<Srp::Server>().GetAddressMode()); in otSrpServerGetAddressMode() 66 return AsCoreType(aInstance).Get<Srp::Server>().SetAddressMode(MapEnum(aMode)); in otSrpServerSetAddressMode()
|
D | border_agent_api.cpp | 54 return MapEnum(AsCoreType(aInstance).Get<MeshCoP::BorderAgent>().GetState()); in otBorderAgentGetState()
|
D | nat64_api.cpp | 110 return MapEnum(AsCoreType(aInstance).Get<Nat64::Translator>().GetState()); in otNat64GetTranslatorState() 117 …return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetNat64PrefixManagerStat… in otNat64GetPrefixManagerState()
|
D | network_time_api.cpp | 49 return MapEnum(AsCoreType(aInstance).Get<TimeSync>().GetTime(*aNetworkTime)); in otNetworkTimeGet()
|
D | dns_server_api.cpp | 81 return MapEnum(Dns::ServiceDiscovery::Server::GetQueryTypeAndName(aQuery, *aNameOutput)); in otDnssdGetQueryTypeAndName()
|
D | link_metrics_api.cpp | 88 return initiator.SendMgmtRequestEnhAckProbing(AsCoreType(aDestination), MapEnum(aEnhAckFlags), in otLinkMetricsConfigEnhAckProbing()
|
D | border_routing_api.cpp | 57 return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetState()); in otBorderRoutingGetState()
|
D | udp_api.cpp | 65 …eType(aInstance).Get<Ip6::Udp>().Bind(AsCoreType(aSocket), AsCoreType(aSockName), MapEnum(aNetif)); in otUdpBind()
|
D | backbone_router_ftd_api.cpp | 53 return MapEnum(AsCoreType(aInstance).Get<BackboneRouter::Local>().GetState()); in otBackboneRouterGetState()
|
D | srp_client_api.cpp | 174 return Srp::Client::ItemStateToString(MapEnum(aItemState)); in otSrpClientItemStateToString()
|
D | commissioner_api.cpp | 182 return MapEnum(AsCoreType(aInstance).Get<MeshCoP::Commissioner>().GetState()); in otCommissionerGetState()
|
D | link_api.cpp | 195 return MapEnum(AsCoreType(aInstance).Get<Mac::Filter>().GetMode()); in otLinkFilterGetAddressMode() 200 AsCoreType(aInstance).Get<Mac::Filter>().SetMode(MapEnum(aMode)); in otLinkFilterSetAddressMode()
|
D | thread_api.cpp | 307 return MapEnum(AsCoreType(aInstance).Get<Mle::MleRouter>().GetRole()); in otThreadGetDeviceRole() 310 const char *otThreadDeviceRoleToString(otDeviceRole aRole) { return Mle::RoleToString(MapEnum(aRole… in otThreadDeviceRoleToString()
|
/openthread-3.4.0/src/core/common/ |
D | as_core_type.hpp | 141 template <typename EnumType> const typename MappedEnum<EnumType>::Type MapEnum(EnumType aValue) in MapEnum() function
|
/openthread-3.4.0/src/core/thread/ |
D | mle_types.cpp | 106 PowerSupply powerSupply = MapEnum(mPowerSupply); in CalculateLeaderWeight()
|
D | address_resolver.cpp | 132 aInfo.mState = MapEnum(EntryInfo::kStateCached); in GetNextCacheEntry() 147 aInfo.mState = MapEnum(EntryInfo::kStateSnooped); in GetNextCacheEntry() 151 aInfo.mState = MapEnum(EntryInfo::kStateQuery); in GetNextCacheEntry() 155 aInfo.mState = MapEnum(EntryInfo::kStateRetryQuery); in GetNextCacheEntry()
|
/openthread-3.4.0/src/core/net/ |
D | udp6.cpp | 125 error = otPlatUdpJoinMulticastGroup(this, MapEnum(aNetifIdentifier), &aAddress); in JoinNetifMulticastGroup() 142 error = otPlatUdpLeaveMulticastGroup(this, MapEnum(aNetifIdentifier), &aAddress); in LeaveNetifMulticastGroup() 201 SuccessOrExit(error = otPlatUdpBindToNetif(&aSocket, MapEnum(aNetifIdentifier))); in Bind()
|
D | dns_dso.cpp | 78 AsCoreType(aConnection).HandleDisconnected(MapEnum(aMode)); in otPlatDsoHandleDisconnected() 212 otPlatDsoDisconnect(this, MapEnum(aMode)); in Disconnect()
|
D | srp_client.cpp | 76 mState = MapEnum(aState); in SetState() 153 mState = MapEnum(aState); in SetState()
|
/openthread-3.4.0/src/core/meshcop/ |
D | commissioner.cpp | 99 mStateCallback.InvokeIfSet(MapEnum(mState)); in SetState() 128 mJoinerCallback.Invoke(MapEnum(aEvent), &joinerInfo, noJoinerId ? nullptr : &joinerId); in SignalJoinerEvent()
|
/openthread-3.4.0/src/core/utils/ |
D | history_tracker.cpp | 75 entry->mRole = MapEnum(Get<Mle::Mle>().GetRole()); in RecordNetworkInfo()
|