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.cpp42 void otHistoryTrackerInitIterator(otHistoryTrackerIterator *aIterator) { AsCoreType(aIterator).Init… in otHistoryTrackerInitIterator() argument
45 … otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateNetInfoHistory() argument
50 …e(aInstance).Get<Utils::HistoryTracker>().IterateNetInfoHistory(AsCoreType(aIterator), *aEntryAge); in otHistoryTrackerIterateNetInfoHistory()
55 otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateUnicastAddressHistory() argument
60 …oreType(aInstance).Get<Utils::HistoryTracker>().IterateUnicastAddressHistory(AsCoreType(aIterator), in otHistoryTrackerIterateUnicastAddressHistory()
66 otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateMulticastAddressHistory() argument
71 …eType(aInstance).Get<Utils::HistoryTracker>().IterateMulticastAddressHistory(AsCoreType(aIterator), in otHistoryTrackerIterateMulticastAddressHistory()
76 … otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateRxHistory() argument
81 …return AsCoreType(aInstance).Get<Utils::HistoryTracker>().IterateRxHistory(AsCoreType(aIterator), … in otHistoryTrackerIterateRxHistory()
85 … otHistoryTrackerIterator *aIterator, in otHistoryTrackerIterateTxHistory() argument
[all …]
Dmdns_api.cpp122 void otMdnsFreeIterator(otInstance *aInstance, otMdnsIterator *aIterator) in otMdnsFreeIterator() argument
124 AssertPointerIsNotNull(aIterator); in otMdnsFreeIterator()
126 AsCoreType(aInstance).Get<Dns::Multicast::Core>().FreeIterator(*aIterator); in otMdnsFreeIterator()
129 otError otMdnsGetNextHost(otInstance *aInstance, otMdnsIterator *aIterator, otMdnsHost *aHost, otMd… in otMdnsGetNextHost() argument
131 AssertPointerIsNotNull(aIterator); in otMdnsGetNextHost()
135 … return AsCoreType(aInstance).Get<Dns::Multicast::Core>().GetNextHost(*aIterator, *aHost, *aState); in otMdnsGetNextHost()
139 otMdnsIterator *aIterator, in otMdnsGetNextService() argument
143 AssertPointerIsNotNull(aIterator); in otMdnsGetNextService()
147 …return AsCoreType(aInstance).Get<Dns::Multicast::Core>().GetNextService(*aIterator, *aService, *aS… in otMdnsGetNextService()
150 otError otMdnsGetNextKey(otInstance *aInstance, otMdnsIterator *aIterator, otMdnsKey *aKey, otMdnsE… in otMdnsGetNextKey() argument
[all …]
Dnetdata_api.cpp65 otNetworkDataIterator *aIterator, in otNetDataGetNextOnMeshPrefix() argument
68 AssertPointerIsNotNull(aIterator); in otNetDataGetNextOnMeshPrefix()
70 …return AsCoreType(aInstance).Get<NetworkData::Leader>().GetNextOnMeshPrefix(*aIterator, AsCoreType… in otNetDataGetNextOnMeshPrefix()
80 otError otNetDataGetNextRoute(otInstance *aInstance, otNetworkDataIterator *aIterator, otExternalRo… in otNetDataGetNextRoute() argument
82 AssertPointerIsNotNull(aIterator); in otNetDataGetNextRoute()
84 …return AsCoreType(aInstance).Get<NetworkData::Leader>().GetNextExternalRoute(*aIterator, AsCoreTyp… in otNetDataGetNextRoute()
87 otError otNetDataGetNextService(otInstance *aInstance, otNetworkDataIterator *aIterator, otServiceC… in otNetDataGetNextService() argument
89 AssertPointerIsNotNull(aIterator); in otNetDataGetNextService()
91 …return AsCoreType(aInstance).Get<NetworkData::Leader>().GetNextService(*aIterator, AsCoreType(aCon… in otNetDataGetNextService()
95 otNetworkDataIterator *aIterator, in otNetDataGetNextLowpanContextInfo() argument
[all …]
Dborder_routing_api.cpp166 …outingPrefixTableInitIterator(otInstance *aInstance, otBorderRoutingPrefixTableIterator *aIterator) in otBorderRoutingPrefixTableInitIterator() argument
168 AssertPointerIsNotNull(aIterator); in otBorderRoutingPrefixTableInitIterator()
170 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().InitPrefixTableIterator(*aIterator); in otBorderRoutingPrefixTableInitIterator()
174 otBorderRoutingPrefixTableIterator *aIterator, in otBorderRoutingGetNextPrefixTableEntry() argument
177 AssertPointerIsNotNull(aIterator); in otBorderRoutingGetNextPrefixTableEntry()
180 …reType(aInstance).Get<BorderRouter::RoutingManager>().GetNextPrefixTableEntry(*aIterator, *aEntry); in otBorderRoutingGetNextPrefixTableEntry()
184 otBorderRoutingPrefixTableIterator *aIterator, in otBorderRoutingGetNextRouterEntry() argument
187 AssertPointerIsNotNull(aIterator); in otBorderRoutingGetNextRouterEntry()
190 …return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetNextRouterEntry(*aIterator, *a… in otBorderRoutingGetNextRouterEntry()
196 otBorderRoutingPrefixTableIterator *aIterator, in otBorderRoutingGetNextPeerBrEntry() argument
[all …]
Dcoap_api.cpp155 otError otCoapOptionIteratorInit(otCoapOptionIterator *aIterator, const otMessage *aMessage) in otCoapOptionIteratorInit() argument
157 return AsCoreType(aIterator).Init(AsCoapMessage(aMessage)); in otCoapOptionIteratorInit()
160 const otCoapOption *otCoapOptionIteratorGetFirstOptionMatching(otCoapOptionIterator *aIterator, uin… in otCoapOptionIteratorGetFirstOptionMatching() argument
162 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetFirstOptionMatching()
168 const otCoapOption *otCoapOptionIteratorGetFirstOption(otCoapOptionIterator *aIterator) in otCoapOptionIteratorGetFirstOption() argument
170 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetFirstOption()
176 const otCoapOption *otCoapOptionIteratorGetNextOptionMatching(otCoapOptionIterator *aIterator, uint… in otCoapOptionIteratorGetNextOptionMatching() argument
178 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetNextOptionMatching()
184 const otCoapOption *otCoapOptionIteratorGetNextOption(otCoapOptionIterator *aIterator) in otCoapOptionIteratorGetNextOption() argument
186 Coap::Option::Iterator &iterator = AsCoreType(aIterator); in otCoapOptionIteratorGetNextOption()
[all …]
Dborder_router_api.cpp85 otNetworkDataIterator *aIterator, in otBorderRouterGetNextOnMeshPrefix() argument
88 AssertPointerIsNotNull(aIterator); in otBorderRouterGetNextOnMeshPrefix()
90 …return AsCoreType(aInstance).Get<NetworkData::Local>().GetNextOnMeshPrefix(*aIterator, AsCoreType(… in otBorderRouterGetNextOnMeshPrefix()
104 otNetworkDataIterator *aIterator, in otBorderRouterGetNextRoute() argument
107 AssertPointerIsNotNull(aIterator); in otBorderRouterGetNextRoute()
109 …return AsCoreType(aInstance).Get<NetworkData::Local>().GetNextExternalRoute(*aIterator, AsCoreType… in otBorderRouterGetNextRoute()
Dmesh_diag_api.cpp53 otError otMeshDiagGetNextIp6Address(otMeshDiagIp6AddrIterator *aIterator, otIp6Address *aIp6Address) in otMeshDiagGetNextIp6Address() argument
55 return AsCoreType(aIterator).GetNextAddress(AsCoreType(aIp6Address)); in otMeshDiagGetNextIp6Address()
58 otError otMeshDiagGetNextChildInfo(otMeshDiagChildIterator *aIterator, otMeshDiagChildInfo *aChildI… in otMeshDiagGetNextChildInfo() argument
60 return AsCoreType(aIterator).GetNextChildInfo(AsCoreType(aChildInfo)); in otMeshDiagGetNextChildInfo()
Dtrel_api.cpp51 void otTrelInitPeerIterator(otInstance *aInstance, otTrelPeerIterator *aIterator) in otTrelInitPeerIterator() argument
53 AsCoreType(aInstance).Get<Trel::Interface>().InitIterator(*aIterator); in otTrelInitPeerIterator()
56 const otTrelPeer *otTrelGetNextPeer(otInstance *aInstance, otTrelPeerIterator *aIterator) in otTrelGetNextPeer() argument
58 return AsCoreType(aInstance).Get<Trel::Interface>().GetNextPeer(*aIterator); in otTrelGetNextPeer()
Dnat64_api.cpp69 … otNat64InitAddressMappingIterator(otInstance *aInstance, otNat64AddressMappingIterator *aIterator) in otNat64InitAddressMappingIterator() argument
71 AssertPointerIsNotNull(aIterator); in otNat64InitAddressMappingIterator()
73 AsCoreType(aInstance).Get<Nat64::Translator>().InitAddressMappingIterator(*aIterator); in otNat64InitAddressMappingIterator()
77 otNat64AddressMappingIterator *aIterator, in otNat64GetNextAddressMapping() argument
80 AssertPointerIsNotNull(aIterator); in otNat64GetNextAddressMapping()
83 …return AsCoreType(aInstance).Get<Nat64::Translator>().GetNextAddressMapping(*aIterator, *aMapping); in otNat64GetNextAddressMapping()
/openthread-latest/src/core/thread/
Dnetwork_data_service.cpp160 Error Manager::GetNextDnsSrpAnycastInfo(Iterator &aIterator, DnsSrpAnycastInfo &aInfo) const in GetNextDnsSrpAnycastInfo() argument
171 if (IterateToNextServer(aIterator) == kErrorNone) in GetNextDnsSrpAnycastInfo()
173 uint8_t dataLength = aIterator.mServiceTlv->GetServiceDataLength(); in GetNextDnsSrpAnycastInfo()
178 … reinterpret_cast<const DnsSrpAnycastServiceData *>(aIterator.mServiceTlv->GetServiceData()); in GetNextDnsSrpAnycastInfo()
180 … Get<Mle::Mle>().GetServiceAloc(aIterator.mServiceTlv->GetServiceId(), aInfo.mAnycastAddress); in GetNextDnsSrpAnycastInfo()
182 aInfo.mRloc16 = aIterator.mServerSubTlv->GetServer16(); in GetNextDnsSrpAnycastInfo()
183 … aInfo.mVersion = (aIterator.mServerSubTlv->GetServerDataLength() >= sizeof(uint8_t)) in GetNextDnsSrpAnycastInfo()
184 ? *aIterator.mServerSubTlv->GetServerData() in GetNextDnsSrpAnycastInfo()
193 aIterator.mServiceTlv = in GetNextDnsSrpAnycastInfo()
194 …Get<Leader>().FindNextThreadService(aIterator.mServiceTlv, serviceData, NetworkData::kServicePrefi… in GetNextDnsSrpAnycastInfo()
[all …]
Dneighbor_table.cpp187 Error NeighborTable::GetNextNeighborInfo(otNeighborInfoIterator &aIterator, Neighbor::Info &aNeighI… in GetNextNeighborInfo() argument
194 if (aIterator >= 0) in GetNextNeighborInfo()
196 for (index = aIterator;; index++) in GetNextNeighborInfo()
210 aIterator = index; in GetNextNeighborInfo()
215 aIterator = 0; in GetNextNeighborInfo()
220 for (index = -aIterator; index <= Mle::kMaxRouterId; index++) in GetNextNeighborInfo()
229 aIterator = -index; in GetNextNeighborInfo()
234 aIterator = -index; in GetNextNeighborInfo()
245 Error NeighborTable::GetNextNeighborInfo(otNeighborInfoIterator &aIterator, Neighbor::Info &aNeighI… in GetNextNeighborInfo() argument
249 VerifyOrExit(aIterator == OT_NEIGHBOR_INFO_ITERATOR_INIT); in GetNextNeighborInfo()
[all …]
Dnetwork_data.hpp193 Error GetNextOnMeshPrefix(Iterator &aIterator, OnMeshPrefixConfig &aConfig) const;
205 …Error GetNextOnMeshPrefix(Iterator &aIterator, uint16_t aRloc16, OnMeshPrefixConfig &aConfig) cons…
216 Error GetNextExternalRoute(Iterator &aIterator, ExternalRouteConfig &aConfig) const;
228 …Error GetNextExternalRoute(Iterator &aIterator, uint16_t aRloc16, ExternalRouteConfig &aConfig) co…
239 Error GetNextService(Iterator &aIterator, ServiceConfig &aConfig) const;
251 Error GetNextService(Iterator &aIterator, uint16_t aRloc16, ServiceConfig &aConfig) const;
262 Error GetNextLowpanContextInfo(Iterator &aIterator, LowpanContextInfo &aContextInfo) const;
474 explicit NetworkDataIterator(Iterator &aIterator) in NetworkDataIterator() argument
475 : mIteratorBuffer(reinterpret_cast<uint8_t *>(&aIterator)) in NetworkDataIterator()
542 Error Iterate(Iterator &aIterator, uint16_t aRloc16, Config &aConfig) const;
Dnetwork_data.cpp76 Error NetworkData::GetNextOnMeshPrefix(Iterator &aIterator, OnMeshPrefixConfig &aConfig) const in GetNextOnMeshPrefix() argument
78 return GetNextOnMeshPrefix(aIterator, Mac::kShortAddrBroadcast, aConfig); in GetNextOnMeshPrefix()
81 Error NetworkData::GetNextOnMeshPrefix(Iterator &aIterator, uint16_t aRloc16, OnMeshPrefixConfig &a… in GetNextOnMeshPrefix() argument
90 return Iterate(aIterator, aRloc16, config); in GetNextOnMeshPrefix()
93 Error NetworkData::GetNextExternalRoute(Iterator &aIterator, ExternalRouteConfig &aConfig) const in GetNextExternalRoute() argument
95 return GetNextExternalRoute(aIterator, Mac::kShortAddrBroadcast, aConfig); in GetNextExternalRoute()
98 Error NetworkData::GetNextExternalRoute(Iterator &aIterator, uint16_t aRloc16, ExternalRouteConfig … in GetNextExternalRoute() argument
107 return Iterate(aIterator, aRloc16, config); in GetNextExternalRoute()
110 Error NetworkData::GetNextService(Iterator &aIterator, ServiceConfig &aConfig) const in GetNextService() argument
112 return GetNextService(aIterator, Mac::kShortAddrBroadcast, aConfig); in GetNextService()
[all …]
Dchild.cpp164 Error Child::GetNextIp6Address(AddressIterator &aIterator, Ip6::Address &aAddress) const in GetNextIp6Address() argument
168 if (aIterator == 0) in GetNextIp6Address()
170 aIterator++; in GetNextIp6Address()
178 VerifyOrExit(aIterator - 1 < mIp6Addresses.GetLength(), error = kErrorNotFound); in GetNextIp6Address()
180 aAddress = mIp6Addresses[static_cast<Ip6AddressArray::IndexType>(aIterator - 1)]; in GetNextIp6Address()
181 aIterator++; in GetNextIp6Address()
/openthread-latest/src/core/utils/
Dhistory_tracker.hpp156 const NetworkInfo *IterateNetInfoHistory(Iterator &aIterator, uint32_t &aEntryAge) const in IterateNetInfoHistory() argument
158 return mNetInfoHistory.Iterate(aIterator, aEntryAge); in IterateNetInfoHistory()
172 …const UnicastAddressInfo *IterateUnicastAddressHistory(Iterator &aIterator, uint32_t &aEntryAge) c… in IterateUnicastAddressHistory() argument
174 return mUnicastAddressHistory.Iterate(aIterator, aEntryAge); in IterateUnicastAddressHistory()
188 …const MulticastAddressInfo *IterateMulticastAddressHistory(Iterator &aIterator, uint32_t &aEntryAg… in IterateMulticastAddressHistory() argument
190 return mMulticastAddressHistory.Iterate(aIterator, aEntryAge); in IterateMulticastAddressHistory()
204 const MessageInfo *IterateRxHistory(Iterator &aIterator, uint32_t &aEntryAge) const in IterateRxHistory() argument
206 return mRxHistory.Iterate(aIterator, aEntryAge); in IterateRxHistory()
220 const MessageInfo *IterateTxHistory(Iterator &aIterator, uint32_t &aEntryAge) const in IterateTxHistory() argument
222 return mTxHistory.Iterate(aIterator, aEntryAge); in IterateTxHistory()
[all …]
/openthread-latest/include/openthread/
Dhistory_tracker.h251 void otHistoryTrackerInitIterator(otHistoryTrackerIterator *aIterator);
266 … otHistoryTrackerIterator *aIterator,
283 otHistoryTrackerIterator *aIterator,
300 otHistoryTrackerIterator *aIterator,
316 … otHistoryTrackerIterator *aIterator,
332 … otHistoryTrackerIterator *aIterator,
348 … otHistoryTrackerIterator *aIterator,
364 … otHistoryTrackerIterator *aIterator,
380 … otHistoryTrackerIterator *aIterator,
397 otHistoryTrackerIterator *aIterator,
Dmdns.h411 void otMdnsFreeIterator(otInstance *aInstance, otMdnsIterator *aIterator);
431 otMdnsIterator *aIterator,
454 otMdnsIterator *aIterator,
475 otError otMdnsGetNextKey(otInstance *aInstance, otMdnsIterator *aIterator, otMdnsKey *aKey, otMdnsE…
765 otMdnsIterator *aIterator,
789 otMdnsIterator *aIterator,
813 otMdnsIterator *aIterator,
837 otMdnsIterator *aIterator,
861 otMdnsIterator *aIterator,
Dnetdata.h188 otNetworkDataIterator *aIterator,
202 otError otNetDataGetNextRoute(otInstance *aInstance, otNetworkDataIterator *aIterator, otExternalRo…
215 otError otNetDataGetNextService(otInstance *aInstance, otNetworkDataIterator *aIterator, otServiceC…
229 otNetworkDataIterator *aIterator,
Dborder_routing.h440 …utingPrefixTableInitIterator(otInstance *aInstance, otBorderRoutingPrefixTableIterator *aIterator);
456 otBorderRoutingPrefixTableIterator *aIterator,
470 otBorderRoutingPrefixTableIterator *aIterator,
496 otBorderRoutingPrefixTableIterator *aIterator,
/openthread-latest/src/core/mac/
Dmac_filter.cpp121 Error Filter::GetNextAddress(Iterator &aIterator, Entry &aEntry) const in GetNextAddress() argument
125 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextAddress()
127 const FilterEntry &entry = mFilterEntries[aIterator]; in GetNextAddress()
134 aIterator++; in GetNextAddress()
183 Error Filter::GetNextRssIn(Iterator &aIterator, Entry &aEntry) const in GetNextRssIn() argument
187 for (; aIterator < GetArrayLength(mFilterEntries); aIterator++) in GetNextRssIn()
189 const FilterEntry &entry = mFilterEntries[aIterator]; in GetNextRssIn()
196 aIterator++; in GetNextRssIn()
202 if ((aIterator == GetArrayLength(mFilterEntries)) && (mDefaultRssIn != kFixedRssDisabled)) in GetNextRssIn()
207 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()
139 uint16_t &aIterator, in ParseNextCalibratedPower() argument
143 char *start = aCalibratedPowerString + aIterator; in ParseNextCalibratedPower()
149 VerifyOrExit(aIterator < aLength, error = OT_ERROR_PARSE); in ParseNextCalibratedPower()
154 aIterator = end - aCalibratedPowerString + 1; // +1 to skip '/' in ParseNextCalibratedPower()
159 aIterator = aLength; in ParseNextCalibratedPower()
Dcli.hpp96 uint16_t &aIterator,
101 otError GetNextDomain(int &aIterator, Power::Domain &aDomain);
102 …otError GetNextTargetPower(const Power::Domain &aDomain, int &aIterator, Power::TargetPower &aTarg…
/openthread-latest/src/core/backbone_router/
Dmulticast_listeners_table.cpp288 Error MulticastListenersTable::GetNext(Listener::Iterator &aIterator, Listener::Info &aInfo) in GetNext() argument
293 VerifyOrExit(aIterator < mNumValidListeners, error = kErrorNotFound); in GetNext()
297 aInfo.mAddress = mListeners[aIterator].mAddress; in GetNext()
299 …Time::MsecToSec(mListeners[aIterator].mExpireTime > now ? mListeners[aIterator].mExpireTime - now … in GetNext()
301 aIterator++; in GetNext()
/openthread-latest/src/cli/
Dcli_network_data.hpp128 …otError GetNextPrefix(otNetworkDataIterator *aIterator, otBorderRouterConfig *aConfig, bool aLocal…
129 …otError GetNextRoute(otNetworkDataIterator *aIterator, otExternalRouteConfig *aConfig, bool aLocal…
130 otError GetNextService(otNetworkDataIterator *aIterator, otServiceConfig *aConfig, bool aLocal);
Dcli_network_data.cpp573 otError NetworkData::GetNextPrefix(otNetworkDataIterator *aIterator, otBorderRouterConfig *aConfig,… in GetNextPrefix() argument
580 error = otBorderRouterGetNextOnMeshPrefix(GetInstancePtr(), aIterator, aConfig); in GetNextPrefix()
587 error = otNetDataGetNextOnMeshPrefix(GetInstancePtr(), aIterator, aConfig); in GetNextPrefix()
667 otError NetworkData::GetNextRoute(otNetworkDataIterator *aIterator, otExternalRouteConfig *aConfig,… in GetNextRoute() argument
674 error = otBorderRouterGetNextRoute(GetInstancePtr(), aIterator, aConfig); in GetNextRoute()
681 error = otNetDataGetNextRoute(GetInstancePtr(), aIterator, aConfig); in GetNextRoute()
687 otError NetworkData::GetNextService(otNetworkDataIterator *aIterator, otServiceConfig *aConfig, boo… in GetNextService() argument
694 error = otServerGetNextService(GetInstancePtr(), aIterator, aConfig); in GetNextService()
701 error = otNetDataGetNextService(GetInstancePtr(), aIterator, aConfig); in GetNextService()

123