Home
last modified time | relevance | path

Searched refs:nd_opt_len (Results 1 – 3 of 3) sorted by relevance

/external/tcpdump/
Dprint-icmp6.c693 ECHECK(op->nd_opt_len); in icmp6_opt_print()
696 if (op->nd_opt_len == 0) in icmp6_opt_print()
698 if (cp + (op->nd_opt_len << 3) > ep) in icmp6_opt_print()
704 op->nd_opt_len << 3, in icmp6_opt_print()
705 op->nd_opt_len); in icmp6_opt_print()
709 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
713 l = (op->nd_opt_len << 3) - 2; in icmp6_opt_print()
722 (op->nd_opt_len != 4) ? "badlen" : "", in icmp6_opt_print()
728 print_unknown_data(bp,"\n\t ",op->nd_opt_len<<3); in icmp6_opt_print()
736 (op->nd_opt_len != 1) ? "bad option length" : "" ); in icmp6_opt_print()
[all …]
Dicmp6.h267 u_int8_t nd_opt_len; member
/external/dhcpcd/
Dipv6rs.c183 nd->nd_opt_len = (ROUNDUP8(ifp->hwlen + 2)) >> 3; in ipv6rs_makeprobe()
406 olen = ndo->nd_opt_len * 8 ; in ipv6rs_handledata()
466 for (n = ndo->nd_opt_len - 1; n > 1; n -= 2) { in ipv6rs_handledata()