Lines Matching refs:optarg
294 npackets = strtol(optarg, &p, 0);
311 interval = strtod(optarg, &p);
313 errx(1, "Bad/invalid interval %s", optarg);
316 preload = strtol(optarg, &p, 0);
319 optarg);
331 fill_pat = optarg;
348 l = strtol(optarg, &p, 0);
350 errx(1, "Bad/invalid packet size %s", optarg);
365 tos = strtoul(optarg, &p, 0);
367 errx(1, "bad tos value: %s", optarg);
370 l = strtol(optarg, &p, 0);
377 gethost("-I", optarg, &src_addr, 0, 0);
381 gethost("-g", optarg, &send_addr, 0, 0);
384 maxwait = strtod(optarg, &p);
386 errx(1, "Bad/invalid maxwait time %s", optarg);
392 if (!strncmp("in", optarg, 2)) {
393 policy_in = strdup(optarg);
396 } else if (!strncmp("out", optarg, 3)) {
397 policy_out = strdup(optarg);