equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
129 |
129 |
130 jfieldID NET_GetFileDescriptorID(JNIEnv *env); |
130 jfieldID NET_GetFileDescriptorID(JNIEnv *env); |
131 |
131 |
132 JNIEXPORT jint JNICALL ipv6_available() ; |
132 JNIEXPORT jint JNICALL ipv6_available() ; |
133 |
133 |
|
134 JNIEXPORT jint JNICALL reuseport_available() ; |
|
135 |
134 void |
136 void |
135 NET_AllocSockaddr(struct sockaddr **him, int *len); |
137 NET_AllocSockaddr(struct sockaddr **him, int *len); |
136 |
138 |
137 JNIEXPORT int JNICALL |
139 JNIEXPORT int JNICALL |
138 NET_InetAddressToSockaddr(JNIEnv *env, jobject iaObj, int port, struct sockaddr *him, int *len, jboolean v4MappedAddress); |
140 NET_InetAddressToSockaddr(JNIEnv *env, jobject iaObj, int port, struct sockaddr *him, int *len, jboolean v4MappedAddress); |