Lines Matching refs:optarg
365 for (cp = optarg; *cp != '\0'; cp++) {
406 lsockbufsize = strtoul(optarg, &e, 10);
408 if (errno || !*optarg || *e ||
417 npackets = strtol(optarg, &e, 10);
418 if (npackets <= 0 || *optarg == '\0' || *e != '\0')
420 "illegal number of packets -- %s", optarg);
434 gateway = optarg;
440 hoplimit = strtol(optarg, &e, 10);
441 if (*optarg == '\0' || *e != '\0')
442 errx(1, "illegal hoplimit %s", optarg);
445 "illegal hoplimit -- %s", optarg);
448 ifname = optarg;
455 intval = strtod(optarg, &e);
456 if (*optarg == '\0' || *e != '\0')
457 errx(1, "illegal timing interval %s", optarg);
466 errx(1, "illegal timing interval %s", optarg);
479 preload = strtol(optarg, &e, 10);
480 if (preload < 0 || *optarg == '\0' || *e != '\0')
481 errx(1, "illegal preload value -- %s", optarg);
501 fill((char *)datap, optarg);
520 ret_ga = getaddrinfo(optarg, NULL, &hints, &res);
535 datalen = strtol(optarg, &e, 10);
536 if (datalen <= 0 || *optarg == '\0' || *e != '\0')
537 errx(1, "illegal datalen value -- %s", optarg);
563 if (!strncmp("in", optarg, 2)) {
564 if ((policy_in = strdup(optarg)) == NULL)
566 } else if (!strncmp("out", optarg, 3)) {
567 if ((policy_out = strdup(optarg)) == NULL)