Share via


IPv6Addr structure

The IPv6Addr structure describes an IPv6 network address.

Syntax

typedef struct in6_addr {
  union {
    UCHAR  Byte[16];
    USHORT Word[8];
  } u;
} IN6_ADDR, IPv6Addr;

Members

  • u
    A union that contains the following different representations of the IPv6 network address:

    • Byte
      An array that contains 16 UCHAR-typed values.

    • Word
      An array that contains 8 USHORT-typed values.

Remarks

All members of the IPv6Addr structure must be specified in big-endian byte order.

Requirements

Header

In6addr.h (include In6addr.h)

See also

IPv6GetBestRouteInfo

FirewallHook

 

 

Send comments about this topic to Microsoft