Home
last modified time | relevance | path

Searched refs:aIterator (Results 1 – 25 of 70) sorted by relevance

123

/openthread-latest/src/core/api/
Dhistory_tracker_api.cpp46 void otHistoryTrackerInitIterator(otHistoryTrackerIterator *aIterator) { AsCoreType(aIterator).Init… in otHistoryTrackerInitIterator() argument
49 … otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateNetInfoHistory() argument
54 …e(aInstance).Get<Utils::HistoryTracker>().IterateNetInfoHistory(AsCoreType(aIterator), *aEntryAge); in otHistoryTrackerIterateNetInfoHistory()
59 otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateUnicastAddressHistory() argument
64 …oreType(aInstance).Get<Utils::HistoryTracker>().IterateUnicastAddressHistory(AsCoreType(aIterator), in otHistoryTrackerIterateUnicastAddressHistory()
70 otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateMulticastAddressHistory() argument
75 …eType(aInstance).Get<Utils::HistoryTracker>().IterateMulticastAddressHistory(AsCoreType(aIterator), in otHistoryTrackerIterateMulticastAddressHistory()
80 … otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateRxHistory() argument
85 …return AsCoreType(aInstance).Get<Utils::HistoryTracker>().IterateRxHistory(AsCoreType(aIterator), … in otHistoryTrackerIterateRxHistory()
89 … otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateTxHistory() argument
[all …]
Dmdns_api.cpp125 void otMdnsFreeIterator(otInstance *aInstance, otMdnsIterator *aIterator) in otMdnsFreeIterator() argument
127 AssertPointerIsNotNull(aIterator); in otMdnsFreeIterator()
129 AsCoreType(aInstance).Get<Dns::Multicast::Core>().FreeIterator(*aIterator); in otMdnsFreeIterator()
132 otError otMdnsGetNextHost(otInstance *aInstance, otMdnsIterator *aIterator, otMdnsHost *aHost, otMd… in otMdnsGetNextHost() argument
134 AssertPointerIsNotNull(aIterator); in otMdnsGetNextHost()
138 … return AsCoreType(aInstance).Get<Dns::Multicast::Core>().GetNextHost(*aIterator, *aHost, *aState); in otMdnsGetNextHost()
142 otMdnsIterator *aIterator, in otMdnsGetNextService() argument
146 AssertPointerIsNotNull(aIterator); in otMdnsGetNextService()
150 …return AsCoreType(aInstance).Get<Dns::Multicast::Core>().GetNextService(*aIterator, *aService, *aS… in otMdnsGetNextService()
153 otError otMdnsGetNextKey(otInstance *aInstance, otMdnsIterator *aIterator, otMdnsKey *aKey, otMdnsE… in otMdnsGetNextKey() argument
[all …]
Dnetdata_api.cpp68 otNetworkDataIterator *aIterator, in otNetDataGetNextOnMeshPrefix() argument
71 AssertPointerIsNotNull(aIterator); in otNetDataGetNextOnMeshPrefix()
73 …return AsCoreType(aInstance).Get<NetworkData::Leader>().GetNextOnMeshPrefix(*aIterator, AsCoreType… in otNetDataGetNextOnMeshPrefix()
83 otError otNetDataGetNextRoute(otInstance *aInstance, otNetworkDataIterator *aIterator, otExternalRo… in otNetDataGetNextRoute() argument
85 AssertPointerIsNotNull(aIterator); in otNetDataGetNextRoute()
87 …return AsCoreType(aInstance).Get<NetworkData::Leader>().GetNextExternalRoute(*aIterator, AsCoreTyp… in otNetDataGetNextRoute()
90 otError otNetDataGetNextService(otInstance *aInstance, otNetworkDataIterator *aIterator, otServiceC… in otNetDataGetNextService() argument
92 AssertPointerIsNotNull(aIterator); in otNetDataGetNextService()
94 …return AsCoreType(aInstance).Get<NetworkData::Leader>().GetNextService(*aIterator, AsCoreType(aCon… in otNetDataGetNextService()
98 otNetworkDataIterator *aIterator, in otNetDataGetNextLowpanContextInfo() argument
[all …]
Dborder_routing_api.cpp170 …outingPrefixTableInitIterator(otInstance *aInstance, otBorderRoutingPrefixTableIterator *aIterator) in otBorderRoutingPrefixTableInitIterator() argument
172 AssertPointerIsNotNull(aIterator); in otBorderRoutingPrefixTableInitIterator()
174 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().InitPrefixTableIterator(*aIterator); in otBorderRoutingPrefixTableInitIterator()
178 otBorderRoutingPrefixTableIterator *aIterator, in otBorderRoutingGetNextPrefixTableEntry() argument
181 AssertPointerIsNotNull(aIterator); in otBorderRoutingGetNextPrefixTableEntry()
184 …reType(aInstance).Get<BorderRouter::RoutingManager>().GetNextPrefixTableEntry(*aIterator, *aEntry); in otBorderRoutingGetNextPrefixTableEntry()
188 otBorderRoutingPrefixTableIterator *aIterator, in otBorderRoutingGetNextRouterEntry() argument
191 AssertPointerIsNotNull(aIterator); in otBorderRoutingGetNextRouterEntry()
194 …return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetNextRouterEntry(*aIterator, *a… in otBorderRoutingGetNextRouterEntry()
200 otBorderRoutingPrefixTableIterator *aIterator, in otBorderRoutingGetNextPeerBrEntry() argument
[all …]
Dcoap_api.cpp159 otError otCoapOptionIteratorInit(otCoapOptionIterator *aIterator, const otMessage *aMessage) in otCoapOptionIteratorInit() argument
161 return AsCoreType(aIterator).Init(AsCoapMessage(aMessage)); in otCoapOptionIteratorInit()
164 const otCoapOption *otCoapOptionIteratorGetFirstOptionMatching(otCoapOptionIterator *aIterator, uin… in otCoapOptionIteratorGetFirstOptionMatching() argument
166 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetFirstOptionMatching()
172 const otCoapOption *otCoapOptionIteratorGetFirstOption(otCoapOptionIterator *aIterator) in otCoapOptionIteratorGetFirstOption() argument
174 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetFirstOption()
180 const otCoapOption *otCoapOptionIteratorGetNextOptionMatching(otCoapOptionIterator *aIterator, uint… in otCoapOptionIteratorGetNextOptionMatching() argument
182 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetNextOptionMatching()
188 const otCoapOption *otCoapOptionIteratorGetNextOption(otCoapOptionIterator *aIterator) in otCoapOptionIteratorGetNextOption() argument
190 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetNextOption()
[all …]
Dborder_router_api.cpp87 otNetworkDataIterator *aIterator, in otBorderRouterGetNextOnMeshPrefix() argument
90 AssertPointerIsNotNull(aIterator); in otBorderRouterGetNextOnMeshPrefix()
92 …return AsCoreType(aInstance).Get<NetworkData::Local>().GetNextOnMeshPrefix(*aIterator, AsCoreType(… in otBorderRouterGetNextOnMeshPrefix()
106 otNetworkDataIterator *aIterator, in otBorderRouterGetNextRoute() argument
109 AssertPointerIsNotNull(aIterator); in otBorderRouterGetNextRoute()
111 …return AsCoreType(aInstance).Get<NetworkData::Local>().GetNextExternalRoute(*aIterator, AsCoreType… in otBorderRouterGetNextRoute()
Dtrel_api.cpp53 void otTrelInitPeerIterator(otInstance *aInstance, otTrelPeerIterator *aIterator) in otTrelInitPeerIterator() argument
55 AsCoreType(aInstance).Get<Trel::Interface>().InitIterator(*aIterator); in otTrelInitPeerIterator()
58 const otTrelPeer *otTrelGetNextPeer(otInstance *aInstance, otTrelPeerIterator *aIterator) in otTrelGetNextPeer() argument
60 return AsCoreType(aInstance).Get<Trel::Interface>().GetNextPeer(*aIterator); in otTrelGetNextPeer()
Dmesh_diag_api.cpp57 otError otMeshDiagGetNextIp6Address(otMeshDiagIp6AddrIterator *aIterator, otIp6Address *aIp6Address) in otMeshDiagGetNextIp6Address() argument
59 return AsCoreType(aIterator).GetNextAddress(AsCoreType(aIp6Address)); in otMeshDiagGetNextIp6Address()
62 otError otMeshDiagGetNextChildInfo(otMeshDiagChildIterator *aIterator, otMeshDiagChildInfo *aChildI… in otMeshDiagGetNextChildInfo() argument
64 return AsCoreType(aIterator).GetNextChildInfo(AsCoreType(aChildInfo)); in otMeshDiagGetNextChildInfo()
Dnat64_api.cpp76 … otNat64InitAddressMappingIterator(otInstance *aInstance, otNat64AddressMappingIterator *aIterator) in otNat64InitAddressMappingIterator() argument
78 AssertPointerIsNotNull(aIterator); in otNat64InitAddressMappingIterator()
80 AsCoreType(aInstance).Get<Nat64::Translator>().InitAddressMappingIterator(*aIterator); in otNat64InitAddressMappingIterator()
84 otNat64AddressMappingIterator *aIterator, in otNat64GetNextAddressMapping() argument
87 AssertPointerIsNotNull(aIterator); in otNat64GetNextAddressMapping()
90 …return AsCoreType(aInstance).Get<Nat64::Translator>().GetNextAddressMapping(*aIterator, *aMapping); in otNat64GetNextAddressMapping()
/openthread-latest/src/core/thread/
Dnetwork_data_service.cpp157 Error Manager::GetNextDnsSrpAnycastInfo(Iterator &aIterator, DnsSrpAnycastInfo &aInfo) const in GetNextDnsSrpAnycastInfo() argument
168 if (IterateToNextServer(aIterator) == kErrorNone) in GetNextDnsSrpAnycastInfo()
170 aIterator.mServiceTlv->GetServiceData(serviceData); in GetNextDnsSrpAnycastInfo()
177 … Get<Mle::Mle>().GetServiceAloc(aIterator.mServiceTlv->GetServiceId(), aInfo.mAnycastAddress); in GetNextDnsSrpAnycastInfo()
179 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpAnycastInfo()
187 aIterator.mServiceTlv = in GetNextDnsSrpAnycastInfo()
188 …Get<Leader>().FindNextThreadService(aIterator.mServiceTlv, serviceData, NetworkData::kServicePrefi… in GetNextDnsSrpAnycastInfo()
189 aIterator.mServerSubTlv = nullptr; in GetNextDnsSrpAnycastInfo()
194 } while (aIterator.mServiceTlv != nullptr); in GetNextDnsSrpAnycastInfo()
268 Error Manager::GetNextDnsSrpUnicastInfo(Iterator &aIterator, DnsSrpUnicastType aType, DnsSrpUnicast… in GetNextDnsSrpUnicastInfo() argument
[all …]
Dneighbor_table.cpp190 Error NeighborTable::GetNextNeighborInfo(otNeighborInfoIterator &aIterator, Neighbor::Info &aNeighI… in GetNextNeighborInfo() argument
197 if (aIterator >= 0) in GetNextNeighborInfo()
199 for (index = aIterator;; index++) in GetNextNeighborInfo()
213 aIterator = index; in GetNextNeighborInfo()
218 aIterator = 0; in GetNextNeighborInfo()
223 for (index = -aIterator; index <= Mle::kMaxRouterId; index++) in GetNextNeighborInfo()
232 aIterator = -index; in GetNextNeighborInfo()
237 aIterator = -index; in GetNextNeighborInfo()
248 Error NeighborTable::GetNextNeighborInfo(otNeighborInfoIterator &aIterator, Neighbor::Info &aNeighI… in GetNextNeighborInfo() argument
252 VerifyOrExit(aIterator == OT_NEIGHBOR_INFO_ITERATOR_INIT); in GetNextNeighborInfo()
[all …]
Dnetwork_data.hpp204 Error GetNextOnMeshPrefix(Iterator &aIterator, OnMeshPrefixConfig &aConfig) const;
217 …Error GetNextOnMeshPrefix(Iterator &aIterator, uint16_t aRloc16, OnMeshPrefixConfig &aConfig) cons…
229 Error GetNextExternalRoute(Iterator &aIterator, ExternalRouteConfig &aConfig) const;
242 …Error GetNextExternalRoute(Iterator &aIterator, uint16_t aRloc16, ExternalRouteConfig &aConfig) co…
254 Error GetNextService(Iterator &aIterator, ServiceConfig &aConfig) const;
267 Error GetNextService(Iterator &aIterator, uint16_t aRloc16, ServiceConfig &aConfig) const;
279 Error GetNextLowpanContextInfo(Iterator &aIterator, LowpanContextInfo &aContextInfo) const;
507 explicit NetworkDataIterator(Iterator &aIterator) in NetworkDataIterator() argument
508 : mIteratorBuffer(reinterpret_cast<uint8_t *>(&aIterator)) in NetworkDataIterator()
575 Error Iterate(Iterator &aIterator, uint16_t aRloc16, Config &aConfig) const;
Dnetwork_data.cpp86 Error NetworkData::GetNextOnMeshPrefix(Iterator &aIterator, OnMeshPrefixConfig &aConfig) const in GetNextOnMeshPrefix() argument
88 return GetNextOnMeshPrefix(aIterator, Mac::kShortAddrBroadcast, aConfig); in GetNextOnMeshPrefix()
91 Error NetworkData::GetNextOnMeshPrefix(Iterator &aIterator, uint16_t aRloc16, OnMeshPrefixConfig &a… in GetNextOnMeshPrefix() argument
100 return Iterate(aIterator, aRloc16, config); in GetNextOnMeshPrefix()
103 Error NetworkData::GetNextExternalRoute(Iterator &aIterator, ExternalRouteConfig &aConfig) const in GetNextExternalRoute() argument
105 return GetNextExternalRoute(aIterator, Mac::kShortAddrBroadcast, aConfig); in GetNextExternalRoute()
108 Error NetworkData::GetNextExternalRoute(Iterator &aIterator, uint16_t aRloc16, ExternalRouteConfig … in GetNextExternalRoute() argument
117 return Iterate(aIterator, aRloc16, config); in GetNextExternalRoute()
120 Error NetworkData::GetNextService(Iterator &aIterator, ServiceConfig &aConfig) const in GetNextService() argument
122 return GetNextService(aIterator, Mac::kShortAddrBroadcast, aConfig); in GetNextService()
[all …]
Dchild.cpp169 Error Child::GetNextIp6Address(AddressIterator &aIterator, Ip6::Address &aAddress) const in GetNextIp6Address() argument
173 if (aIterator == 0) in GetNextIp6Address()
175 aIterator++; in GetNextIp6Address()
183 VerifyOrExit(aIterator - 1 < mIp6Addresses.GetLength(), error = kErrorNotFound); in GetNextIp6Address()
185 aAddress = mIp6Addresses[static_cast<Ip6AddressArray::IndexType>(aIterator - 1)]; in GetNextIp6Address()
186 aIterator++; in GetNextIp6Address()
/openthread-latest/src/core/utils/
Dhistory_tracker.hpp164 const NetworkInfo *IterateNetInfoHistory(Iterator &aIterator, uint32_t &aEntryAge) const in IterateNetInfoHistory() argument
166 return mNetInfoHistory.Iterate(aIterator, aEntryAge); in IterateNetInfoHistory()
181 …const UnicastAddressInfo *IterateUnicastAddressHistory(Iterator &aIterator, uint32_t &aEntryAge) c… in IterateUnicastAddressHistory() argument
183 return mUnicastAddressHistory.Iterate(aIterator, aEntryAge); in IterateUnicastAddressHistory()
198 …const MulticastAddressInfo *IterateMulticastAddressHistory(Iterator &aIterator, uint32_t &aEntryAg… in IterateMulticastAddressHistory() argument
200 return mMulticastAddressHistory.Iterate(aIterator, aEntryAge); in IterateMulticastAddressHistory()
215 const MessageInfo *IterateRxHistory(Iterator &aIterator, uint32_t &aEntryAge) const in IterateRxHistory() argument
217 return mRxHistory.Iterate(aIterator, aEntryAge); in IterateRxHistory()
232 const MessageInfo *IterateTxHistory(Iterator &aIterator, uint32_t &aEntryAge) const in IterateTxHistory() argument
234 return mTxHistory.Iterate(aIterator, aEntryAge); in IterateTxHistory()
[all …]
/openthread-latest/include/openthread/
Dhistory_tracker.h268 void otHistoryTrackerInitIterator(otHistoryTrackerIterator *aIterator);
284 … otHistoryTrackerIterator *aIterator,
302 otHistoryTrackerIterator *aIterator,
320 otHistoryTrackerIterator *aIterator,
337 … otHistoryTrackerIterator *aIterator,
354 … otHistoryTrackerIterator *aIterator,
371 … otHistoryTrackerIterator *aIterator,
388 … otHistoryTrackerIterator *aIterator,
405 … otHistoryTrackerIterator *aIterator,
423 otHistoryTrackerIterator *aIterator,
Dmdns.h434 void otMdnsFreeIterator(otInstance *aInstance, otMdnsIterator *aIterator);
455 otMdnsIterator *aIterator,
479 otMdnsIterator *aIterator,
501 otError otMdnsGetNextKey(otInstance *aInstance, otMdnsIterator *aIterator, otMdnsKey *aKey, otMdnsE…
816 otMdnsIterator *aIterator,
841 otMdnsIterator *aIterator,
866 otMdnsIterator *aIterator,
891 otMdnsIterator *aIterator,
916 otMdnsIterator *aIterator,
Dnetdata.h199 otNetworkDataIterator *aIterator,
214 otError otNetDataGetNextRoute(otInstance *aInstance, otNetworkDataIterator *aIterator, otExternalRo…
228 otError otNetDataGetNextService(otInstance *aInstance, otNetworkDataIterator *aIterator, otServiceC…
243 otNetworkDataIterator *aIterator,
Dborder_routing.h466 …utingPrefixTableInitIterator(otInstance *aInstance, otBorderRoutingPrefixTableIterator *aIterator);
483 otBorderRoutingPrefixTableIterator *aIterator,
498 otBorderRoutingPrefixTableIterator *aIterator,
525 otBorderRoutingPrefixTableIterator *aIterator,
/openthread-latest/src/core/mac/
Dmac_filter.cpp124 Error Filter::GetNextAddress(Iterator &aIterator, Entry &aEntry) const in GetNextAddress() argument
128 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextAddress()
130 const FilterEntry &entry = mFilterEntries[aIterator]; in GetNextAddress()
137 aIterator++; in GetNextAddress()
186 Error Filter::GetNextRssIn(Iterator &aIterator, Entry &aEntry) const in GetNextRssIn() argument
190 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextRssIn()
192 const FilterEntry &entry = mFilterEntries[aIterator]; in GetNextRssIn()
199 aIterator++; in GetNextRssIn()
205 if ((aIterator == GetArrayLength(mFilterEntries)) && (mDefaultRssIn != kFixedRssDisabled)) in GetNextRssIn()
210 aIterator++; in GetNextRssIn()
/openthread-latest/tools/ot-fct/
Dcli.cpp53 otError Cli::GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &a… in GetNextTargetPower() argument
60 … while (mProductConfigFile.Get(kKeyTargetPower, aIterator, value, sizeof(value)) == OT_ERROR_NONE) in GetNextTargetPower()
74 otError Cli::GetNextDomain(int &aIterator, Power::Domain &aDomain) in GetNextDomain() argument
80 …while (mProductConfigFile.Get(kKeyRegionDomainMapping, aIterator, value, sizeof(value)) == OT_ERRO… in GetNextDomain()
142 uint16_t &aIterator, in ParseNextCalibratedPower() argument
146 char *start = aCalibratedPowerString + aIterator; in ParseNextCalibratedPower()
152 VerifyOrExit(aIterator < aLength, error = OT_ERROR_PARSE); in ParseNextCalibratedPower()
157 aIterator = end - aCalibratedPowerString + 1; // +1 to skip '/' in ParseNextCalibratedPower()
162 aIterator = aLength; in ParseNextCalibratedPower()
Dcli.hpp100 uint16_t &aIterator,
105 otError GetNextDomain(int &aIterator, Power::Domain &aDomain);
106 …otError GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &aTarg…
/openthread-latest/src/core/backbone_router/
Dmulticast_listeners_table.cpp292 Error MulticastListenersTable::GetNext(Listener::Iterator &aIterator, Listener::Info &aInfo) in GetNext() argument
297 VerifyOrExit(aIterator < mNumValidListeners, error = kErrorNotFound); in GetNext()
301 aInfo.mAddress = mListeners[aIterator].mAddress; in GetNext()
303 …Time::MsecToSec(mListeners[aIterator].mExpireTime > now ? mListeners[aIterator].mExpireTime - now … in GetNext()
305 aIterator++; in GetNext()
/openthread-latest/src/cli/
Dcli_network_data.hpp137 …otError GetNextPrefix(otNetworkDataIterator *aIterator, otBorderRouterConfig *aConfig, bool aLocal…
138 …otError GetNextRoute(otNetworkDataIterator *aIterator, otExternalRouteConfig *aConfig, bool aLocal…
139 otError GetNextService(otNetworkDataIterator *aIterator, otServiceConfig *aConfig, bool aLocal);
Dcli_network_data.cpp547 otError NetworkData::GetNextPrefix(otNetworkDataIterator *aIterator, otBorderRouterConfig *aConfig,… in GetNextPrefix() argument
554 error = otBorderRouterGetNextOnMeshPrefix(GetInstancePtr(), aIterator, aConfig); in GetNextPrefix()
561 error = otNetDataGetNextOnMeshPrefix(GetInstancePtr(), aIterator, aConfig); in GetNextPrefix()
641 otError NetworkData::GetNextRoute(otNetworkDataIterator *aIterator, otExternalRouteConfig *aConfig,… in GetNextRoute() argument
648 error = otBorderRouterGetNextRoute(GetInstancePtr(), aIterator, aConfig); in GetNextRoute()
655 error = otNetDataGetNextRoute(GetInstancePtr(), aIterator, aConfig); in GetNextRoute()
661 otError NetworkData::GetNextService(otNetworkDataIterator *aIterator, otServiceConfig *aConfig, boo… in GetNextService() argument
668 error = otServerGetNextService(GetInstancePtr(), aIterator, aConfig); in GetNextService()
675 error = otNetDataGetNextService(GetInstancePtr(), aIterator, aConfig); in GetNextService()

123