< prev index next > src/java.base/share/native/libnet/net_util.h
Print this page
extern jclass ia_class;
extern jfieldID iac_addressID;
extern jfieldID iac_familyID;
extern jfieldID iac_hostNameID;
extern jfieldID iac_origHostNameID;
- extern jfieldID ia_preferIPv6AddressID;
JNIEXPORT void JNICALL initInetAddressIDs(JNIEnv *env);
/** (Inet6Address accessors)
* set_ methods return JNI_TRUE on success JNI_FALSE on error
unsigned short in_cksum(unsigned short *addr, int len);
jint NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout);
+ int lookupCharacteristicsToAddressFamily(int characteristics);
+
+ int addressesInSystemOrder(int characteristics);
+
#endif /* NET_UTILS_H */
< prev index next >