mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
Merge pull request #492 from ReadyTalk/IcmpSendEcho2Ex
patch Inet4AddressImpl.c to declare IcmpSendEcho2Ex
This commit is contained in:
commit
f9928ac36e
22
openjdk-patches/Inet4AddressImpl.c.8.patch
Normal file
22
openjdk-patches/Inet4AddressImpl.c.8.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user