• Home
  • Raw
  • Download

Lines Matching refs:opt_len

165 	u_int8_t opt_type, opt_len, flags1, flags2;  in pgm_print()  local
477 opt_len = *bp++; in pgm_print()
478 if (opt_len != 4) { in pgm_print()
479 (void)printf("[Bad OPT_LENGTH option, length %u != 4]", opt_len); in pgm_print()
497 opt_len = *bp++; in pgm_print()
498 if (opt_len < PGM_MIN_OPT_LEN) { in pgm_print()
499 (void)printf("[Bad option, length %u < %u]", opt_len, in pgm_print()
503 if (opts_len < opt_len) { in pgm_print()
507 if (!TTEST2(*bp, opt_len - 2)) { in pgm_print()
514 if (opt_len != 4) { in pgm_print()
515 (void)printf("[Bad OPT_LENGTH option, length %u != 4]", opt_len); in pgm_print()
524 if (opt_len != 16) { in pgm_print()
525 (void)printf("[Bad OPT_FRAGMENT option, length %u != 16]", opt_len); in pgm_print()
543 opt_len -= sizeof(u_int32_t); /* option header */ in pgm_print()
545 while (opt_len) { in pgm_print()
546 if (opt_len < sizeof(u_int32_t)) { in pgm_print()
553 opt_len -= sizeof(u_int32_t); in pgm_print()
559 if (opt_len != 8) { in pgm_print()
560 (void)printf("[Bad OPT_JOIN option, length %u != 8]", opt_len); in pgm_print()
572 if (opt_len != 12) { in pgm_print()
573 (void)printf("[Bad OPT_NAK_BO_IVL option, length %u != 12]", opt_len); in pgm_print()
587 if (opt_len != 12) { in pgm_print()
588 (void)printf("[Bad OPT_NAK_BO_RNG option, length %u != 12]", opt_len); in pgm_print()
620 if (opt_len != 4 + addr_size) { in pgm_print()
621 (void)printf("[Bad OPT_REDIRECT option, length %u != 4 + address size]", opt_len); in pgm_print()
634 if (opt_len != 8) { in pgm_print()
635 (void)printf("[Bad OPT_PARITY_PRM option, length %u != 8]", opt_len); in pgm_print()
647 if (opt_len != 8) { in pgm_print()
648 (void)printf("[Bad OPT_PARITY_GRP option, length %u != 8]", opt_len); in pgm_print()
660 if (opt_len != 8) { in pgm_print()
661 (void)printf("[Bad OPT_CURR_TGSIZE option, length %u != 8]", opt_len); in pgm_print()
673 if (opt_len != 4) { in pgm_print()
674 (void)printf("[Bad OPT_NBR_UNREACH option, length %u != 4]", opt_len); in pgm_print()
684 (void)printf(" PATH_NLA [%d]", opt_len); in pgm_print()
685 bp += opt_len; in pgm_print()
686 opts_len -= opt_len; in pgm_print()
690 if (opt_len != 4) { in pgm_print()
691 (void)printf("[Bad OPT_SYN option, length %u != 4]", opt_len); in pgm_print()
701 if (opt_len != 4) { in pgm_print()
702 (void)printf("[Bad OPT_FIN option, length %u != 4]", opt_len); in pgm_print()
712 if (opt_len != 4) { in pgm_print()
713 (void)printf("[Bad OPT_RST option, length %u != 4]", opt_len); in pgm_print()
724 bp += opt_len; in pgm_print()
725 opts_len -= opt_len; in pgm_print()
729 if (opt_len != 4) { in pgm_print()
730 (void)printf("[Bad OPT_CRQST option, length %u != 4]", opt_len); in pgm_print()
740 (void)printf(" OPT_%02X [%d] ", opt_type, opt_len); in pgm_print()
741 bp += opt_len; in pgm_print()
742 opts_len -= opt_len; in pgm_print()