Lines Matching refs:sin6
92 struct sockaddr_in6 *sin6;
156 sin6=calloc(1, sizeof(struct sockaddr_in6));
159 sin6->sin6_family=family;
160 sin6->sin6_addr=*addrptr;
161 sin6->sin6_scope_id=scope;
162 memcpy(ifi->ifi_netmask, sin6, sizeof(struct sockaddr_in6));
163 free(sin6);
649 struct sockaddr_in6 *sin6 = (struct sockaddr_in6*)&pktp->ipi_addr;
652 sin6->sin6_family = AF_INET6;
654 sin6->sin6_len = sizeof(*sin6);
656 sin6->sin6_addr = ip6_info->ipi6_addr;
657 sin6->sin6_flowinfo = 0;
658 sin6->sin6_scope_id = 0;
659 sin6->sin6_port = 0;