corda/sgx-jvm/avian/openjdk-patches/Inet4AddressImpl.c.8.patch

25 lines
459 B
Diff
Raw Normal View History

--- openjdk/Inet4AddressImpl.c
+++ openjdk/Inet4AddressImpl.c
@@ -461,6 +461,21 @@
return JNI_FALSE;
}
+#ifdef WIN32
+DWORD WINAPI IcmpSendEcho2Ex(HANDLE,
+ HANDLE,
+ LPVOID,
+ PVOID,
+ IPAddr,
+ IPAddr,
+ LPVOID,
+ WORD,
+ LPVOID,
+ LPVOID,
+ DWORD,
+ DWORD);
+#endif
+
/**
* ping implementation.
* Send a ICMP_ECHO_REQUEST packet every second until either the timeout