mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
23 lines
438 B
Diff
23 lines
438 B
Diff
|
--- 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
|