Lines Matching defs:errstr
420 const char *errstr;
422 bp.ifbrp_ctime = strtonum(arg, 0, UINT32_MAX, &errstr);
423 if (errstr)
424 err(1, "timeout %s is: %s", arg, errstr);
435 const char *errstr;
437 bp.ifbrp_maxage = strtonum(arg, 0, UINT8_MAX, &errstr);
438 if (errstr)
439 errx(1, "maxage %s is: %s", arg, errstr);
450 const char *errstr;
452 bp.ifbrp_prio = strtonum(arg, 0, UINT16_MAX, &errstr);
453 if (errstr)
454 errx(1, "spanpriority %s is: %s", arg, errstr);
467 const char *errstr;
480 v = strtonum(str, 1, 31, &errstr);
481 if (errstr)
482 err(1, "protected domain %s is: %s", str, errstr);
531 const char *errstr;
533 bp.ifbrp_fwddelay = strtonum(arg, 0, UINT8_MAX, &errstr);
534 if (errstr)
535 errx(1, "fwddelay %s is: %s", arg, errstr);
547 const char *errstr;
549 bp.ifbrp_hellotime = strtonum(arg, 0, UINT8_MAX, &errstr);
550 if (errstr)
551 errx(1, "hellotime %s is: %s", arg, errstr);
563 const char *errstr;
565 bp.ifbrp_csize = strtonum(arg, 0, UINT32_MAX, &errstr);
566 if (errstr)
567 errx(1, "maxaddr %s is: %s", arg, errstr);
595 const char *errstr;
597 breq.ifbr_priority = strtonum(val, 0, UINT8_MAX, &errstr);
598 if (errstr)
599 errx(1, "ifpriority %s is: %s", val, errstr);
612 const char *errstr;
614 breq.ifbr_path_cost = strtonum(val, 0, UINT32_MAX, &errstr);
615 if (errstr)
616 errx(1, "ifcost %s is: %s", val, errstr);
772 const char *errstr;
774 bp.ifbrp_txhc = strtonum(value, 0, UINT8_MAX, &errstr);
775 if (errstr)
776 err(1, "holdcnt %s is: %s", value, errstr);