Lines Matching refs:ia6
512 struct in6_ifaddr *ia6 = 0;
540 ia6 = in6_ifawithscope(ifindex2ifnet[pi->ipi6_ifindex],
542 if (ia6 == 0) {
546 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr;
547 ifafree(&ia6->ia_ifa);
571 ia6 = in6_ifawithscope(ifindex2ifnet[dstsock->sin6_scope_id],
573 if (ia6 == 0) {
577 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr;
578 ifafree(&ia6->ia_ifa);
599 ia6 = in6_ifawithscope(ifp, dst);
600 if (ia6 == 0) {
604 *src_storage = ia6->ia_addr.sin6_addr;
605 ifafree(&ia6->ia_ifa);
623 ia6 = in6_ifawithscope(rt->rt_ifp, dst);
624 if (ia6 == 0) {
626 ia6 = ifatoia6(rt->rt_ifa);
629 if (ia6 == 0) {
633 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr;
675 ia6 = in6_ifawithscope(ro->ro_rt->rt_ifa->ifa_ifp, dst);
676 if (ia6 == 0) { /* xxx scope error ?*/
678 ia6 = ifatoia6(ro->ro_rt->rt_ifa);
681 if (ia6 == 0) {
685 *src_storage = satosin6(&ia6->ia_addr)->sin6_addr;