Searched refs:him4 (Results 1 - 6 of 6) sorted by relevance

/libcore/ojluni/src/main/native/
H A DInet6AddressImpl.c89 struct sockaddr_in him4; local
103 memset((void *) &him4, 0, sizeof(him4));
104 him4.sin_addr.s_addr = (uint32_t) htonl(addr);
105 him4.sin_family = AF_INET;
106 sa = (struct sockaddr *) &him4;
107 len = sizeof(him4);
H A Dnet_util.c168 struct sockaddr_in *him4 = (struct sockaddr_in *)him; local
181 setInetAddress_addr(env, iaObj, ntohl(him4->sin_addr.s_addr));
182 *port = ntohs(him4->sin_port);
234 struct sockaddr_in *him4 = (struct sockaddr_in *)him; local
239 addrNew = ntohl(him4->sin_addr.s_addr);
H A Dnet_util_md.h135 struct sockaddr_in him4; \
144 #define SOCKADDR union { struct sockaddr_in him4; }
H A DDatagramChannelImpl.c108 struct sockaddr_in *him4 = (struct sockaddr_in*)&sa; local
110 him4->sin_family = AF_INET;
112 him4->sin_family = AF_UNSPEC;
H A Dnet_util_md.c518 struct sockaddr_in *him4 = (struct sockaddr_in*)malloc(sizeof(struct sockaddr_in)); local
519 *him = (struct sockaddr*)him4;
824 struct sockaddr_in *him4 = (struct sockaddr_in*)him; local
830 memset((char *) him4, 0, sizeof(struct sockaddr_in));
832 him4->sin_port = htons((short) port);
833 him4->sin_addr.s_addr = (uint32_t) htonl(address);
834 him4->sin_family = AF_INET;
H A DPlainDatagramSocketImpl.c324 struct sockaddr_in *him4 = (struct sockaddr_in*)&addr; local
325 him4->sin_family = AF_UNSPEC;

Completed in 85 milliseconds