Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dnet_util.c206 NET_SockaddrToInetAddress(JNIEnv *env, struct sockaddr *him, int *port) { in NET_SockaddrToInetAddress() argument
210 if (him->sa_family == AF_INET6) { in NET_SockaddrToInetAddress()
213 struct SOCKADDR_IN6 *him6 = (struct SOCKADDR_IN6 *)him; in NET_SockaddrToInetAddress()
215 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in NET_SockaddrToInetAddress()
251 scope = getScopeID(him); in NET_SockaddrToInetAddress()
257 if (him->sa_family == AF_INET) { in NET_SockaddrToInetAddress()
258 struct sockaddr_in *him4 = (struct sockaddr_in *)him; in NET_SockaddrToInetAddress()
276 snprintf(errmsg, sizeof(errmsg), "Unknown socket family: %d", him->sa_family); in NET_SockaddrToInetAddress()
284 NET_SockaddrEqualsInetAddress(JNIEnv *env, struct sockaddr *him, jobject iaObj) in NET_SockaddrEqualsInetAddress() argument
290 if (him->sa_family == AF_INET6) { in NET_SockaddrEqualsInetAddress()
[all …]
Dnet_util_md.c92 void setDefaultScopeID(JNIEnv *env, struct sockaddr *him)
107 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)him;
244 int getScopeID (struct sockaddr *him) { in getScopeID() argument
245 struct sockaddr_in6 *hext = (struct sockaddr_in6 *)him; in getScopeID()
249 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
250 struct sockaddr_in6 *hext = (struct sockaddr_in6 *)him; in cmpScopeID()
256 int getScopeID (struct sockaddr *him) { in getScopeID() argument
257 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in getScopeID()
261 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
262 struct sockaddr_in6 *him6 = (struct sockaddr_in6 *)him; in cmpScopeID()
[all …]
Dnet_util.h137 NET_AllocSockaddr(struct sockaddr **him, int *len);
140 NET_InetAddressToSockaddr(JNIEnv *env, jobject iaObj, int port, struct sockaddr *him, int *len, jbo…
143 NET_SockaddrToInetAddress(JNIEnv *env, struct sockaddr *him, int *port);
151 NET_SetTrafficClass(struct sockaddr *him, int trafficClass);
155 NET_GetPortFromSockaddr(struct sockaddr *him);
158 NET_SockaddrEqualsInetAddress(JNIEnv *env,struct sockaddr *him, jobject iaObj);
188 NET_Bind(int fd, struct sockaddr *him, int len);
Djvm.h1227 JVM_Connect(jint fd, struct sockaddr *him, jint len);
1230 JVM_Bind(jint fd, struct sockaddr *him, jint len);
1233 JVM_Accept(jint fd, struct sockaddr *him, jint *len);
1248 JVM_GetSockName(jint fd, struct sockaddr *him, int *len);