IPV6_ADDRESS_EX structure (ipexport.h)

The IPV6_ADDRESS_EX structure stores an IPv6 address.

Syntax

typedef struct _IPV6_ADDRESS_EX {
  USHORT sin6_port;
  ULONG  sin6_flowinfo;
  USHORT sin6_addr[8];
  ULONG  sin6_scope_id;
} IPV6_ADDRESS_EX, *PIPV6_ADDRESS_EX;

Members

sin6_port

The IPv6 port number in network byte order.

sin6_flowinfo

The IPv6 flowinfo value from the IPv6 header in network byte order.

sin6_addr[8]

The IPv6 address in network byte order.

sin6_scope_id

The IPv6 scope ID in network byte order.

Remarks

The IPV6_ADDRESS_EX structure is a member of the ICMPV6_ECHO_REPLY structure that is used by the Icmp6ParseReplies function.

The IPV6_ADDRESS_EX 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 IPV6_ADDRESS_EX is structure defined when compiling an application if the target platform is Windows XP and later (NTDDI_VERSION >= NTDDI_XP, _WIN32_WINNT >= 0x0501, or WINVER >= 0x0501). When compiling an application if the target platform is not Windows XP and later, the IPV6_ADDRESS_EX 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)

See also

ICMPV6_ECHO_REPLY

IP Helper Start Page

IP Helper Structures

IP_OPTION_INFORMATION

Icmp6CreateFile

Icmp6ParseReplies

Icmp6SendEcho2

IcmpCloseHandle