Lines Matching refs:nd_opt_len
271 uint8_t nd_opt_len; member
1280 ECHECK(op->nd_opt_len); in icmp6_opt_print()
1283 if (op->nd_opt_len == 0) in icmp6_opt_print()
1285 if (cp + (op->nd_opt_len << 3) > ep) in icmp6_opt_print()
1291 op->nd_opt_len << 3, in icmp6_opt_print()
1292 op->nd_opt_len)); in icmp6_opt_print()
1296 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
1300 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
1309 (op->nd_opt_len != 4) ? "badlen" : "", in icmp6_opt_print()
1315 print_unknown_data(ndo, bp,"\n\t ",op->nd_opt_len<<3); in icmp6_opt_print()
1323 (op->nd_opt_len != 1) ? "bad option length" : "" )); in icmp6_opt_print()
1327 l = (op->nd_opt_len - 1) / 2; in icmp6_opt_print()
1341 while (domp < cp + (op->nd_opt_len << 3) && *domp != '\0') in icmp6_opt_print()
1365 switch (op->nd_opt_len) { in icmp6_opt_print()
1387 … print_unknown_data(ndo,cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */ in icmp6_opt_print()
1394 … print_unknown_data(ndo, cp+2,"\n\t ", (op->nd_opt_len << 3) - 2); /* skip option header */ in icmp6_opt_print()
1396 cp += op->nd_opt_len << 3; in icmp6_opt_print()
1397 resid -= op->nd_opt_len << 3; in icmp6_opt_print()