Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

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

The length of this structure.

Flags

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

The address.

PrefixOrigin

The prefix origin.

SuffixOrigin

The suffix origin.

DadState

The Duplicate Address Detection (DAD) state. Duplicate Address Detection is not available with IPv4.

ValidLifetime

The valid lifetime for the address, in seconds.

PreferredLifetime

The preferred lifetime for the address, in seconds.

LeaseLifetime

The lease lifetime for the address, in seconds.

Requirements

Header iptypes.h
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also