Lines Matching refs:icmp6_nodeinfo
121 extern int icmp6_nodeinfo;
138 static int ni6_addrs(struct icmp6_nodeinfo *,
140 static int ni6_store_addrs(struct icmp6_nodeinfo *, struct icmp6_nodeinfo *,
638 if (!icmp6_nodeinfo)
642 if ((icmp6_nodeinfo & 8) != 8 && in6_addrscope(&ip6->ip6_src) == IPV6_ADDR_SCOPE_GLOBAL)
645 if (icmp6len < sizeof(struct icmp6_nodeinfo))
649 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_nodeinfo),
1172 struct icmp6_nodeinfo *ni6, *nni6;
1176 int replylen = sizeof(struct ip6_hdr) + sizeof(struct icmp6_nodeinfo);
1189 ni6 = (struct icmp6_nodeinfo *)(mtod(m, caddr_t) + off);
1191 IP6_EXTHDR_GET(ni6, struct icmp6_nodeinfo *, m, off, sizeof(*ni6));
1214 (icmp6_nodeinfo & 4) == 0) {
1231 subjlen = m->m_pkthdr.len - off - sizeof(struct icmp6_nodeinfo);
1278 m_copydata(m, off + sizeof(struct icmp6_nodeinfo),
1324 off + sizeof(struct icmp6_nodeinfo), subjlen);
1345 if ((icmp6_nodeinfo & 1) == 0)
1349 if ((icmp6_nodeinfo & 2) == 0)
1412 nni6 = (struct icmp6_nodeinfo *)(mtod(n, struct ip6_hdr *) + 1);
1413 bcopy((caddr_t)ni6, (caddr_t)nni6, sizeof(struct icmp6_nodeinfo));
1435 sizeof(struct icmp6_nodeinfo));
1455 sizeof(struct ip6_hdr) + sizeof(struct icmp6_nodeinfo);
1460 sizeof(struct icmp6_nodeinfo) + copied;
1651 struct icmp6_nodeinfo *ni6;
1729 (icmp6_nodeinfo & 4) == 0) {
1750 struct icmp6_nodeinfo *ni6, *nni6;
1826 (icmp6_nodeinfo & 4) == 0) {