Lines Matching refs:error

58     otError  error = OT_ERROR_NONE;  in Process()  local
62 SuccessOrExit(error = aArgs[0].ParseAsUint32(ifIndex)); in Process()
63 SuccessOrExit(error = aArgs[1].ParseAsBool(isRunning)); in Process()
64 VerifyOrExit(aArgs[2].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
65 error = otBorderRoutingInit(GetInstancePtr(), ifIndex, isRunning); in Process()
68 return error; in Process()
83 otError error = OT_ERROR_NONE; in Process() local
85 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
86 error = otBorderRoutingSetEnabled(GetInstancePtr(), true); in Process()
89 return error; in Process()
104 otError error = OT_ERROR_NONE; in Process() local
106 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
107 error = otBorderRoutingSetEnabled(GetInstancePtr(), false); in Process()
110 return error; in Process()
132 otError error = OT_ERROR_NONE; in Process() local
139 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
143 return error; in Process()
148 otError error = OT_ERROR_NONE; in ParsePrefixTypeArgs() local
168 ExitNow(error = OT_ERROR_INVALID_ARGS); in ParsePrefixTypeArgs()
171 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in ParsePrefixTypeArgs()
174 return error; in ParsePrefixTypeArgs()
192 otError error = OT_ERROR_NONE; in Process() local
195 SuccessOrExit(error = ParsePrefixTypeArgs(aArgs, outputPrefixTypes)); in Process()
211 SuccessOrExit(error = otBorderRoutingGetOmrPrefix(GetInstancePtr(), &local)); in Process()
232 …SuccessOrExit(error = otBorderRoutingGetFavoredOmrPrefix(GetInstancePtr(), &favored, &preference)); in Process()
240 return error; in Process()
258 otError error = OT_ERROR_NONE; in Process() local
266 SuccessOrExit(error = aArgs[1].ParseAsIp6Prefix(prefix)); in Process()
272 error = ParsePrefixTypeArgs(aArgs, outputPrefixTypes); in Process()
274 SuccessOrExit(error); in Process()
290 SuccessOrExit(error = otBorderRoutingGetOnLinkPrefix(GetInstancePtr(), &local)); in Process()
310 SuccessOrExit(error = otBorderRoutingGetFavoredOnLinkPrefix(GetInstancePtr(), &favored)); in Process()
317 return error; in Process()
337 otError error = OT_ERROR_NONE; in Process() local
340 SuccessOrExit(error = ParsePrefixTypeArgs(aArgs, outputPrefixTypes)); in Process()
356 SuccessOrExit(error = otBorderRoutingGetNat64Prefix(GetInstancePtr(), &local)); in Process()
377 …SuccessOrExit(error = otBorderRoutingGetFavoredNat64Prefix(GetInstancePtr(), &favored, &preference… in Process()
385 return error; in Process()
394 otError error = OT_ERROR_NONE; in Process() local
451 VerifyOrExit(aArgs[1].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
459 error = OT_ERROR_INVALID_ARGS; in Process()
463 return error; in Process()
496 otError error = OT_ERROR_NONE; in Process() local
500 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
526 return error; in Process()
532 otError error = OT_ERROR_NONE; in Process() local
595 SuccessOrExit(error = otBorderRoutingGetPdOmrPrefix(GetInstancePtr(), &entry)); in Process()
602 ExitNow(error = OT_ERROR_INVALID_COMMAND); in Process()
606 return error; in Process()
638 otError error = OT_ERROR_NONE; in Process() local
642 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
652 return error; in Process()
690 otError error = OT_ERROR_NONE; in Process() local
717 SuccessOrExit(error = aArgs[0].ParseAsHexString(length, options)); in Process()
720error = otBorderRoutingSetExtraRouterAdvertOptions(GetInstancePtr(), length > 0 ? options : nullpt… in Process()
723 return error; in Process()
728 otError error = OT_ERROR_NONE; in Process() local
771 SuccessOrExit(error = Interpreter::ParsePreference(aArgs[0], preference)); in Process()
776 return error; in Process()
781 otError error = OT_ERROR_NONE; in Process() local
824 SuccessOrExit(error = Interpreter::ParsePreference(aArgs[0], preference)); in Process()
829 return error; in Process()
855 otError error = OT_ERROR_NONE; in Process() local
857 VerifyOrExit(aArgs[0].IsEmpty(), error = OT_ERROR_INVALID_ARGS); in Process()
861 return error; in Process()
903 otError error = OT_ERROR_INVALID_COMMAND; in Process() local
909 ExitNow(error = aArgs[0].IsEmpty() ? error : OT_ERROR_NONE); in Process()
915 error = (this->*command->mHandler)(aArgs + 1); in Process()
918 return error; in Process()