Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ICMP_ECHO_REPLY32 structure (ipexport.h)
The ICMP_ECHO_REPLY32 structure describes the data returned in response to an IPv4 echo request on a 64-bit platform.
Syntax
typedef struct icmp_echo_reply32 {
IPAddr Address;
ULONG Status;
ULONG RoundTripTime;
USHORT DataSize;
USHORT Reserved;
VOID POINTER_32 *Data;
struct ip_option_information32 Options;
} ICMP_ECHO_REPLY32, *PICMP_ECHO_REPLY32;
Members
Address
Type: IPAddr
The replying IPv4 address, in the form of an IPAddr structure.
Status
Type: ULONG
The status of the echo request, in the form of an IP_STATUS code. The possible values for this member are defined in the Ipexport.h header file.
| Value | Meaning |
|---|---|
|
The status was success. |
|
The reply buffer was too small. |
|
The destination network was unreachable. |
|
The destination host was unreachable. |
|
The destination protocol was unreachable. |
|
The destination port was unreachable. |
|
Insufficient IP resources were available. |
|
A bad IP option was specified. |
|
A hardware error occurred. |
|
The packet was too big. |
|
The request timed out. |
|
A bad request. |
|
A bad route. |
|
The time to live (TTL) expired in transit. |
|
The time to live expired during fragment reassembly. |
|
A parameter problem. |
|
Datagrams are arriving too fast to be processed and datagrams may have been discarded. |
|
An IP option was too big. |
|
A bad destination. |
|
A general failure. This error can be returned for some malformed ICMP packets. |
RoundTripTime
Type: ULONG
The round trip time, in milliseconds.
DataSize
Type: USHORT
The data size, in bytes, of the reply.
Reserved
Type: USHORT
Reserved for system use.
Data
Type: VOID * POINTER_32
A pointer to the reply data.
Options
Type: struct ip_option_information32
The IP options in the IP header of the reply, in the form of an IP_OPTION_INFORMATION32 structure.
Remarks
The ICMP_ECHO_REPLY32 structure is used by the IcmpParseReplies function to return the response to an IPv4 echo request on a 64-bit platform. This structure is only defined if _WIN64 is defined.
For IPv4, some of the possible values for the Status member are specified in RFC 792.
The GetIpErrorString function can be used to retrieve the IP helper error string for the IP_STATUS error code in the Status member.
The ICMP_ECHO_REPLY32 structure is defined in the Ipexport.h header file which is automatically included in the Iphlpapi.h header file. The Ipexport.h header file should never be used directly.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | ipexport.h (include Iphlpapi.h) |
See also
Feedback
Was this page helpful?
