Merge pull request #492 from ReadyTalk/IcmpSendEcho2Ex

patch Inet4AddressImpl.c to declare IcmpSendEcho2Ex
This commit is contained in:
Joshua Warner 2016-07-02 02:47:56 +00:00 committed by GitHub
commit f9928ac36e

View File

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