Lines Matching refs:sin6_addr
206 CK_LIST_FOREACH(sc, &GRE_SRCHASH(&sin->sin6_addr), srchash) { in in6_gre_srcaddr()
208 &sin->sin6_addr) == 0) in in6_gre_srcaddr()
231 if (IN6_ARE_ADDR_EQUAL(&sc->gre_oip6.ip6_dst, &dst.sin6_addr)) in in6_gre_udp_input()
320 sin6.sin6_addr = sc->gre_oip6.ip6_src; in in6_gre_setup_socket()
453 if (IN6_IS_ADDR_UNSPECIFIED(&src->sin6_addr) || in in6_gre_ioctl()
454 IN6_IS_ADDR_UNSPECIFIED(&dst->sin6_addr)) { in in6_gre_ioctl()
472 error = in6_gre_checkdup(sc, &src->sin6_addr, in in6_gre_ioctl()
473 &dst->sin6_addr, sc->gre_options); in in6_gre_ioctl()
483 ip6->ip6_src = src->sin6_addr; in in6_gre_ioctl()
484 ip6->ip6_dst = dst->sin6_addr; in in6_gre_ioctl()
513 src->sin6_addr = (cmd == SIOCGIFPSRCADDR_IN6) ? in in6_gre_ioctl()