Lines Matching refs:nd_ns
257 struct nd_neighbor_solicit *nd_ns;
281 nd_ns = (struct nd_neighbor_solicit *)((caddr_t)ip6 + off);
283 IP6_EXTHDR_GET(nd_ns, struct nd_neighbor_solicit *, m, off, icmp6len);
284 if (nd_ns == NULL) {
290 taddr6 = nd_ns->nd_ns_target;
340 icmp6len -= sizeof(*nd_ns);
341 nd6_option_init(nd_ns + 1, icmp6len, &ndopts);
558 struct nd_neighbor_solicit *nd_ns;
581 maxlen = sizeof(*ip6) + sizeof(*nd_ns);
617 icmp6len = sizeof(*nd_ns);
734 nd_ns = (struct nd_neighbor_solicit *)(ip6 + 1);
735 nd_ns->nd_ns_type = ND_NEIGHBOR_SOLICIT;
736 nd_ns->nd_ns_code = 0;
737 nd_ns->nd_ns_reserved = 0;
738 nd_ns->nd_ns_target = *taddr6;
739 in6_clearscope(&nd_ns->nd_ns_target); /* XXX */
755 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1);
769 nd_ns->nd_ns_cksum = 0;
770 nd_ns->nd_ns_cksum