Lines Matching refs:RET
57 using RET = ::IOffloadManager::RET; typedef
123 HAL::BoolResult HAL::ipaResultToBoolResult(RET in) { in ipaResultToBoolResult()
125 ret.success = (in >= RET::SUCCESS); in ipaResultToBoolResult()
127 case RET::FAIL_TOO_MANY_PREFIXES: in ipaResultToBoolResult()
130 case RET::FAIL_UNSUPPORTED: in ipaResultToBoolResult()
133 case RET::FAIL_INPUT_CHECK: in ipaResultToBoolResult()
136 case RET::FAIL_HARDWARE: in ipaResultToBoolResult()
139 case RET::FAIL_TRY_AGAIN: in ipaResultToBoolResult()
142 case RET::SUCCESS: in ipaResultToBoolResult()
145 case RET::SUCCESS_DUPLICATE_CONFIG: in ipaResultToBoolResult()
148 case RET::SUCCESS_NO_OP: in ipaResultToBoolResult()
151 case RET::SUCCESS_OPTIMIZED: in ipaResultToBoolResult()
304 RET ipaReturn = mIPA->provideFd(mHandle1->data[0], UDP_SUBSCRIPTIONS); in setHandles()
305 if (ipaReturn == RET::SUCCESS) { in setHandles()
309 if (ipaReturn != RET::SUCCESS) { in setHandles()
345 BoolResult res = ipaResultToBoolResult(RET::SUCCESS); in initOffload()
370 RET ipaReturn = mIPA->stopAllOffload(); in stopOffload()
371 if (ipaReturn != RET::SUCCESS) { in stopOffload()
376 RET ret = mIPA->clearAllFds(); in stopOffload()
377 if (ret == RET::SUCCESS) { in stopOffload()
383 if (ipaReturn == RET::SUCCESS) { in stopOffload()
417 res = ipaResultToBoolResult(RET::FAIL_INPUT_CHECK); in setLocalPrefixes()
421 res = ipaResultToBoolResult(RET::SUCCESS); in setLocalPrefixes()
439 RET ipaReturn = mIPA->getStats(upstream.c_str(), true, ret); in getForwardedStats()
440 if (ipaReturn == RET::SUCCESS) { in getForwardedStats()
475 RET ipaReturn = mIPA->setQuota(upstream.c_str(), limit); in setDataLimit()
476 if(ipaReturn == RET::FAIL_TRY_AGAIN) { in setDataLimit()
477 ipaReturn = RET::SUCCESS; in setDataLimit()
529 RET ipaReturn = mIPA->setUpstream( in setUpstreamParameters()
538 RET ipaReturn = mIPA->setUpstream( in setUpstreamParameters()
573 RET ipaReturn = mIPA->addDownstream( in addDownstream()
607 RET ipaReturn = mIPA->removeDownstream( in removeDownstream()