< prev index next >

src/java.base/share/native/libnet/net_util.h

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 200,207 **** JNIEXPORT jint JNICALL NET_EnableFastTcpLoopback(int fd); unsigned short in_cksum(unsigned short *addr, int len); ! jint NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout); #endif /* NET_UTILS_H */ --- 200,208 ---- JNIEXPORT jint JNICALL NET_EnableFastTcpLoopback(int fd); unsigned short in_cksum(unsigned short *addr, int len); ! JNIEXPORT jint JNICALL ! NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout); #endif /* NET_UTILS_H */
< prev index next >