Home | History | Annotate | Download | only in netd

Lines Matching defs:argv

36 static void logExecError(const char* argv[], int res, int status) {
37 const char** argp = argv;
47 static int execIptablesCommand(int argc, const char *argv[], bool silent) {
51 res = android_fork_execvp(argc, (char **)argv, &status, false,
55 logExecError(argv, res, status);
76 const char* argv[argsList.size()];
79 argv[i] = *it;
84 argv[0] = IPTABLES_PATH;
85 res |= execIptablesCommand(argsList.size(), argv, silent);
88 argv[0] = IP6TABLES_PATH;
89 res |= execIptablesCommand(argsList.size(), argv, silent);