Share via


IP_PREFIX_ORIGIN

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration specifies the origin of an IP address prefix, and is used with the IP_ADAPTER_UNICAST_ADDRESS structure.

Syntax

typedef enum {
  IpPrefixOriginOther = 0, 
  IpPrefixOriginManual, 
  IpPrefixOriginWellKnown, 
  IpPrefixOriginDhcp, 
  IpPrefixOriginRouterAdvertisement
} IP_PREFIX_ORIGIN;

Elements

  • IpPrefixOriginOther
    The IPv6 prefix was provided by a source other than those defined in this enumeration.
  • IpPrefixOriginManual
    The IPv6 prefix was manually specified.
  • IpPrefixOriginWellKnown
    The IPv6 prefix is from a well-known source.
  • IpPrefixOriginDhcp
    The IPv6 prefix was provided by DHCP settings.
  • IpPrefixOriginRouterAdvertisement
    The IPv6 prefix was obtained through a router advertisement (RA).

Remarks

This enumeration is used in the PrefixOrigin member of the IP_ADAPTER_UNICAST_ADDRESS structure.

Requirements

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

See Also

Reference

IP Helper Enumerations
IP_ADAPTER_UNICAST_ADDRESS