Home
last modified time | relevance | path

Searched refs:newargv (Results 1 – 5 of 5) sorted by relevance

/external/iptables/iptables/
Diptables-xml.c75 static char *newargv[255]; variable
107 if (what && newargc + 1 < ARRAY_SIZE(newargv)) { in add_argv()
108 newargv[newargc] = strdup(what); in add_argv()
122 free(newargv[i]); in free_argv()
123 newargv[i] = NULL; in free_argv()
147 oldargv[i] = newargv[i]; in save_argv()
148 newargv[i] = NULL; in save_argv()
545 if (isTarget(oldargv[old]) && isTarget(newargv[new])) { in compareRules()
562 if (strcmp(oldargv[old], newargv[new]) != 0) { in compareRules()
835 strcmp(newargv[newargc - 2], "-A")) in iptables_xml_main()
[all …]
Diptables-restore.c98 static char *newargv[255]; variable
105 if (what && newargc + 1 < ARRAY_SIZE(newargv)) { in add_argv()
106 newargv[newargc] = strdup(what); in add_argv()
107 newargv[++newargc] = NULL; in add_argv()
120 free(newargv[i]); in free_argv()
464 DEBUGP("argv[%u]: %s\n", a, newargv[a]); in iptables_restore_main()
466 ret = do_command4(newargc, newargv, in iptables_restore_main()
467 &newargv[2], &handle, true); in iptables_restore_main()
Dip6tables-restore.c100 static char *newargv[255]; variable
107 if (what && newargc + 1 < ARRAY_SIZE(newargv)) { in add_argv()
108 newargv[newargc] = strdup(what); in add_argv()
109 newargv[++newargc] = NULL; in add_argv()
122 free(newargv[i]); in free_argv()
465 DEBUGP("argv[%u]: %s\n", a, newargv[a]); in ip6tables_restore_main()
467 ret = do_command6(newargc, newargv, in ip6tables_restore_main()
468 &newargv[2], &handle, true); in ip6tables_restore_main()
Dxtables-restore.c75 static char *newargv[255]; variable
82 if (what && newargc + 1 < ARRAY_SIZE(newargv)) { in add_argv()
83 newargv[newargc] = strdup(what); in add_argv()
84 newargv[++newargc] = NULL; in add_argv()
97 free(newargv[i]); in free_argv()
404 DEBUGP("argv[%u]: %s\n", a, newargv[a]); in xtables_restore_parse()
406 ret = cb->do_command(h, newargc, newargv, in xtables_restore_parse()
407 &newargv[2], true); in xtables_restore_parse()
/external/openssh/
Dscp.c374 char *targ, **newargv; in main() local
385 newargv = xcalloc(MAXIMUM(argc + 1, 1), sizeof(*newargv)); in main()
387 newargv[n] = xstrdup(argv[n]); in main()
388 argv = newargv; in main()