NL_ROUTER_DISCOVERY_BEHAVIOR enumeration (nldef.h)

The NL_ROUTER_DISCOVERY_BEHAVIOR enumeration type defines the router discovery behavior, as described in RFC 2461.

Syntax

typedef enum _NL_ROUTER_DISCOVERY_BEHAVIOR {
  RouterDiscoveryDisabled = 0,
  RouterDiscoveryEnabled,
  RouterDiscoveryDhcp,
  RouterDiscoveryUnchanged = -1
} NL_ROUTER_DISCOVERY_BEHAVIOR;

Constants

 
RouterDiscoveryDisabled
Value: 0
Router discovery is disabled.
RouterDiscoveryEnabled
Router discovery is enabled. This setting is the default value for IPv6.
RouterDiscoveryDhcp
Router discovery is configured based on DHCP. This setting is the default value for IPv4.
RouterDiscoveryUnchanged
Value: -1
When the properties of an IP interface are being set, the value for router discovery should be
unchanged.

Remarks

For more information about RFC 2461, see the Neighbor Discovery for IP Version 6 (IPv6) memo by the Network Working Group.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header nldef.h (include Netioapi.h)