Home
last modified time | relevance | path

Searched refs:him6 (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/native/
DInet6AddressImpl.c90 struct sockaddr_in6 him6; in Inet6AddressImpl_getHostByAddr0() local
113 memset((void *) &him6, 0, sizeof(him6)); in Inet6AddressImpl_getHostByAddr0()
114 memcpy((void *)&(him6.sin6_addr), caddr, sizeof(struct in6_addr) ); in Inet6AddressImpl_getHostByAddr0()
115 him6.sin6_family = AF_INET6; in Inet6AddressImpl_getHostByAddr0()
116 sa = (struct sockaddr *) &him6 ; in Inet6AddressImpl_getHostByAddr0()
117 len = sizeof(him6) ; in Inet6AddressImpl_getHostByAddr0()
270 struct sockaddr_in6 him6; in Inet6AddressImpl_isReachable0() local
295 memset((void *) &him6, 0, sizeof(him6)); in Inet6AddressImpl_isReachable0()
297 memcpy((void *)&(him6.sin6_addr), caddr, sizeof(struct in6_addr) ); in Inet6AddressImpl_isReachable0()
298 him6.sin6_family = AF_INET6; in Inet6AddressImpl_isReachable0()
[all …]
Dnet_util.c119 struct SOCKADDR_IN6 *him6 = (struct SOCKADDR_IN6 *)him; in NET_SockaddrToInetAddress() local
121 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in NET_SockaddrToInetAddress() local
123 jbyte *caddr = (jbyte *)&(him6->sin6_addr); in NET_SockaddrToInetAddress()
154 (jbyte *)&(him6->sin6_addr)); in NET_SockaddrToInetAddress()
164 *port = ntohs(him6->sin6_port); in NET_SockaddrToInetAddress()
196 struct SOCKADDR_IN6 *him6 = (struct SOCKADDR_IN6 *)him; in NET_SockaddrEqualsInetAddress() local
198 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in NET_SockaddrEqualsInetAddress()
200 jbyte *caddrNew = (jbyte *)&(him6->sin6_addr); in NET_SockaddrEqualsInetAddress()
Dnet_util_md.c271 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in getScopeID() local
272 return him6->sin6_scope_id; in getScopeID()
276 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in cmpScopeID() local
277 return him6->sin6_scope_id == scope; in cmpScopeID()
512 struct sockaddr_in6 *him6 = (struct sockaddr_in6*)malloc(sizeof(struct sockaddr_in6)); in NET_AllocSockaddr() local
513 *him = (struct sockaddr*)him6; in NET_AllocSockaddr()
774 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in NET_InetAddressToSockaddr() local
799 memset((char *)him6, 0, sizeof(struct sockaddr_in6)); in NET_InetAddressToSockaddr()
800 him6->sin6_port = htons(port); in NET_InetAddressToSockaddr()
801 memcpy((void *)&(him6->sin6_addr), caddr, sizeof(struct in6_addr) ); in NET_InetAddressToSockaddr()
[all …]
DDatagramChannelImpl.c98 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)&sa; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() local
100 him6->sin6_family = AF_INET6; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
102 him6->sin6_family = AF_UNSPEC; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
Dnet_util_md.h136 struct sockaddr_in6 him6; \
DPlainDatagramSocketImpl.c318 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)&addr; in PlainDatagramSocketImpl_disconnect0() local
319 him6->sin6_family = AF_UNSPEC; in PlainDatagramSocketImpl_disconnect0()