Lines Matching refs:runCmd
54 int NatController::runCmd(int argc, const char **argv) {
58 ALOGV("runCmd() res=%d", res);
81 if (runCmd(ARRAY_SIZE(defaultCommands[cmdNum].cmd), defaultCommands[cmdNum].cmd) &&
117 runCmd(ARRAY_SIZE(cmd), cmd);
162 if (runCmd(ARRAY_SIZE(cmd), cmd)) {
190 runCmd(ARRAY_SIZE(cmd1), cmd1);
198 runCmd(ARRAY_SIZE(cmd2), cmd2);
222 if (runCmd(ARRAY_SIZE(cmd1), cmd1) && add) {
254 if (runCmd(ARRAY_SIZE(cmd2), cmd2) && add) {
260 if (runCmd(ARRAY_SIZE(cmd3), cmd3) && add) {
270 runCmd(ARRAY_SIZE(cmd2), cmd2);
273 runCmd(ARRAY_SIZE(cmd1), cmd1);