IP_DAD_STATE enumeration

The IP_DAD_STATE enumeration specifies information about the duplicate address detection (DAD) state for an IPv4 or IPv6 address.

Syntax


typedef enum  { 
  IpDadStateInvalid     = 0,
  IpDadStateTentative,
  IpDadStateDuplicate,
  IpDadStateDeprecated,
  IpDadStatePreferred
} IP_DAD_STATE;

Constants

IpDadStateInvalid

The DAD state is invalid.

IpDadStateTentative

The DAD state is tentative.

IpDadStateDuplicate

A duplicate IP address has been detected.

IpDadStateDeprecated

The IP address has been deprecated.

IpDadStatePreferred

The IP address is the preferred address.

Remarks

The IP_DAD_STATE enumeration is used in the DadState member of the IP_ADAPTER_UNICAST_ADDRESS structure.

On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed and the IP_DAD_STATE enumeration is defined in the Nldef.h header file which is automatically included by the Iptypes.h header file. The Nldef.h and Iptypes.h header files should never be used directly.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Nldef.h on Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, and Windows Vista (include Iphlpapi.h);
Iptypes.h on Windows Server 2003 and Windows XP (include Iphlpapi.h)

See also

IP_ADAPTER_UNICAST_ADDRESS

 

 

Community Additions

ADD
Show:
© 2014 Microsoft