Home
last modified time | relevance | path

Searched refs:subCur (Results 1 – 2 of 2) sorted by relevance

/openthread-3.4.0/src/core/thread/
Dnetwork_data_leader_ftd.cpp451 …for (const NetworkDataTlv *subCur = aPrefix.GetSubTlvs(); subCur < subEnd; subCur = subCur->GetNex… in ValidatePrefix() local
453 VerifyOrExit((subCur + 1) <= subEnd && subCur->GetNext() <= subEnd); in ValidatePrefix()
455 switch (subCur->GetType()) in ValidatePrefix()
459 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in ValidatePrefix()
483 const HasRouteTlv *hasRoute = As<HasRouteTlv>(subCur); in ValidatePrefix()
528 …for (const NetworkDataTlv *subCur = aService.GetSubTlvs(); subCur < subEnd; subCur = subCur->GetNe… in ValidateService() local
530 VerifyOrExit((subCur + 1) <= subEnd && subCur->GetNext() <= subEnd); in ValidateService()
532 switch (subCur->GetType()) in ValidateService()
536 const ServerTlv *server = As<ServerTlv>(subCur); in ValidateService()
660 … for (const NetworkDataTlv *subCur = aSubTlvs; subCur < aTlv.GetNext(); subCur = subCur->GetNext()) in UpdateTlv() local
[all …]
Dnetwork_data.cpp191 for (const NetworkDataTlv *subCur; subCur = iterator.GetSubTlv(subTlvs), in Iterate() local
192 … (subCur + 1 <= cur->GetNext()) && (subCur->GetNext() <= cur->GetNext()); in Iterate()
199 switch (subCur->GetType()) in Iterate()
203 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in Iterate()
230 const HasRouteTlv *hasRoute = As<HasRouteTlv>(subCur); in Iterate()
257 const ContextTlv *contextTlv = As<ContextTlv>(subCur); in Iterate()
291 if (subCur->GetType() == NetworkDataTlv::kTypeServer) in Iterate()
293 const ServerTlv *server = As<ServerTlv>(subCur); in Iterate()