Lines Matching refs:sin6_addr
136 for (i = 0; i < sizeof(all1_sa.sin6_addr); i++)
137 all1_sa.sin6_addr.s6_addr[i] = 0xff;
497 nd6_ns_output(ifp, NULL, &dst->sin6_addr,
541 nd6_ns_output(ifp, &dst->sin6_addr,
542 &dst->sin6_addr,
554 nd6_ns_output(ifp, &dst->sin6_addr,
555 &dst->sin6_addr, ln, 0, 0);
851 sin6.sin6_addr = *addr6;
968 #define IFADDR6(a) ((((struct in6_ifaddr *)(a))->ia_addr).sin6_addr)
969 #define IFMASK6(a) ((((struct in6_ifaddr *)(a))->ia_prefixmask).sin6_addr)
976 if (IN6_IS_ADDR_LINKLOCAL(&addr->sin6_addr) &&
977 ntohs(*(u_int16_t *)&addr->sin6_addr.s6_addr[2]) == ifp->if_index)
994 addr->sin6_addr.s6_addr32[i]) &
1007 if (nd6_lookup(&addr->sin6_addr, 0, ifp, rt_locked) != NULL)
1023 struct in6_addr in6 = ((struct sockaddr_in6 *)rt_key(rt))->sin6_addr;
1033 dr = defrouter_lookup(&((struct sockaddr_in6 *)rt_key(rt))->sin6_addr,
1272 &SIN6(rt_key(rt))->sin6_addr,
1273 &SIN6(rt_key(rt))->sin6_addr,
1338 &SIN6(rt_key(rt))->sin6_addr);
1372 llsol = SIN6(rt_key(rt))->sin6_addr;
1397 llsol = SIN6(rt_key(rt))->sin6_addr;
1595 if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr))
1964 if (IN6_IS_ADDR_MULTICAST(&dst->sin6_addr))
2004 in6ifa_ifpwithaddr(ifp, &gw6->sin6_addr)) {
2047 (rt = nd6_lookup(&dst->sin6_addr, 1, ifp, 1)) != NULL)
2057 ip6_sprintf(&dst->sin6_addr), ln, rt);
2114 nd6_ns_output(ifp, NULL, &dst->sin6_addr, ln, 0, locked);
2224 ETHER_MAP_IPV6_MULTICAST(&SIN6(dst)->sin6_addr,
2397 &p->prefix.sin6_addr, pr->ndpr_ifp) != 0)
2400 ip6_sprintf(&p->prefix.sin6_addr));