• Home
  • Raw
  • Download

Lines Matching refs:sendMsg

57             cli->sendMsg(ResponseCode::OperationFailed, errMsg, addErrno); \
66 cli->sendMsg(ResponseCode::OperationFailed, errMsg, addErrno); \
150 mNdc.sendMsg(500, "Command too long", false); in dispatchCommand()
156 mNdc.sendMsg(500, "Handler error", true); in dispatchCommand()
161 mNdc.sendMsg(500, "Command not recognized", false); in dispatchCommand()
169 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
179 cli->sendMsg(ResponseCode::OperationFailed, "Failed to get interface list", true); in runCommand()
183 cli->sendMsg(ResponseCode::InterfaceListResult, iface.c_str(), false); in runCommand()
186 cli->sendMsg(ResponseCode::CommandOkay, "Interface list completed", false); in runCommand()
193 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
203 cli->sendMsg(ResponseCode::OperationFailed, "Interface not found", true); in runCommand()
213 cli->sendMsg(ResponseCode::InterfaceGetCfgResult, msg.c_str(), false); in runCommand()
219 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
243 cli->sendMsg(ResponseCode::OperationFailed, "Failed to set address", true); in runCommand()
259 cli->sendMsg(ResponseCode::OperationFailed, "Failed to up interface", true); in runCommand()
270 cli->sendMsg(ResponseCode::OperationFailed, "Failed to down interface", in runCommand()
285 cli->sendMsg(ResponseCode::CommandParameterError, "Flag unsupported", false); in runCommand()
290 cli->sendMsg(ResponseCode::CommandOkay, "Interface configuration set", false); in runCommand()
298 cli->sendMsg(ResponseCode::CommandOkay, "Interface IP addresses cleared", false); in runCommand()
302 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
310 cli->sendMsg(ResponseCode::CommandOkay, "IPv6 privacy extensions changed", false); in runCommand()
313 cli->sendMsg(ResponseCode::OperationFailed, "Failed to set ipv6 privacy extensions", in runCommand()
319 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
327 cli->sendMsg(ResponseCode::CommandOkay, "IPv6 state changed", false); in runCommand()
330 cli->sendMsg(ResponseCode::OperationFailed, "Failed to change IPv6 state", true); in runCommand()
335 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
344 cli->sendMsg(ResponseCode::CommandOkay, "MTU changed", false); in runCommand()
347 cli->sendMsg(ResponseCode::OperationFailed, "Failed to set MTU", true); in runCommand()
351 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown interface cmd", false); in runCommand()
371 cli->sendMsg(ResponseCode::IpFwdStatusResult, msg.c_str(), false); in runCommand()
399 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown ipfwd cmd", false); in runCommand()
404 cli->sendMsg(ResponseCode::CommandOkay, "ipfwd operation succeeded", false); in runCommand()
407 cli->sendMsg(ResponseCode::OperationFailed, "ipfwd operation failed", true); in runCommand()
418 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
429 cli->sendMsg(ResponseCode::TetherStatusResult, msg.c_str(), false); in runCommand()
436 cli->sendMsg(ResponseCode::TetherInterfaceListResult, ifname.c_str(), false); in runCommand()
441 cli->sendMsg(ResponseCode::CommandSyntaxError, "Bad number of arguments", false); in runCommand()
457 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
468 cli->sendMsg(ResponseCode::CommandParameterError, in runCommand()
475 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
486 cli->sendMsg(ResponseCode::CommandParameterError, in runCommand()
491 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown tether cmd", false); in runCommand()
497 cli->sendMsg(ResponseCode::CommandOkay, "Tether operation succeeded", false); in runCommand()
500 cli->sendMsg(ResponseCode::OperationFailed, "Tether operation failed", true); in runCommand()
512 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
524 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown nat cmd", false); in runCommand()
529 cli->sendMsg(ResponseCode::CommandOkay, "Nat operation succeeded", false); in runCommand()
532 cli->sendMsg(ResponseCode::OperationFailed, "Nat operation failed", true); in runCommand()
544 cli->sendMsg(ResponseCode::CommandSyntaxError, msg, false); in sendGenericSyntaxError()
550 cli->sendMsg(ResponseCode::CommandOkay, "Bandwidth command succeeeded", false); in sendGenericOkFail()
552 cli->sendMsg(ResponseCode::OperationFailed, "Bandwidth command failed", false); in sendGenericOkFail()
558 cli->sendMsg(ResponseCode::OperationFailed, errMsg, false); in sendGenericOpFailed()
681 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown bandwidth cmd", false); in runCommand()
690 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
699 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
707 cli->sendMsg(ResponseCode::OperationFailed, "Failed to add interface", false); in runCommand()
709 cli->sendMsg(ResponseCode::CommandOkay, "Add success", false); in runCommand()
715 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
722 cli->sendMsg(ResponseCode::OperationFailed, "Failed to remove interface", false); in runCommand()
724 cli->sendMsg(ResponseCode::CommandOkay, "Remove success", false); in runCommand()
729 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown idletimer cmd", false); in runCommand()
737 cli->sendMsg(ResponseCode::CommandOkay, "Firewall command succeeded", false); in sendGenericOkFail()
739 cli->sendMsg(ResponseCode::OperationFailed, "Firewall command failed", false); in sendGenericOkFail()
783 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing command", false); in runCommand()
789 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
799 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
809 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
817 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
829 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
839 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
847 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown command", false); in runCommand()
856 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
866 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand()
871 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown clatd cmd", false); in runCommand()
876 cli->sendMsg(ResponseCode::CommandOkay, in runCommand()
879 cli->sendMsg(ResponseCode::OperationFailed, "Clatd operation failed", false); in runCommand()
889 cli->sendMsg(ResponseCode::CommandOkay, "Strict command succeeded", false); in sendGenericOkFail()
891 cli->sendMsg(ResponseCode::OperationFailed, "Strict command failed", false); in sendGenericOkFail()
910 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing command", false); in runCommand()
916 cli->sendMsg(ResponseCode::CommandSyntaxError, in runCommand()
925 cli->sendMsg(ResponseCode::CommandSyntaxError, "Invalid UID", false); in runCommand()
931 cli->sendMsg(ResponseCode::CommandSyntaxError, "Invalid penalty argument", false); in runCommand()
939 cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown command", false); in runCommand()
946 cli->sendMsg(ResponseCode::CommandSyntaxError, message, false); in syntaxError()
953 cli->sendMsg(ResponseCode::OperationFailed, message, true); in operationError()
958 cli->sendMsg(ResponseCode::CommandOkay, "success", false); in success()