Searched refs:sin6 (Results 1 – 3 of 3) sorted by relevance
40 const sockaddr_in6& sin6 = reinterpret_cast<const sockaddr_in6&>(ss); in sockaddrToInetAddress() local41 if (ss.ss_family == AF_INET6 && IN6_IS_ADDR_V4MAPPED(&sin6.sin6_addr)) { in sockaddrToInetAddress()49 sin.sin_port = sin6.sin6_port; in sockaddrToInetAddress()50 memcpy(&sin.sin_addr.s_addr, &sin6.sin6_addr.s6_addr[12], 4); in sockaddrToInetAddress()65 const sockaddr_in6& sin6 = reinterpret_cast<const sockaddr_in6&>(ss); in sockaddrToInetAddress() local66 rawAddress = &sin6.sin6_addr.s6_addr; in sockaddrToInetAddress()68 sin_port = ntohs(sin6.sin6_port); in sockaddrToInetAddress()69 scope_id = sin6.sin6_scope_id; in sockaddrToInetAddress()151 sockaddr_in6& sin6 = reinterpret_cast<sockaddr_in6&>(ss); in inetAddressToSockaddr() local152 sin6.sin6_port = htons(port); in inetAddressToSockaddr()[all …]
161 struct sockaddr_in6* sin6; in initGroupSourceReq() local165 sin6 = (struct sockaddr_in6*)&(req->gsr_group); in initGroupSourceReq()166 sin6->sin6_family = AF_INET6; in initGroupSourceReq()167 COPY_INET6_ADDRESS(env, group, (jbyte*)&(sin6->sin6_addr)); in initGroupSourceReq()169 sin6 = (struct sockaddr_in6*)&(req->gsr_source); in initGroupSourceReq()170 sin6->sin6_family = AF_INET6; in initGroupSourceReq()171 COPY_INET6_ADDRESS(env, source, (jbyte*)&(sin6->sin6_addr)); in initGroupSourceReq()
107 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)him;108 if (sin6->sin6_family == AF_INET6 && (sin6->sin6_scope_id == 0)) {111 sin6->sin6_scope_id = defaultIndex;