Lines Matching refs:nd_opt_len
619 ECHECK(op->nd_opt_len); in icmp6_opt_print()
622 if (op->nd_opt_len == 0) in icmp6_opt_print()
624 if (cp + (op->nd_opt_len << 3) > ep) in icmp6_opt_print()
630 op->nd_opt_len << 3, in icmp6_opt_print()
631 op->nd_opt_len); in icmp6_opt_print()
636 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
641 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
650 (op->nd_opt_len != 4) ? "badlen" : "", in icmp6_opt_print()
657 print_unknown_data(bp,"\n\t ",op->nd_opt_len<<3); in icmp6_opt_print()
665 (op->nd_opt_len != 1) ? "bad option length" : "" ); in icmp6_opt_print()
684 switch (op->nd_opt_len) { in icmp6_opt_print()
706 … print_unknown_data(cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */ in icmp6_opt_print()
713 … print_unknown_data(cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */ in icmp6_opt_print()
715 cp += op->nd_opt_len << 3; in icmp6_opt_print()
716 resid -= op->nd_opt_len << 3; in icmp6_opt_print()