Searched refs:subEnd (Results 1 – 1 of 1) sorted by relevance
445 const NetworkDataTlv *subEnd = aPrefix.GetNext(); in ValidatePrefix() local451 …for (const NetworkDataTlv *subCur = aPrefix.GetSubTlvs(); subCur < subEnd; subCur = subCur->GetNex… in ValidatePrefix()453 VerifyOrExit((subCur + 1) <= subEnd && subCur->GetNext() <= subEnd); in ValidatePrefix()525 const NetworkDataTlv *subEnd = aService.GetNext(); in ValidateService() local528 …for (const NetworkDataTlv *subCur = aService.GetSubTlvs(); subCur < subEnd; subCur = subCur->GetNe… in ValidateService()530 VerifyOrExit((subCur + 1) <= subEnd && subCur->GetNext() <= subEnd); in ValidateService()