Home | History | Annotate | Download | only in netd

Lines Matching refs:runCmd

55 int NatController::runCmd(int argc, const char **argv) {
64 * HACK: Sometimes runCmd() is called with a ridcously large value (32)
73 ALOGV("runCmd(%s) res=%d", full_cmd.c_str(), res);
95 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) &&
108 * - the 1st argc of runCmd() will just be the max for the CommandsAndArgs[].cmd, and
124 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) &&
160 runCmd(ARRAY_SIZE(cmd), cmd);
214 if (runCmd(ARRAY_SIZE(cmd), cmd)) {
242 runCmd(ARRAY_SIZE(cmd1), cmd1);
250 runCmd(ARRAY_SIZE(cmd2), cmd2);
294 if (runCmd(ARRAY_SIZE(cmd2b), cmd2b) && add) {
329 if (runCmd(ARRAY_SIZE(cmd3b), cmd3b) && add) {
356 if (runCmd(ARRAY_SIZE(cmd1), cmd1) && add) {
388 if (runCmd(ARRAY_SIZE(cmd2), cmd2) && add) {
394 if (runCmd(ARRAY_SIZE(cmd3), cmd3) && add) {
409 runCmd(ARRAY_SIZE(cmd2), cmd2);
412 runCmd(ARRAY_SIZE(cmd1), cmd1);