Lines Matching refs:nd_opt_len
271 uint8_t nd_opt_len; member
1263 ECHECK(op->nd_opt_len); in icmp6_opt_print()
1266 if (op->nd_opt_len == 0) in icmp6_opt_print()
1268 if (cp + (op->nd_opt_len << 3) > ep) in icmp6_opt_print()
1274 op->nd_opt_len << 3, in icmp6_opt_print()
1275 op->nd_opt_len)); in icmp6_opt_print()
1279 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
1283 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
1292 (op->nd_opt_len != 4) ? "badlen" : "", in icmp6_opt_print()
1298 print_unknown_data(ndo, bp,"\n\t ",op->nd_opt_len<<3); in icmp6_opt_print()
1306 (op->nd_opt_len != 1) ? "bad option length" : "" )); in icmp6_opt_print()
1310 l = (op->nd_opt_len - 1) / 2; in icmp6_opt_print()
1324 while (domp < cp + (op->nd_opt_len << 3) && *domp != '\0') in icmp6_opt_print()
1348 switch (op->nd_opt_len) { in icmp6_opt_print()
1370 … print_unknown_data(ndo,cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */ in icmp6_opt_print()
1377 … print_unknown_data(ndo, cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */ in icmp6_opt_print()
1379 cp += op->nd_opt_len << 3; in icmp6_opt_print()
1380 resid -= op->nd_opt_len << 3; in icmp6_opt_print()