https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c8b93430d47557c6a0781e...
commit c8b93430d47557c6a0781ed3fe6bf4af909adef6 Author: David Quintana gigaherz@gmail.com AuthorDate: Thu Jan 4 18:21:16 2018 +0100
[PSDK] Add ICMP_ECHO_REPLY32 needed by 64-bit code. Fixes x64 build of tracert. --- sdk/include/psdk/ipexport.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
diff --git a/sdk/include/psdk/ipexport.h b/sdk/include/psdk/ipexport.h index 01a1185c20..906bbb0edf 100644 --- a/sdk/include/psdk/ipexport.h +++ b/sdk/include/psdk/ipexport.h @@ -66,6 +66,21 @@ typedef struct ip_option_information IP_OPTION_INFORMATION, *PIP_OPTION_INFORMAT
typedef struct icmp_echo_reply ICMP_ECHO_REPLY, *PICMP_ECHO_REPLY;
+#if _WIN64 +struct icmp_echo_reply32 +{ + IPAddr Address; + ULONG Status; + ULONG RoundTripTime; + unsigned short DataSize; + unsigned short Reserved; + void* POINTER_32 Data; + struct ip_option_information Options; +}; + +typedef struct icmp_echo_reply32 ICMP_ECHO_REPLY32, *PICMP_ECHO_REPLY32; +#endif +
#define IP_STATUS_BASE 11000