ICMPV6_ECHO_REPLY_LH structure (ipexport.h)
The ICMPV6_ECHO_REPLY structure describes the data returned in response to an IPv6 echo request.
Syntax
typedef struct icmpv6_echo_reply_lh {
IPV6_ADDRESS_EX Address;
ULONG Status;
unsigned int RoundTripTime;
} ICMPV6_ECHO_REPLY_LH, *PICMPV6_ECHO_REPLY_LH;
Members
Address
Type: IPV6_ADDRESS_EX
The replying IPv6 address, in the form of an IPV6_ADDRESS_EX 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.
RoundTripTime
Type: unsigned int
The round trip time, in milliseconds.
Remarks
The ICMPV6_ECHO_REPLY structure is used by the Icmp6ParseReplies function to return the response to an IPv6 echo request. The reply data that contains the message body from the ICMPV6 response follows the ICMPV6_ECHO_REPLY structure in memory.
For IPv6, some of the possible values for the Status member are specified in RFC 2163. For more information, see www.ietf.org/rfc/rfc2463.txt.
The GetIpErrorString function can be used to retrieve the IP helper error string for the IP_STATUS error code in the Status member.
The ICMPV6_ECHO_REPLY structure is defined in public header files included in the Microsoft Windows Software Development Kit (SDK), but this structure is used by the Icmp6ParseReplies function on Windows XP and later.
In the Windows SDK, the ICMPV6_ECHO_REPLY_LH structure is defined when compiling an
application if the target platform is Windows XP and later
(NTDDI_VERSION >= NTDDI_XP
,
_WIN32_WINNT >= 0x0501
, or
WINVER >= 0x0501
). The ICMPV6_ECHO_REPLY_LH structure is typedefed to the ICMPV6_ECHO_REPLY structure. When compiling an application if the target
platform is not Windows XP and later, the
ICMPV6_ECHO_REPLY structure is undefined.
This 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 XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | ipexport.h (include Iphlpapi.h) |