Lines Matching refs:RET
57 using RET = ::IOffloadManager::RET; typedef
121 HAL::BoolResult HAL::ipaResultToBoolResult(RET in) { in ipaResultToBoolResult()
123 ret.success = (in >= RET::SUCCESS); in ipaResultToBoolResult()
125 case RET::FAIL_TOO_MANY_PREFIXES: in ipaResultToBoolResult()
128 case RET::FAIL_UNSUPPORTED: in ipaResultToBoolResult()
131 case RET::FAIL_INPUT_CHECK: in ipaResultToBoolResult()
134 case RET::FAIL_HARDWARE: in ipaResultToBoolResult()
137 case RET::FAIL_TRY_AGAIN: in ipaResultToBoolResult()
140 case RET::SUCCESS: in ipaResultToBoolResult()
143 case RET::SUCCESS_DUPLICATE_CONFIG: in ipaResultToBoolResult()
146 case RET::SUCCESS_NO_OP: in ipaResultToBoolResult()
149 case RET::SUCCESS_OPTIMIZED: in ipaResultToBoolResult()
302 RET ipaReturn = mIPA->provideFd(mHandle1->data[0], UDP_SUBSCRIPTIONS); in setHandles()
303 if (ipaReturn == RET::SUCCESS) { in setHandles()
307 if (ipaReturn != RET::SUCCESS) { in setHandles()
343 BoolResult res = ipaResultToBoolResult(RET::SUCCESS); in initOffload()
368 RET ipaReturn = mIPA->stopAllOffload(); in stopOffload()
369 if (ipaReturn != RET::SUCCESS) { in stopOffload()
374 RET ret = mIPA->clearAllFds(); in stopOffload()
375 if (ret == RET::SUCCESS) { in stopOffload()
381 if (ipaReturn == RET::SUCCESS) { in stopOffload()
415 res = ipaResultToBoolResult(RET::FAIL_INPUT_CHECK); in setLocalPrefixes()
419 res = ipaResultToBoolResult(RET::SUCCESS); in setLocalPrefixes()
437 RET ipaReturn = mIPA->getStats(upstream.c_str(), true, ret); in getForwardedStats()
438 if (ipaReturn == RET::SUCCESS) { in getForwardedStats()
473 RET ipaReturn = mIPA->setQuota(upstream.c_str(), limit); in setDataLimit()
474 if(ipaReturn == RET::FAIL_TRY_AGAIN) { in setDataLimit()
475 ipaReturn = RET::SUCCESS; in setDataLimit()
527 RET ipaReturn = mIPA->setUpstream( in setUpstreamParameters()
536 RET ipaReturn = mIPA->setUpstream( in setUpstreamParameters()
571 RET ipaReturn = mIPA->addDownstream( in addDownstream()
605 RET ipaReturn = mIPA->removeDownstream( in removeDownstream()