Lines Matching refs:errstr
132 const char *errstr, *proxyhost = "", *proxyport = NULL; in main() local
175 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); in main()
176 if (errstr) in main()
177 errx(1, "interval %s: %s", errstr, optarg); in main()
215 RT_TABLEID_MAX, &errstr); in main()
216 if (errstr) in main()
217 errx(1, "rtable %s: %s", errstr, optarg); in main()
227 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr); in main()
228 if (errstr) in main()
229 errx(1, "timeout %s: %s", errstr, optarg); in main()
250 Iflag = strtonum(optarg, 1, 65536 << 14, &errstr); in main()
251 if (errstr != NULL) in main()
253 errstr, optarg); in main()
260 Oflag = strtonum(optarg, 1, 65536 << 14, &errstr); in main()
261 if (errstr != NULL) in main()
263 errstr, optarg); in main()
271 errstr = NULL; in main()
280 &errstr); in main()
281 if (Tflag < 0 || Tflag > 255 || errstr || errno) in main()
859 const char *errstr; in build_ports() local
875 hi = strtonum(n, 1, PORT_MAX, &errstr); in build_ports()
876 if (errstr) in build_ports()
877 errx(1, "port number %s: %s", errstr, n); in build_ports()
882 lo = strtonum(p, 1, PORT_MAX, &errstr); in build_ports()
883 if (errstr) in build_ports()
884 errx(1, "port number %s: %s", errstr, p); in build_ports()
918 hi = strtonum(p, 1, PORT_MAX, &errstr); in build_ports()
919 if (errstr) in build_ports()
920 errx(1, "port number %s: %s", errstr, p); in build_ports()