Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IP_DAD_STATE enumeration specifies information about the duplicate address detection (DAD) state for an IPv4 or IPv6 address.
Syntax
typedef enum {
NldsInvalid,
NldsTentative,
NldsDuplicate,
NldsDeprecated,
NldsPreferred,
IpDadStateInvalid = 0,
IpDadStateTentative,
IpDadStateDuplicate,
IpDadStateDeprecated,
IpDadStatePreferred
} NL_DAD_STATE;
Constants
NldsInvalid |
NldsTentative |
NldsDuplicate |
NldsDeprecated |
NldsPreferred |
IpDadStateInvalidValue: 0 The DAD state is invalid. |
IpDadStateTentativeThe DAD state is tentative. |
IpDadStateDuplicateA duplicate IP address has been detected. |
IpDadStateDeprecatedThe IP address has been deprecated. |
IpDadStatePreferredThe 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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | nldef.h (include Iphlpapi.h on Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 Windows Vista) |