次の方法で共有


IP_PREFIX_ORIGIN (Compact 2013)

3/26/2014

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,
  IpPrefixOriginUnchanged = 1 << 4
} IP_PREFIX_ORIGIN;

Elements

  • IpPrefixOriginOther
    The IPv6 prefix was provided by a source other than those that are 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).
  • IpPrefixOriginUnchanged
    The IP address prefix should be unchanged. This value is used when setting the properties for a unicast IP interface when the value for the IP prefix origin should be unchanged.

Remarks

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

Requirements

Header

iptypes.h

See Also

Reference

IP Helper Enumerations
IP_ADAPTER_UNICAST_ADDRESS