NL_DAD_STATE enumeration (nldef.h)
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 |
IpDadStateInvalid Value: 0 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
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) |