Searched refs:str2int (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c231 static int str2int(const char *, const char *, int, int);
305 class = str2int(optarg, "traffic class", 0,
314 first_ttl = str2int(optarg, "first ttl", 1, MAXTTL);
402 flow = str2int(optarg, "flow label", 0, MAX_FLOW_LABEL);
406 max_ttl = str2int(optarg, "max ttl(hop limit)", 1,
422 port = str2int(optarg, "port", 1, MAX_PORT);
426 max_timeout = str2int(optarg, "max timeout", 1, -1);
430 nprobes = str2int(optarg, "nprobes", 1, -1);
450 tos = (uchar_t)str2int(optarg, "tos", 0, MAX_TOS);
463 waittime = str2int(optar
2147 str2int(const char *str, const char *what, int mi, int ma) function
[all...]
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c254 static boolean_t str2int(const char *, int *);
1899 if (!str2int(argv[optind], &key)) {
1982 if (!str2int(arg, &key))
2362 if (!str2int(optarg, &vid) || vid < 1 || vid > 4094)
3630 if (!str2int(argv[optind], &key)) {
4692 if (!str2int(optarg, (int *)&vrid) ||
4710 if (!str2int(optarg, &vid) || vid < 1 || vid > 4094)
6323 if (!str2int(optarg, &timeout) || timeout < 0)
7759 if (!str2int(optarg, &cfg.forward_delay) ||
7770 if (!str2int(optar
8878 str2int(const char *str, int *valp) function
[all...]

Completed in 121 milliseconds