IP_ADAPTER_UNICAST_ADDRESS

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

typedef struct _IP_ADAPTER_UNICAST_ADDRESS {
  union {
    ULONGLONG Alignment;
    struct {
      ULONG Length;
      DWORD Flags;
    }
  };
  struct _IP_ADAPTER_UNICAST_ADDRESS* Next;
  SOCKET_ADDRESS Address;
  IP_PREFIX_ORIGIN PrefixOrigin;
  IP_SUFFIX_ORIGIN SuffixOrigin;
  IP_DAD_STATE DadState;
  ULONG ValidLifetime;
  ULONG PreferredLifetime;
  ULONG LeaseLifetime;
} IP_ADAPTER_UNICAST_ADDRESS*, PIP_ADAPTER_UNICAST_ADDRESS;

Members

  • Alignment
    Reserved. Used by the compiler to align the structure.

  • Length
    Specifies the length of this structure.

  • Flags
    Specifies flags for this address. The following table shows the possible values.

    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
    Pointer to the next adapter address structure in the list.

  • Address
    Specifies the address.

  • PrefixOrigin
    Specifies the prefix origin.

  • SuffixOrigin
    Specifies the suffix origin.

  • DadState
    Specifies the Duplicate Address Detection (DAD) state. Duplicate Address Detection is not available with IPv4.

  • ValidLifetime
    Specifies the valid lifetime for the address, in seconds.

  • PreferredLifetime
    Specifies the preferred lifetime for the address, in seconds.

  • LeaseLifetime
    Specifies the lease lifetime for the address, in seconds.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Iptypes.h.

See Also

IPHelper Structures

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.