Lines Matching refs:av

48 static void table_modify_record(ipfw_obj_header *oh, int ac, char *av[],
55 static void table_create(ipfw_obj_header *oh, int ac, char *av[]);
56 static void table_modify(ipfw_obj_header *oh, int ac, char *av[]);
57 static void table_lookup(ipfw_obj_header *oh, int ac, char *av[]);
160 ipfw_table_handler(int ac, char *av[]) in ipfw_table_handler() argument
177 ac--; av++; in ipfw_table_handler()
179 tablename = *av; in ipfw_table_handler()
182 table_fill_ntlv(&oh.ntlv, *av, set, 1); in ipfw_table_handler()
190 ac--; av++; in ipfw_table_handler()
193 tcmd = get_token(tablecmds, *av, "table command"); in ipfw_table_handler()
197 ac--; av++; in ipfw_table_handler()
199 tcmd = get_token(tablecmds, *av, "table command"); in ipfw_table_handler()
204 errx(EX_USAGE, "atomic is not compatible with %s", *av); in ipfw_table_handler()
224 do_add = **av == 'a'; in ipfw_table_handler()
225 ac--; av++; in ipfw_table_handler()
226 table_modify_record(&oh, ac, av, do_add, g_co.do_quiet, in ipfw_table_handler()
230 ac--; av++; in ipfw_table_handler()
231 table_create(&oh, ac, av); in ipfw_table_handler()
234 ac--; av++; in ipfw_table_handler()
235 table_modify(&oh, ac, av); in ipfw_table_handler()
273 ac--; av++; in ipfw_table_handler()
275 table_swap(&oh, *av); in ipfw_table_handler()
307 ac--; av++; in ipfw_table_handler()
308 table_lookup(&oh, ac, av); in ipfw_table_handler()
406 table_create(ipfw_obj_header *oh, int ac, char *av[]) in table_create() argument
417 tcmd = get_token(tablenewcmds, *av, "option"); in table_create()
418 ac--; av++; in table_create()
423 xi.limit = strtol(*av, NULL, 10); in table_create()
424 ac--; av++; in table_create()
429 if ((p = strchr(*av, ':')) != NULL) in table_create()
431 val = match_token(tabletypes, *av); in table_create()
437 *av, tbuf); in table_create()
446 ac--; av++; in table_create()
451 val = fill_flags(tablevaltypes, *av, &e, &fset, &fclear); in table_create()
454 ac--; av++; in table_create()
463 if (strlen(*av) > sizeof(xi.algoname)) in table_create()
465 strlcpy(xi.algoname, *av, sizeof(xi.algoname)); in table_create()
466 ac--; av++; in table_create()
538 table_modify(ipfw_obj_header *oh, int ac, char *av[]) in table_modify() argument
546 tcmd = get_token(tablenewcmds, *av, "option"); in table_modify()
547 ac--; av++; in table_modify()
552 xi.limit = strtol(*av, NULL, 10); in table_modify()
554 ac--; av++; in table_modify()
942 table_modify_record(ipfw_obj_header *oh, int ac, char *av[], int add, in table_modify_record() argument
986 tentry_fill_key(oh, ptent, *av, add, &type, &vmask, &xi); in table_modify_record()
1004 ac--; av++; in table_modify_record()
1007 tentry_fill_value(oh, ptent, *av, type, vmask); in table_modify_record()
1008 ac--; av++; in table_modify_record()
1146 table_lookup(ipfw_obj_header *oh, int ac, char *av[]) in table_lookup() argument
1156 strlcpy(key, *av, sizeof(key)); in table_lookup()
1167 errx(EX_UNAVAILABLE, "Entry %s not found", *av); in table_lookup()
1981 ipfw_list_ta(int ac __unused, char *av[] __unused) in ipfw_list_ta()
2044 ipfw_list_values(int ac __unused, char *av[] __unused) in ipfw_list_values()