Lines Matching refs:nd_rd
2405 struct nd_redirect *nd_rd;
2433 nd_rd = (struct nd_redirect *)((caddr_t)ip6 + off);
2435 IP6_EXTHDR_GET(nd_rd, struct nd_redirect *, m, off, icmp6len);
2436 if (nd_rd == NULL) {
2441 redtgt6 = nd_rd->nd_rd_target;
2442 reddst6 = nd_rd->nd_rd_dst;
2532 icmp6len -= sizeof(*nd_rd);
2533 nd6_option_init(nd_rd + 1, icmp6len, &ndopts);
2627 struct nd_redirect *nd_rd;
2737 nd_rd = (struct nd_redirect *)(ip6 + 1);
2738 nd_rd->nd_rd_type = ND_REDIRECT;
2739 nd_rd->nd_rd_code = 0;
2740 nd_rd->nd_rd_reserved = 0;
2743 * nd_rd->nd_rd_target must be a link-local address in
2748 bcopy(router_ll6, &nd_rd->nd_rd_target,
2749 sizeof(nd_rd->nd_rd_target));
2750 bcopy(&sip6->ip6_dst, &nd_rd->nd_rd_dst,
2751 sizeof(nd_rd->nd_rd_dst));
2754 bcopy(&sip6->ip6_dst, &nd_rd->nd_rd_target,
2755 sizeof(nd_rd->nd_rd_target));
2756 bcopy(&sip6->ip6_dst, &nd_rd->nd_rd_dst,
2757 sizeof(nd_rd->nd_rd_dst));
2762 p = (u_char *)(nd_rd + 1);
2891 in6_clearscope(&nd_rd->nd_rd_target);
2892 in6_clearscope(&nd_rd->nd_rd_dst);
2896 nd_rd->nd_rd_cksum = 0;
2897 nd_rd->nd_rd_cksum