次の方法で共有


IP_ADAPTER_ANYCAST_ADDRESS (Compact 2013)

3/26/2014

This structure stores a single anycast address in a linked list of addresses for a particular adapter.

Syntax

typedef struct _IP_ADAPTER_ANYCAST_ADDRESS {
  union {
    ULONGLONG Alignment;
    struct {
    ULONG Length;
    DWORD Flags;
    }
  };
  struct _IP_ADAPTER_ANYCAST_ADDRESS* Next;
  SOCKET_ADDRESS Address;
} IP_ADAPTER_ANYCAST_ADDRESS, *PIP_ADAPTER_ANYCAST_ADDRESS;

Members

  • Alignment
    Reserved. Used by the compiler to align the structure.
  • Length
    The length of this structure.
  • Flags
    Flags for this address. The following table shows the possible values. These constants are defined in the Iptypes.h header file.

    Value

    Description

    IP_ADAPTER_ADDRESS_DNS_ELIGIBLE

    The address is eligible to appear in DNS.

    IP_ADAPTER_ADDRESS_TRANSIENT

    The address is a cluster address and should not be used by most applications.

  • Next
    A pointer to the next anycast IP address structure in the list.
  • Address
    The IP address for this anycast IP address entry. This member can be an IPv6 address or an IPv4 address.

Remarks

The IP_ADAPTER_ADDRESSES structure is retrieved by the GetAdaptersAddresses function. The FirstAnycastAddress member of the IP_ADAPTER_ADDRESSES structure is a pointer to a linked list of IP_ADAPTER_ANYCAST_ADDRESS structures.

Requirements

Header

iptypes.h

See Also

Reference

IP Helper Structures
GetAdaptersAddresses
IP_ADAPTER_ADDRESSES
SOCKET_ADDRESS