Lines Matching refs:nd_opt_len
693 ECHECK(op->nd_opt_len);
696 if (op->nd_opt_len == 0)
698 if (cp + (op->nd_opt_len << 3) > ep)
704 op->nd_opt_len << 3,
705 op->nd_opt_len);
709 l = (op->nd_opt_len << 3) - 2;
713 l = (op->nd_opt_len << 3) - 2;
722 (op->nd_opt_len != 4) ? "badlen" : "",
728 print_unknown_data(bp,"\n\t ",op->nd_opt_len<<3);
736 (op->nd_opt_len != 1) ? "bad option length" : "" );
740 l = (op->nd_opt_len - 1) / 2;
754 while (domp < cp + (op->nd_opt_len << 3) && *domp != '\0')
778 switch (op->nd_opt_len) {
800 print_unknown_data(cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */
807 print_unknown_data(cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */
809 cp += op->nd_opt_len << 3;
810 resid -= op->nd_opt_len << 3;