Partager via


IP_PREFIX_ORIGIN (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

IP Helper Enumerations
IP_ADAPTER_UNICAST_ADDRESS