Lines Matching refs:sa_len
91 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, socklen_t& sa_len, bool map) {
93 sa_len = 0;
107 sa_len = sizeof(ss.ss_family);
132 // then unconditionally set sa_len to sizeof(sockaddr_storage) instead of having
149 sa_len = sizeof(sockaddr_in6);
166 sa_len = sizeof(sockaddr_in6);
173 sa_len = sizeof(sockaddr_in);
178 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, socklen_t& sa_len) {
179 return inetAddressToSockaddr(env, inetAddress, port, ss, sa_len, false);
182 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, socklen_t& sa_len) {
183 return inetAddressToSockaddr(env, inetAddress, port, ss, sa_len, true);