Home
last modified time | relevance | path

Searched refs:him4 (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/native/
Dnet_util_md.h143 struct sockaddr_in him4; \
152 #define SOCKADDR union { struct sockaddr_in him4; }
Dnet_util.c258 struct sockaddr_in *him4 = (struct sockaddr_in *)him; in NET_SockaddrToInetAddress() local
271 setInetAddress_addr(env, iaObj, ntohl(him4->sin_addr.s_addr)); in NET_SockaddrToInetAddress()
272 *port = ntohs(him4->sin_port); in NET_SockaddrToInetAddress()
329 struct sockaddr_in *him4 = (struct sockaddr_in *)him; in NET_SockaddrEqualsInetAddress() local
334 addrNew = ntohl(him4->sin_addr.s_addr); in NET_SockaddrEqualsInetAddress()
DDatagramChannelImpl.c120 struct sockaddr_in *him4 = (struct sockaddr_in*)&sa; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0() local
122 him4->sin_family = AF_INET; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
124 him4->sin_family = AF_UNSPEC; in Java_sun_nio_ch_DatagramChannelImpl_disconnect0()
Dnet_util_md.c503 struct sockaddr_in *him4 = (struct sockaddr_in*)malloc(sizeof(struct sockaddr_in)); in NET_AllocSockaddr() local
504 *him = (struct sockaddr*)him4; in NET_AllocSockaddr()
810 struct sockaddr_in *him4 = (struct sockaddr_in*)him; in NET_InetAddressToSockaddr() local
816 memset((char *) him4, 0, sizeof(struct sockaddr_in)); in NET_InetAddressToSockaddr()
818 him4->sin_port = htons((short) port); in NET_InetAddressToSockaddr()
819 him4->sin_addr.s_addr = (uint32_t) htonl(address); in NET_InetAddressToSockaddr()
820 him4->sin_family = AF_INET; in NET_InetAddressToSockaddr()