Lines Matching refs:av
56 static void nat64clat_create(const char *name, uint8_t set, int ac, char **av);
57 static void nat64clat_config(const char *name, uint8_t set, int ac, char **av);
90 ipfw_nat64clat_handler(int ac, char *av[]) in ipfw_nat64clat_handler() argument
100 ac--; av++; in ipfw_nat64clat_handler()
103 name = *av; in ipfw_nat64clat_handler()
111 ac--; av++; in ipfw_nat64clat_handler()
114 tcmd = get_token(nat64cmds, *av, "nat64clat command"); in ipfw_nat64clat_handler()
119 ac--; av++; in ipfw_nat64clat_handler()
120 nat64clat_create(name, set, ac, av); in ipfw_nat64clat_handler()
123 ac--; av++; in ipfw_nat64clat_handler()
124 nat64clat_config(name, set, ac, av); in ipfw_nat64clat_handler()
136 ac--; av++; in ipfw_nat64clat_handler()
141 tcmd = get_token(nat64statscmds, *av, "stats command"); in ipfw_nat64clat_handler()
177 nat64clat_create(const char *name, uint8_t set, int ac, char *av[]) in nat64clat_create() argument
197 tcmd = get_token(nat64newcmds, *av, "option"); in nat64clat_create()
198 ac--; av++; in nat64clat_create()
209 if ((p = strchr(*av, '/')) != NULL) in nat64clat_create()
211 if (inet_pton(AF_INET6, *av, &prefix) != 1) in nat64clat_create()
213 "Bad prefix: %s", *av); in nat64clat_create()
227 ac--; av++; in nat64clat_create()
264 nat64clat_config(const char *name, uint8_t set, int ac, char **av) in nat64clat_config() argument
288 tcmd = get_token(nat64newcmds, *av, "option"); in nat64clat_config()
289 opt = *av; in nat64clat_config()
290 ac--; av++; in nat64clat_config()
301 if ((p = strchr(*av, '/')) != NULL) in nat64clat_config()
305 "Prefix length required: %s", *av); in nat64clat_config()
306 if (inet_pton(AF_INET6, *av, &prefix) != 1) in nat64clat_config()
308 "Bad prefix: %s", *av); in nat64clat_config()
320 ac--; av++; in nat64clat_config()